AutoHotkey Community

It is currently May 25th, 2012, 3:36 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: May 4th, 2007, 9:05 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1832
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2007, 4:14 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8647
Location: Salem, MA
you might need a different sendmode for GP, otherwise make sure the keyboard hook directive is at the top of your ahk script

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Cephei1, Google Feedfetcher, Leef_me, MilesAhead and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group