Lingo Dictionary > A-C > applicationPath

 

applicationPath

Syntax

the applicationPath

Description

System property; determines the path or location of the folder containing the running copy of the Director application during authoring, or the folder containing the projector during run time. The property value is a string.

If you use the applicationPath followed by & and a path to a subfolder, enclose the entire expression in parentheses so that Lingo parses the expression as one phrase.

The Director player for Java doesn't support this property, nor does Shockwave.

This property can be tested but not set.

Example

This statement displays the pathname for the folder that contains the Director application.

put the applicationPath
--"Z:\Program Files\Macromedia\Director"

Example

This statement opens the movie Sunset Boulevard in a window (on a Windows machine):

open window (the applicationPath & "\Film Noir\Sunset Boulevard")

See also

@ (pathname), moviePath