 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
tic
Joined: 22 Apr 2007 Posts: 1454
|
Posted: Fri May 04, 2007 9:05 am Post subject: Send does not work with all programs. Is OSC possible? |
|
|
Me again!
I'm still trying to get some things to work with Glovepie. I want my AHK exe to be able to communicate with Glovepie, and so far I haven't tried this, only the other way round (Glovepie sending information to my AHK exe).
I can't seem to get a simulated keypress to be detected in Glovepie (only a real one). Glovepie link...
http://carl.kenner.googlepages.com/glovepie_download
Quick test code for AHK...
| Code: | #NoEnv
#SingleInstance, Force
loop
{
}
F12::
sendinput b
Return
|
and then example code in glovepie...
| Code: | if keyboard.B
say "worked"
endif |
Now, if I run that Glovepie script and press B then it'll say "worked", however, if I press F12 then it should also press B and buffer out the F12 I've pressed.
So...Is it possible to have Glovepie see the keys pressed by AHK, and if not, then why not?
If it's not possible to communicate with key presses then I was also wondering whether OSC (open sound control) could be used to send data between them, as Glovepie supports this, but I can't find anything on it in AHK |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
Posted: Fri May 04, 2007 4:14 pm Post subject: |
|
|
you might need a different sendmode for GP, otherwise make sure the keyboard hook directive is at the top of your ahk script _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|