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 intall 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”.
|Format||CNSBC_Register ( FirstName ; LastName ; LicenseKey ; Option )|
The Registration First Name you specified when you ordered. (See your Receipt.)
The Registration Last Name you specified when you ordered. (See your Receipt.)
The License Key from your Receipt.
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.
- Example 1
Registers the plug-in with the provided registration information (obviously the above is not valid registration information; please see your Receipt).
CNSBC_Register( "My First Name" ; "My Last Name" ; "My License Key" )
- Example 2
Displays a dialog for you to enter your First Name, Last Name, and License Key as it appears on your Receipt.
CNSBC_Register( "Dialog" )
- Example 3
Returns "Not Registered." or "Registered to <name> for a <license>."
CNSBC_Register( "Check" )
- Example 4
Registers the plug-in and uses the "I Accept the License Agreement" option to keep the License Agreement dialog from appearing.
CNSBC_Register( "My Company Name" ; "My Company Name" ; "My Site License Key" ; "I Accept the License Agreement" )