[vwnc] how to launch a Windows app from VW

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] how to launch a Windows app from VW

squeakman
Greetings,

I would like to launch a Windows app from within my VW app but I cannot
figure out how.  I have looked at Windows Goodies but that did not help me.

I know there was a screencast a long while back describing how to do
this but I cannot find it.

Any help would be appreciated.

Thanks,
Frank

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] how to launch a Windows app from VW

Boris Popov, DeepCove Labs (SNN)
WinProcess new executeSingleCommand: 'notepad.exe'

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Squeaker
Sent: Tuesday, August 18, 2009 9:25 AM
To: [hidden email]
Subject: [vwnc] how to launch a Windows app from VW

Greetings,

I would like to launch a Windows app from within my VW app but I cannot
figure out how.  I have looked at Windows Goodies but that did not help
me.

I know there was a screencast a long while back describing how to do
this but I cannot find it.

Any help would be appreciated.

Thanks,
Frank

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] how to launch a Windows app from VW

Michael Lucas-Smith-2
In reply to this post by squeakman
The simplest way to do it is:

ExternalProcess fork: 'ipconfig'

See the API on ExternalProcesss class side for more options.

Cheers,
Michael

Squeaker wrote:

> Greetings,
>
> I would like to launch a Windows app from within my VW app but I cannot
> figure out how.  I have looked at Windows Goodies but that did not help me.
>
> I know there was a screencast a long while back describing how to do
> this but I cannot find it.
>
> Any help would be appreciated.
>
> Thanks,
> Frank
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>  

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] how to launch a Windows app from VW

James Robertson-7
In reply to this post by squeakman
To open a document (using the associated app):

http://www.cincomsmalltalk.com/casts/stDaily/2007/smalltalk_daily-08-31-07.html

and:

http://www.cincomsmalltalk.com/casts/stDaily/2009/smalltalk_daily-03-09-09-lg.mp4

To start a specific executable,  see class WinProcess


To search for screencasts and podcast by keyword and tags,

http://www.cincomsmalltalk.com/mediasearch


James Robertson
Cincom Smalltalk Product Evangelist
http://www.cincomsmalltalk.com/blog/blogView
Talk Small and Carry a Big Class Library




On Aug 18, 2009, at 12:25 PM, Squeaker wrote:

> Greetings,
>
> I would like to launch a Windows app from within my VW app but I  
> cannot
> figure out how.  I have looked at Windows Goodies but that did not  
> help me.
>
> I know there was a screencast a long while back describing how to do
> this but I cannot find it.
>
> Any help would be appreciated.
>
> Thanks,
> Frank
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] how to launch a Windows app from VW

Paul Baumann
In reply to this post by squeakman
This is the approach I've found that works:

openNotepad: aFilename
        ExternalProcess defaultClass shOne: 'start notepad.exe "', aFilename, '"'.

This lets Windows start notepad just as if you'd typed 'notepad' from a command line. This style replaces code that either messed up script argument interpretation or required finding where notepad.exe existed on a computer before executing in a specific path.

Paul Baumann

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Squeaker
Sent: Tuesday, August 18, 2009 12:25 PM
To: [hidden email]
Subject: [vwnc] how to launch a Windows app from VW

Greetings,

I would like to launch a Windows app from within my VW app but I cannot figure out how.  I have looked at Windows Goodies but that did not help me.

I know there was a screencast a long while back describing how to do this but I cannot find it.

Any help would be appreciated.

Thanks,
Frank

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete it and notify the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc