CTB left- and right-click scripts in the same script file?
Posted: 09 Oct 2012 09:01
Hi there, Is it possible? I have a few CTBs that use two scripts - one for the left-click and one for the right-click. Is it possible to have both in one script file. Can this been done with hidden scripts or will it only work if the left- and right-click execute a single script each? In my case the left-click executes a script, the right-click has a sub-menu of several other scripts.
For example, my Delete button:
left-click is the standard default action, it deletes the selected items.
right-click has submenu to:
delete everything
delete all files
delete all folders
delete all of the selected filetype
delete all but the selected filetype
delete all zip files
Cheers.
For example, my Delete button:
left-click is the standard default action, it deletes the selected items.
right-click has submenu to:
delete everything
delete all files
delete all folders
delete all of the selected filetype
delete all but the selected filetype
delete all zip files
Cheers.