OpenFile Method

Opens a Newlook screen (.nl) or batch (.nll) file.  Corresponds to the OpenFile action.

App.OpenFile([FileName][, AlreadyConnected])

Client support

   Newlook Smartclient

   Newlook Server

Parameters

FileName - (String, Required)

String value specifying the .nl or .nll file to open.

By default, Newlook assumes that .nl or .nll files are stored in the default Newlook solution folder, therefore any path specified must be relative to this location.

AlreadyConnected - (Integer, Optional)

Integer value specifying what action to take if Newlook is already connected.  This argument may be set to any of the pre-defined Already connected constants.

If AlreadyConnected is not specified, nlConnPrompt is used.

Returns

No return value.

Applies To

App object

See Also

CloseFile method | OpenFile action


© 2004-2021 looksoftware. All rights reserved.