. .


ST 4U 359: Starting External Programs in VA Smalltalk

March 20, 2013 6:55:32.457

Today's Smalltalk 4 You looks at launching external applications from within VA Smalltalk - outside of the Composition Editor If you have trouble viewing it here in the browser, you can also navigate directly to YouTube. To watch now, click on the image below:

External Apps.

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Today we'll take a look at starting external applications from within VA Smalltalk. Previously, we've looked at doing that from the Composition Editor; today we'll just use Smalltalk code that can be dropped anywhere.

starter := AbtProgramStarter new. 
starter programName: 'C:\Program Files\Internet Explorer\iexplore.exe'.
starter startProgram

That's all there is to it - just create an instance of AbtProgramStarter, and off you go. You will need to provide the full path (or ensure that the application's location is in your system's path).

Need more help? There's a screencast for other topics like this which you may want to watch. Questions? Try the "Chat with James" Google gadget over in the sidebar.

Tags: ,

[st4u359-iPhone.m4v ( Size: 816216 )]

posted by James Robertson

 Share Tweet This