Detect left vs right click on a CTB
Posted: 02 Dec 2012 13:45
Is there someway to detect whether a left click was made vs a right click on a CTB. I have some situations where I would like the menu items seen on a CTB to be exactly the same on either a L click or R click. However the actions would be modified if you right clicked vs left clicked. Obviously, this could be accomplished by 2 separate scripts, but I would like to be able to accomplish this in one script. I've used hidden labels in scripts but that just doesn't accomplish what I'd like to do.
The script would essentially be a menu list of different actions and look the same whether you L or R clicked (so visually they'd look identical), but inside the script itself the "sub" actions would be different if I L clicked vs R clicked.
Any ideas? I could a see a number of great uses for this capability. In searching the forum I saw that kiwichick hit apon something similar but asked in a differrent way here: http://www.xyplorer.com/xyfc/viewtopic. ... ctb#p77739
If not, could this be a potential wish list item?
Thanks,
Ken
The script would essentially be a menu list of different actions and look the same whether you L or R clicked (so visually they'd look identical), but inside the script itself the "sub" actions would be different if I L clicked vs R clicked.
Any ideas? I could a see a number of great uses for this capability. In searching the forum I saw that kiwichick hit apon something similar but asked in a differrent way here: http://www.xyplorer.com/xyfc/viewtopic. ... ctb#p77739
If not, could this be a potential wish list item?
Thanks,
Ken