CNSMenu_Register

Name

CNSMenu_Register

Description

You can use this function to Register the plug-in from a script instead of through the Configuration Dialog. This is useful when the plug-in is being distributed to many computers, allowing you to install and register the plug-in without having to physically visit each computer. This function also allows you to check if the plug-in is already registered or clear the current registration. The plug-in always requires you to accept the License Agreement to use the plug-in. This is usually done by presenting the License Agreement Dialog, but that can be suppressed by using the special option value “I Accept the License Agreement”.

Return Type

Text

Format

CNSMenu_Register ( FirstName ; SecondName ; LicenseKey ; Option )

Required Parameters

FirstName

The Registration First Name you specified when you ordered. (See your Receipt.)

SecondName

The Registration Second Name you specified when you ordered. (See your Receipt.)

LicenseKey

The License Key from your Receipt.

Optional Parameters

Option

Specify “Dialog” to enter your Registration Information in a dialog.
Specify “Check” to see if the plug-in is already Registered.
Specify “Clear” to remove the Registration.
Specify “I Accept the License Agreement” to automatically accept the License Agreement dialog without showing it to the end user.
Notes: The “Dialog”, “Check”, and “Clear” options can also be specified as the first parameter.

Examples

Example 1

Registers the plug-in with the provided registration information (obviously the above is not valid registration information; please see your Receipt).