PDA

View Full Version : DragSelection toggle


swag
08-16-2003, 11:44 PM
Hi, i try to set up a hotkey with a drag selecton toggle but i have no luck

selectPref -clickDrag false;
selectPref -clickDrag true;

but how i can ask the actual state of selextPref -clickDrag with a if ?

loked
08-17-2003, 06:09 PM
I'm not too sure what you asking, but if you asking how to query its state and use an if statement, it would be like this:

if (!`selectPref -q -clickDrag`)
Then do something;


else if (`selectPref -q -clickDrag`)
Do something else;



I hope that answers your question:thumbsup:


later:wavey:
loked

swag
08-18-2003, 02:17 PM
thanks it works now

CGTalk Moderation
01-15-2006, 09:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.