AW: How do I block the Windows keys?

Tiemo Hollmann TB toolbook at kestner.de
Mon Jun 8 11:47:57 EDT 2009


Hi William, how about this:

on rawKeyDown theKeyNumber
	if theKeyNumber is not 65388 and theKeyNumber is not 65389 then
		pass rawKeyDown
	end if
end rawKeyDown

Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von William de Smet
> Gesendet: Montag, 8. Juni 2009 16:22
> An: How to use Revolution
> Betreff: How do I block the Windows keys?
> 
> 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list