I've looked around and done some research on this and it seems possible just I can't figure out how to do it.
I'm looking to send keystrokes programmically using iLogic as if the keys were actually being pressed. I just want to send a simple set of keys like "QQ".
Does anybody know how I would do this through iLogic? Or trigger a code that would allow me to send these keys.
sendkey is a bad coding practice. dont use it unless you have to.
Thanls for the tip,
I'm new to programming though and have gone through the tutorials and the "My First Plug In" Guide but still have trouble understanding VB
I'm trying to start up the dialog box connected to a custom Add-In we use. This can normally be accessed by pressing the button in the "Add-Ins" Tab
There is a short cut which can be customized through inventor for a keyboard shortcut (ie. "QQ")
I'm not sure how to start up the dialog box by accessing it through code. But I figure I can make the keyboard press the "QQ" a little easier
Again, Thanks for the help
under controldefinition-defaultshortcut or overrideshortcut
you can set the default shortcut assigned to the command. I use "u" to hide or open browser when I need "real" full screen. it is a small vba macro. But it should work in vb.net too.
hmm, my bad. i misunderstand your question. I mean physically press a key, not "programme" to press a key.
sorry i dont know how to do it.
just out of curious, why do you need to press keys by programme instead of purely programming?
I've done some research on how to try and access the button through programming. But I can't seem to find how to do so. What I found was that I need to add reference to a .dll (which I found) but also the dialog box. I did not find the dialog box as it was installed by an outside source and I can't seem to locate it.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.