04-09-2008 02:11 PM
04-09-2008 02:46 PM
04-09-2008 02:50 PM
What exactly are you trying to do? Put this in context and I might be able to help find a solution.
What are the reasons you can't/don't want to use an event structure for this? Could you use a callback instead?
04-09-2008 03:15 PM
04-09-2008 04:07 PM
04-09-2008 04:41 PM
04-10-2008 09:09 PM
04-11-2008 05:32 PM
03-30-2012 12:31 PM
I have a similar need but with more restrictions. I'm making our LabVIEW program cross-platform for Windows and MacOS. We have a vi which has a small window and whenever the user hits 'Enter' we want the continue button to be toggled and 'Esc' should toggle the stop button. However we want this to work when the window is not active. That is, no matter what the active window is, these key bindings should work.
Currently we use the inputDevices.llb but it doesn't work on MacOS (and also it behaves oddly when some special hardware is plugged up on windows giving us double reason to stop using it).
Does anybody know a way to detect a keyboard button press without the window needing to be active and without using OS specific calls?