Code: Select all
$mod = get("trigger","callshift");
$context = get("trigger","context");
if(($trigger == "1") OR ($context == "4" AND $mod != "2")) {What I'm wondering if it would make sense on these keyboard assignments to make a keyboard assignment like in this case, Control Numpad 5 un-assignable or void in some way (like the space key) such that we can direct the actions through the script instead of having to separately assign the key with a modifier as in the above case, Control Numpad 5. I think it would be a cleaner way to make distinctions of a separate (with modifier) action in the script itself along with eliminate having to assign a UDC separately to the key with a modifier held down. Possibly a user list of unassignable keys (like in the above case Control Numpad 5 would be flagged as unassignable). Yet, you would still be able to make that Control Numpad 5 work in a script via the use of get("trigger", "callshift"). Does that make sense?
XYplorer Beta Club