Control key at Start Up

Having problem with getting keyboard.AsyncControlKey to work in Windows, works for the Mac. I’m testing on a Mac using windows 7 running using VMWare Fusion. Using this code:

If keyboard.AsyncControlKey then // handle the keyboard event here.... gControlAtStart = true end if

[quote=186917:@Jim Smith]Having problem with getting keyboard.AsyncControlKey to work in Windows, works for the Mac. I’m testing on a Mac using windows 7 running using VMWare Fusion. Using this code:

If keyboard.AsyncControlKey then // handle the keyboard event here.... gControlAtStart = true end if[/quote]

You may have an issue with VMWare not forwarding keys right away.

On a real PC, if I place your code in App.Open it triggers perfectly if I hold Ctrl immediately after clicking Run.

Thanks, thought that may be it.