davidwm
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by davidwm
-
-
Since it seems Ni still has not changed anything in the support of Menu Shortcuts for Custom Tools and I did not exactly know how to Listen to global Keyboard inputs, I came up with another solution to this issue. Take AutoHotKey and Use the WinMenuSelectItem Function. can be read from WinActive and Menu is &6 (for Tools, might be a different name in other Languages, therefor use number), use Names for the SubMenus (you should know your own titles).
Done.
You would still have to code an additional Program (with AutoHotKey) and supply it with you Tool as well as automatically start it on Startup (which is not really neat, but it should work).
davidwm
Well, never mind. Labview uses a customized menu and AutoHotKey cannot trigger Menu Items with WinMenuSelectItem ...
davidwm
-
Now that I have thought about it a little, there may be a way for me to implement a solution without making the shortcuts to the menu items. In the tools I am working with, the user has the option to log into a database of their choice so the checkin and checkout tools know right away what database they are working in. This tool is running all the time keeping the database connection in memory so I could possibly trap keystrokes within that application, find the top vi window and open the checkout, checkin, or add tool. This solution might work for me, but I don't think it is feasible for other tools. The ultimate solution is to get the update from NI for shortcuts for custom tools menu items...and options for tool bar buttons.
Since it seems Ni still has not changed anything in the support of Menu Shortcuts for Custom Tools and I did not exactly know how to Listen to global Keyboard inputs, I came up with another solution to this issue. Take AutoHotKey and Use the WinMenuSelectItem Function. can be read from WinActive and Menu is &6 (for Tools, might be a different name in other Languages, therefor use number), use Names for the SubMenus (you should know your own titles).
Done.
You would still have to code an additional Program (with AutoHotKey) and supply it with you Tool as well as automatically start it on Startup (which is not really neat, but it should work).
davidwm
LabVIEW Development Menu Shortcut
in Development Environment (IDE)
Posted
Well, I have found a way to "use shortcuts". Create a QuickDrop-Plugin.
Refer to this Blogpost on how to do this:
http://labviewartisan.blogspot.com/2009/08/write-your-own-quick-drop-keyboard.html
That way you will be able to get a Shortcut Combination, that will be like [Ctrl] + [space] --> [Ctrl] + [someKey]. You can also use Shift to further specify the Plugin's behaviour.
Cheers
David