send key combinations with persistence
Posted: 08 Feb 2017, 17:37
Hi all,
I'm using luaMacros to create a secondary keyboard to make certain functions I perform much easier.
One such issue is in Microsoft SQL Server Management Studio. To switch between SQL windows, the key combination is an annoying "ctrl+F6"
If I use sendkeys('^{F6}') on "page up" this works for sending a single instance, and the application switches from window 1 to window 2. Pressing it again just switches back from window 2 to window 1 again. What I'm trying to do is enable holding down "page up" to cycle through the windows, which involves pressing and holding CTRL, then repeatedly pressing F6.
Anyone have any thoughts on how to achieve this? I'd even be happy to use a double-combination on the macro keyboard.
many thanks,
Dave
I'm using luaMacros to create a secondary keyboard to make certain functions I perform much easier.
One such issue is in Microsoft SQL Server Management Studio. To switch between SQL windows, the key combination is an annoying "ctrl+F6"
If I use sendkeys('^{F6}') on "page up" this works for sending a single instance, and the application switches from window 1 to window 2. Pressing it again just switches back from window 2 to window 1 again. What I'm trying to do is enable holding down "page up" to cycle through the windows, which involves pressing and holding CTRL, then repeatedly pressing F6.
Anyone have any thoughts on how to achieve this? I'd even be happy to use a double-combination on the macro keyboard.
many thanks,
Dave