DekGenius.com
[ Team LiB ] Previous Section Next Section

18.1 Application Commands

A few commands may be sent to applications to start them up, bring them to the front, and make them quit. An application does not have to be scriptable to obey them (see Table 19-1 and the discussion there).

launch

Syntax

launch application

Description

Makes sure an application is running, without bringing it frontmost or making it perform any actions.

activate

Syntax

activate application

Description

Brings an application frontmost.

reopen

Syntax

reopen application

Description

Tells an application to behave as if it had been opened from the Finder. Some applications behave specially when told to do this. For example, in the case of the Finder, reopen makes a window open if no Finder windows are open at that moment; launch and activate don't.

quit

Syntax

quit application

Description

Tells an application to quit.

    [ Team LiB ] Previous Section Next Section