Search found 9 matches
- 11 Feb 2011, 10:31
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
You can see this selection is stored when you're clicking on defined macros in left column. Predefined/Scripted sheets are selected for each macro just as you left them. So if you want to have macro with script, you must stay on Scripted tab sheet when you define the macro. Don't switch back to Pre...
- 10 Feb 2011, 23:07
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
I wonder why the scripting I added, exactly as per your example, actually stopped HIDmacros doing anything for those keypresses at all, then? I don't have this experience. I even took your hidmacros.xml, just re-mapped your F1-2 macro to my F1 key and it works as it should - execute Shift+F1 action...
- 10 Feb 2011, 15:33
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
Try macro on Q with script: Dim ctrl ctrl = HIDMacros.GetKeyState(17) and 128 if (ctrl = 0) then ' ctrl not pressed HIDMacros.SendKeys "%q" 'send Alt+Q else ' ctrl pressed HIDMacros.SendKeys "+q" 'send Ctrl+Shift+Q, Ctrl is already down end if I just tested with Pspad editor and seems to send what ...
- 10 Feb 2011, 14:22
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
I wonder why the scripting I added, exactly as per your example, actually stopped HIDmacros doing anything for those keypresses at all, then? It didn't throw up an error in the macro or script. I don't know either. But if you have some test case I could reproduce (e.g. normal keyboard and Notepad o...
- 10 Feb 2011, 13:15
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
So looks like solution for problem you have if the Ctrl key press is sent in the same way as pressed manually on real keyboard. Oh, right. I'll give that a try. I wonder why the scripting I added, exactly as per your example, actually stopped HIDmacros doing anything for those keypresses at all, th...
- 09 Feb 2011, 01:10
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
You can try this experimental build: http://www.hidmacros.eu/HIDMacros.exe I've tried this, and I must be doing something wrong, because before all of the F1-F12 buttons on the USB keyboard (my "second", though named Keybd1) are being sent as just F1-F12 just like the main keyboard. In other words ...
- 09 Feb 2011, 00:04
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
You can try this experimental build: http://www.hidmacros.eu/HIDMacros.exe Thank you! I will try it and let you know. But you must be careful with output of your macro. If Ctrl key is pressed it is not handled by HIDmacros anyhow. Well, in my case that is not a problem because I need it to send Shi...
- 08 Feb 2011, 11:29
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
Re: How to program keyboard combinations?
Talking about keyboard HIDmacros uses single key presses as triggers. It actually uses "key down" event to fire associated macro. So you could have macro for F1 key press or Ctrl key press, but not for combination. This comes from original idea to use additional keyboard for macros to avoid a need ...
- 07 Feb 2011, 18:26
- Forum: HOW-TOs and documentation
- Topic: How to program keyboard combinations?
- Replies: 16
- Views: 55910
How to program keyboard combinations?
Hi, I'm trying to replace two mini-PCs driving my CDU and RCDU with one more powerful PC. Each of the devices is identical, with built-in keyboards precoded to match Project Magenta's keyboard input needs. These include A-Z, 0-9 etc, easy ones, and Ctrl+F1-F12. Enrico, author of PM, has kindly chang...