. .

st4u

ST 4U 364: Getting the Pharo Command Line

April 1, 2013 13:46:10.521

Today's Smalltalk 4 You looks at accessing the command line from Pharo - i.e., figuring out what it looked like. 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:

command line

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:

Tags: , ,

Enclosures:
[st4u364-iPhone.m4v ( Size: 820873 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 363: EmSystemConfiguration in VA

March 29, 2013 11:13:03.324

Today's Smalltalk 4 You looks at the EmSystemConfiguration class (instance accessible via the System variable) in VA Smalltalk. 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:

Configuration.

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 have a look at the instance of EmSystemConfiguration that gives you access to a number of basic APISs - System. If you browse the class, you can get a deeper idea than what we'll touch on here. Here's a list of some of the more useful things available:


System settings	

System confirm: 'Should We Proceed?'

System imageVersion.

System vaVersion.

System vaVersionId.

System vmVersion.

System vmVersionId.

System saveImage.

System exit.


You can get the settings (from your default ini file), the version of the product you're running (useful if you need to support multiple versions of VA), pop up a simple confirmation dialog - and save or exit the image

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: ,

Enclosures:
[st4u363-iPhone.m4v ( Size: 1354557 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 362: External Apps From Pharo

March 27, 2013 11:09:14.784

Today's Smalltalk 4 You looks at launching external applications from Pharo, using Native Boost. 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:

Native Boost

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:

Tags: , ,

Enclosures:
[st4u362-iPhone.m4v ( Size: 1230461 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 361: ObjectStudio in VisualWorks

March 25, 2013 11:21:00.641

Today's Smalltalk 4 You looks at the fact that ObjectStudio is hosted within VisualWorks - which makes it possible to "step outside" of ObjectStudio, something that can be quite convenient. 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:

OS in VW

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:

Tags: ,

Enclosures:
[st4u361-iPhone.m4v ( Size: 1032539 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 360: Starting External Programs in VA Smalltalk 2

March 22, 2013 9:39:24.273

Today's Smalltalk 4 You looks at some variations on calling external applications from VA Smalltalk. 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 continue looking at starting external applications from within VA Smalltalk. Previously, we've looked at simply starting an external application - today we'll add command line arguments:


starter := AbtProgramStarter new. 
starter programName: 'C:\Program Files\Internet Explorer\iexplore.exe'.
starter programInput: 'http://www.jarober.com'.
starter startProgram

That's all there is to it - just make sure that your argument string is valid for the application in question.

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: ,

Enclosures:
[st4u360-iPhone.m4v ( Size: 669142 )]

posted by James Robertson

 Share Tweet This

st4u

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: ,

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

posted by James Robertson

 Share Tweet This

st4u

ST 4U 358: Opening the Default App in VW or OS

March 18, 2013 7:30:29.089

Today's Smalltalk 4 You looks at default file handling in VisualWorks (and ObjectStudio). If you use the ExternalWebBrowser (badly named) class, you don't need to keep track of executable locations. 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:

Default App

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:

Tags: , ,

Enclosures:
[st4u358-iPhone.m4v ( Size: 913058 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 357: Getting Moose

March 15, 2013 5:21:01.730

Today's Smalltalk 4 You looks at getting Moose into a Pharo image. 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:

Moose

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:

Tags: , ,

Enclosures:
[st4u357-iPhone.m4v ( Size: 569974 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 356: Command Line Arguments in Cincom Smalltalk

March 13, 2013 7:31:32.658

Today's Smalltalk 4 You looks at command line arguments in Cincom Smalltalk (VisualWorks and ObjectStudio). Not th eones supported out of the box - ones you set up for your own applications. 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:

Command Line Args

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:

Tags: ,

Enclosures:
[st4u356-iPhone.m4v ( Size: 1276337 )]

posted by James Robertson

 Share Tweet This

st4u

ST 4U 355: Filing in Code in ObjectStudio

March 11, 2013 0:09:26.750

Today's Smalltalk 4 You looks at filing code into ObjectStudio 8 - the rules differ a bit between slightly older versions and the latest. This can impact your project if you use command line scripting (for example, doing automated builds). 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:

ObjectStudio fileins

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:

s

Tags: ,

Enclosures:
[st4u355-iPhone.m4v ( Size: 1021754 )]

posted by James Robertson

 Share Tweet This

Previous Next (554 total)