MMColor_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 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".
- Return Type
- Text
- Format
- MMColor_Register ( FirstName ; LastName ; LicenseKey ; Option )
- Required Parameters
- FirstName
The Registration First Name you specified when you ordered. (See your Receipt.)
- LastName
The Registration Last Name you specified when you ordered. (See your Receipt.)
- LicenseKey
The License Key from your Receipt.
- FirstName
- 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. If you have a Developer License, do not use the "I Accept the License Agreement" value here. See your Developer Instructions file for more information.
- Option
- Examples
Example 1
Code:
MMColor_Register("My First Name";"My Last Name";"My License Key")Result:
Registers the plug-in with the provided registration information (obviously the above is not valid registration information; please see your Receipt).Example 2
Code:
MMColor_Register("Dialog")Result:
Displays a dialog for you to enter your First Name, Last Name, and License Key as it appears on your Receipt.Example 3
Code:
MMColor_Register("Check")Result:
Returns "Not Registered." or "Registered to <Name> for a <License>."Example 4
Code:
MMColor_Register("My Company Name";"My Company Name";"My Site License Key";"I Accept the License Agreement")Result:
Registers the plug-in and uses the "I Accept the License Agreement" option to keep the License Agreement dialog from appearing.