Thank you.
I have now one more english abbreviation in my vocabulary.

Le 21 janv. 07 à 23:31 Soir, Tom Benson a écrit:

FWIW = For What It's Worth

Sorry, I'll have o stop being lazy.

On 22/01/2007, at 9:29 AM, Arnaud Nicolet wrote:

Thank you.
By the way, what does FWIW mean?

Le 21 janv. 07 à 22:54 Soir, Tom Benson a écrit:

FWIW you can detect individual function key presses by testing keyboard.asynckeydown in KeyDown events, and you could probably extend this to test for the print screen key, which I believe is F16(?) on windows.

Therefore if you put this in your keydown event it should capture it

if Keyboard.asyncKeyDown(106) then
        //F16 - (print screen) was pressed
        return true
end

- Tom

On 22/01/2007, at 8:37 AM, Terry Ford wrote:


On Jan 21, 2007, at 1:07 PM, Arnaud Nicolet wrote:

Le 21 janv. 07 à 20:34 Soir, Terry Ford a écrit:

On a windows machine the equivalent keys for Mac's F13, F14 and F15 still produce distinct Keycodes that can be read. They can even be used as Menu shortcuts now.

By Keycodes, I assume you mean the ascii values, not the keycode at the hardware level, right?

No the actual Hardware Keycode itself. It's all described in the Keyboard Module in the LR. Because the Function key trigger the KeyDown event you can use that to write code to check for the KeyCode. There's an example for checking the arrow keys using their KeyCode instead of their ascii value. The purpose being that it would be done using a Timer instead of a KeyDown event being triggered.

(Else, it can't be trusted).

Why not. The KeyCodes are cross platform and Universal for standard US QWERTY keyboards. They even work on non-standard Keyboards but can represent different ascii letters as many foreign keyboards have their ascii equivalents on different keys. The keyboards themselves return identical codes though.

Well, I didn't know they were different.

Two ways of approaching a problem are always better than one. ;-)

Thanks for the info.

You're welcome. It's all in the LR (so to speak).

-Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to