AlreadyConnected Constants

Specifies how Newlook should behave if there is already a connection to a host.

The following constants can be used anywhere in macros or scripts in place of the actual values.

If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.

KEEP IN MIND:

When using constants in the script editor, each constant must be prefaced by nl.

AlreadyConnected constant

(macro editor)

AlreadyConnected constant

(script editor)

Integer Value

Description

ConnNewWindow

nlConnNewWindow

0

Open a new window if there is an existing connection.

ConnTerminate

nlConnTerminate

1

Terminate the existing connection if already connected.

ConnPrompt

nlConnPrompt

2

Display a dialog which allows the user to decide if they want to terminate the existing connection or open a new window.

See Also

Connect action | OpenFile action


© 2004-2021 looksoftware. All rights reserved.