launch
APPLICATION

The launch statement launches an application.


Parameters

This statement has one parameter:

application – the name of the application to be launched. This can include the .app suffix, but it doesn’t have to.


Description

This statement launches another application.

launch "iTunes"
launch "Maps"
launch "SourceTree"

This statement simply launches the application, it doesn’t open any documents. If you need to open a document in a specific application use the openwith statement.


Error Messages

Could not launch: – This error occurs if the application couldn’t be launched (usually it means it is not installed on your system).


See Also


History

VersionStatusNotes
10.0NewNew in this version.