The OnClick event is the main entry point for a script function.
Method Name: | OnClick |
---|---|
Argument Type: |
|
Return Type: |
none |
Description: |
This method is called whenever a button or hotkey containing a script function is run. The ClickData object provides useful information about the command environment, including source and destination tabs and paths, any selected files, command line arguments, any qualifier keys that were held down, etc. This information is all accessible from the ClickData.func property (which returns a Func object). |