William for the first part I'd do something like:

on rawKeyDown pKey
  if pkey <> 65388 and pkey <> 65389 then pass rawKeyDown
end rawKeyDown

and for the second, assuming you want to show the image when clicked,

on mouseUp
if the controlKey is down and the commandKey is down then show img tImg
end mouseUp

Hope I've understood,

Best,

Mark

On 8 Jun 2009, at 15:21, William de Smet wrote:

Hi there,

I am looking for a way to block the Window keys (65388 and 65389) but is doesn't work because I don't know how:
on rawKeyDown theKeyNumber
   if theKeyNumber is 65388 then .....????
   if theKeyNumber is 65389 then .....????
end rawKeyDown

And is there a way to use both CTRL and COMMAND key at the same time? When these keys are down I want to show an image and when these keys are up again the image is hidden.

Thanks!

Greetings,

William
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to