Lingo Dictionary > S > searchCurrentFolder

 

searchCurrentFolder

Syntax

the searchCurrentFolder 

Description

System property; determines whether Director searches the current folder when searching file names. This property is TRUE by default.

When the searchCurrentFolder property is TRUE (1), Director searches the current folder when resolving file names.

When the searchCurrentFolder property is FALSE (0), Director does not search the current folder when resolving file names.

This property can be tested and set.

Example

This statement displays the status of the searchCurrentFolder property in the Message window:

put the searchCurrentFolder

The result is 1, which is the numeric equivalent of TRUE.

Example

This statement sets the searchCurrentFolder property to TRUE, which causes Director to search the current folder when resolving file names:

the searchCurrentFolder = TRUE

See also

searchPaths