View Single Post
Old 02-04-11, 01:19 PM   #7
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Let There Be Light!

Quote:
Originally Posted by TheDarkWraith View Post
most likely to do with the way I coded the hotkey for the ToggleFollowSelectedTarget:

# follow selected target
if key == FollowSelectedTargetHotKey[1]:
if FollowSelectedTargetHotKey[0]:
from Pagelayout import ToggleFollowSelectedTarget
ToggleFollowSelectedTarget( None )
args.Handled = True

The highlighted in yellow says no need to check for this key anymore
Hi TDW,

Where exactly is that yellow portion 'args.Handled = True' to be added/found? Which file?
Above explanation of your's is obviously very clear to your goodself, as it is your own coding/scripting, but to us other primitive mortals it seems a bit cryptic.

Might you have some time & patience to explain how exactly to apply that setting and what it does? How does it affect TDWOptions.py and/or Commands.cfg?

Is it possible to use the same key for different functions/commands in both Commands.cfg and TDWOptions.py, differentiated by combinations with Shift and/or Ctrl?
Example: one command "B" in Commands.cfg and different command "Shift+B" in TDWOptions.py. Possible or not?

Please, Master, grace us with your explanation!
__________________
Cheers
Uffe

Last edited by ustahl; 02-05-11 at 01:41 PM.
ustahl is offline   Reply With Quote