Emulate shortcut press (iLogic)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'd like to know how can I programmatically emulate pressing keyboard shortcut.
I'm aware that emulating key press is a lame practice but I don't see any alternative way to force Inventor behave in the way I prefer.
I want to have Projection type "Perspective with ortho faces" be active "by default" in 3D-modelling environments but corresponding idea published in 2013 seems to have no chances to be implemented (under-voted).
I see there is a possibility to set up keyboard shortcut with the mode I'm interested in (and manuall pressingdoes the trick). The problem - its effect is limited to the active 3Dmodel only. I need to remember pressing the shortcut for each newely opened 3Dmodel which is quite tedious.
I also see threads that desribes key-press emulating within Inventor's child windows but I fail to emulate key-press without those windows.
Let say I want to emulate pressing Help-button with iLogic,
I believe it should look like
System.Windows.Forms.SendKeys.SendWait("{F1}")
But it does nothing.
What I'm missing?
Please vote for Inventor-Idea Text Search within Option Names