Hi Sheri,

> You need to keep holding those keys down until the scripted test for CTRL, 
> SHIFT, etc. is completed. If you just hold them down while clicking, that is 
> not long enough. Alt may seem to be working for you because in some contexts 
> that particular key acts as a toggle (press and release once and the alt key 
> is down, press and release again and it is up).

Thanks for the tip, but doesn't work for me. I assigned the following 
mini-script to the left-click of a button. Tried again and again to hold CTRL 
or SHIFT longer - no success. 
 
if(ctrl)do
  win.debug("ctrl")    //doesn't work
elseif(shift)do 
  win.debug("shift")   //doesn't work
elseif(win)do 
  win.debug("win")     //ok, but taskbar
elseif(alt)do 
  win.debug("alt")     //fine
else
  win.debug("else")    //fine
endif  


Best regards Detlef

Reply via email to