[Pharo-project] How to open a file with external app
Hi pharoers, Is it possible to select a file and open it with an external application ? For example, I need to open a pdf file. How can I do that ? Thank you for the help, Jannik
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux On 2013-03-27, at 23:05, jannik.laval <jannik.laval@gmail.com> wrote:
Hi pharoers,
Is it possible to select a file and open it with an external application ? For example, I need to open a pdf file.
How can I do that ?
Thank you for the help, Jannik
Do you have an example of code ? Jannik On Mar 27, 2013, at 11:26 PM, Camillo Bruni <camillobruni@gmail.com> wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
On 2013-03-27, at 23:05, jannik.laval <jannik.laval@gmail.com> wrote:
Hi pharoers,
Is it possible to select a file and open it with an external application ? For example, I need to open a pdf file.
How can I do that ?
Thank you for the help, Jannik
I just see that it is not integrated in Pharo2.0. Where can I find it ? Jannik On Mar 28, 2013, at 6:49 AM, jannik.laval <jannik.laval@gmail.com> wrote:
Do you have an example of code ?
Jannik
On Mar 27, 2013, at 11:26 PM, Camillo Bruni <camillobruni@gmail.com> wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
On 2013-03-27, at 23:05, jannik.laval <jannik.laval@gmail.com> wrote:
Hi pharoers,
Is it possible to select a file and open it with an external application ? For example, I need to open a pdf file.
How can I do that ?
Thank you for the help, Jannik
On 27.03.2013, at 23:26, Camillo Bruni <camillobruni@gmail.com> wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Or use NativeBoost (e.g. run C code that does what you want). But Camillo's solution is certainly easier to implement.
On 2013-03-27, at 23:05, jannik.laval <jannik.laval@gmail.com> wrote:
Hi pharoers,
Is it possible to select a file and open it with an external application ? For example, I need to open a pdf file.
How can I do that ?
Thank you for the help, Jannik
Thank you all. Jannik 2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
-- ~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
Hi again, I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript: === CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) === Do I have the correct version ? Thanks, Jannik 2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
-- ~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
Looks like OSProcess is not your best bet. Check NBWin32Shell instead (in NativeBoostWin32) (Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString Phil 2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
Hi Phil, Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux. Thanks, Jannik 2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
-- ~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
For OSX, it is just a matter of calling open from the OSProcess as Cami told us in the list already. It works. Phil 2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi Phil,
Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux.
Thanks, Jannik
2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
Yes, But I am thinking that using 2 differents things to do the same work is not cool. So, I will use that for now. Thank you Jannik On Mar 29, 2013, at 12:47 PM, phil@highoctane.be wrote:
For OSX, it is just a matter of calling open from the OSProcess as Cami told us in the list already. It works.
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi Phil,
Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux.
Thanks, Jannik
2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
Yes, that's frustrating. Example: Help Server using NBShell32 and not working on OSX... 2013/3/29 jannik.laval <jannik.laval@gmail.com>
Yes, But I am thinking that using 2 differents things to do the same work is not cool.
So, I will use that for now. Thank you
Jannik
On Mar 29, 2013, at 12:47 PM, phil@highoctane.be wrote:
For OSX, it is just a matter of calling open from the OSProcess as Cami told us in the list already. It works.
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi Phil,
Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux.
Thanks, Jannik
2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error
that
things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
why? you just need to implement an strategy for that. On Mar 29, 2013, at 4:25 PM, "phil@highoctane.be" <phil@highoctane.be> wrote:
Yes, that's frustrating. Example: Help Server using NBShell32 and not working on OSX...
2013/3/29 jannik.laval <jannik.laval@gmail.com> Yes, But I am thinking that using 2 differents things to do the same work is not cool.
So, I will use that for now. Thank you
Jannik
On Mar 29, 2013, at 12:47 PM, phil@highoctane.be wrote:
For OSX, it is just a matter of calling open from the OSProcess as Cami told us in the list already. It works.
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi Phil,
Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux.
Thanks, Jannik
2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:', self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
OOTB I mean, from the configuration browser 2013/3/29 Esteban Lorenzano <estebanlm@gmail.com>
why? you just need to implement an strategy for that.
On Mar 29, 2013, at 4:25 PM, "phil@highoctane.be" <phil@highoctane.be> wrote:
Yes, that's frustrating. Example: Help Server using NBShell32 and not working on OSX...
2013/3/29 jannik.laval <jannik.laval@gmail.com>
Yes, But I am thinking that using 2 differents things to do the same work is not cool.
So, I will use that for now. Thank you
Jannik
On Mar 29, 2013, at 12:47 PM, phil@highoctane.be wrote:
For OSX, it is just a matter of calling open from the OSProcess as Cami told us in the list already. It works.
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi Phil,
Thank you for the help. But this line is only available for Windows. I don't find the same for MacOS and Linux.
Thanks, Jannik
2013/3/29 phil@highoctane.be <phil@highoctane.be>
Looks like OSProcess is not your best bet.
Check NBWin32Shell instead (in NativeBoostWin32)
(Smalltalk at: #NBWin32Shell) shellBrowse: 'http://localhost:'
,
self port asString
Phil
2013/3/29 jannik laval <jannik.laval@gmail.com>:
Hi again,
I took the ConfigurationOfOSProcess in http://www.squeaksource.com/MetacelloRepository When I load the stable version in Pharo2.0, there is a lot of error that things are undeclared in Transcript:
=== CommandShell>>builtinCommandProxyFor:input:output:error: (ShellBuiltinEvaluator is Undeclared) CommandShell>>evaluationProxyFor:input:output:error: (ExpressionEvaluator is Undeclared) CommandShell>>installCommands: (ShellBuiltin is Undeclared) CommandShell>>open (CommandShellTranscript is Undeclared) CommandShell>>openLabel: (CommandShellTranscript is Undeclared) CommandShell>>pipeline: (ProxyPipeline is Undeclared) CommandShell>>pipelineCollectionFrom: (ProxyPipeline is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (InternalPipe is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeJunction is Undeclared) CommandShell>>processProxyFor:input:output:error:predecessorProxy: (PipeableOSProcess is Undeclared) CommandShell>>scheduleToEvaluate: (ScheduledControllers is Undeclared) CrLfFileEditor class>>fileNamed:inDirectoryPath: (CrLfFileStream is Undeclared) CrLfFileEditor class>>fileNamed:withLabel: (CrLfFileStream is Undeclared) CrLfFileEditor>>bogusTruncate: (CrLfFileStream is Undeclared) CrLfFileEditor>>fileContentsMenu:shifted: (ParagraphEditor is Undeclared) CrLfFileEditor>>getAnotherFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getAnotherFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>getFileName: (PopUpMenu is Undeclared) CrLfFileEditor>>getFileName: (FillInTheBlank is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemView is Undeclared) CrLfFileEditor>>mvcWithLabel: (StandardSystemController is Undeclared) CrLfFileEditor>>mvcWithLabel: (PluggableTextView is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>put: (CrLfFileStream is Undeclared) CrLfFileEditor>>saveAs (FillInTheBlank is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemView is Undeclared) CommandShellTranscript>>openLabel: (StandardSystemController is Undeclared) CommandShellTranscript>>openLabel: (ShellWindowView is Undeclared) ===
Do I have the correct version ?
Thanks, Jannik
2013/3/29 jannik laval <jannik.laval@gmail.com>
Thank you all.
Jannik
2013/3/28 Holger Hans Peter Freyther <holger@freyther.de>
On Wed, Mar 27, 2013 at 11:26:21PM +0100, Camillo Bruni wrote:
The only solution currently is to use OSProcess and - open under OSX - gnome-open under linux
Please use xdg-open to work on all free desktop implementations.
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
--
~~Dr. Jannik Laval~~ Ãcole des Mines de Douai Enseignant-chercheur http://www.jannik-laval.eu
participants (7)
-
Camillo Bruni -
Esteban Lorenzano -
Holger Hans Peter Freyther -
jannik laval -
jannik.laval -
Max Leske -
phil@highoctane.be