AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with ControlSend to Air application

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
halin



Joined: 15 Mar 2010
Posts: 2

PostPosted: Mon Mar 15, 2010 5:17 pm    Post subject: Problem with ControlSend to Air application Reply with quote

Hi!

I'm a total rockie, and no programer, and hope for some tips here:

I whant to send commands to two different applications, regardless of wether they have focus or not. Application#1 is Steinberg Nuendo, and Application#2 is an Adobe Air-app I have a programmer make.

I have a .ahk script sending ControlSend commands using this syntax:

^5:: controlsend, , ^5, Nuendo
^+6::controlsend, , {F4}, Nuendo

I have ca 20 lines of controlsend to Nuendo working fine, but the Air app isn't taking commands so smoothly.



F8:: ContolSend, , ^n, AirAppName

does not work without focus on the Air App



^!3:: ControlSend, , ^e, AirAppName

works without focus on the Air App (as it should)




I've tried the command addressed to the "Class", witch according to the Window Spy is ahk_class MozillaUIWindowClass - same result.

I've put in SetKeyDelay, 100, 100, 100 to make sure the hotkey isn't fired to fast - same result.


Is there anything about how Air listens for commands that can explain this, and/or is there an AutoHotkey sollution to it??


I'm thankfull for any help!!


Regards,

-halin
Back to top
View user's profile Send private message
Cephei1



Joined: 04 Aug 2008
Posts: 199
Location: UK

PostPosted: Mon Mar 15, 2010 7:14 pm    Post subject: Reply with quote

Why don't you just try it this way, doubt it will make a difference, but worth a try.

Code:
F8::
ContolSend, , ^n, AirAppName
Return


Else try replacing F8 with another key.

D4B5T3R
Back to top
View user's profile Send private message
halin



Joined: 15 Mar 2010
Posts: 2

PostPosted: Tue Mar 16, 2010 5:44 am    Post subject: Reply with quote

Thanks! Both tips are tried, but made no difference...
Back to top
View user's profile Send private message
automaticman



Joined: 27 Oct 2006
Posts: 642

PostPosted: Mon May 17, 2010 11:47 am    Post subject: Reply with quote

Is the AirApp, Onyx-VJ and could you solve your problem in the meantime?
Back to top
View user's profile Send private message
Damein



Joined: 27 Aug 2009
Posts: 296

PostPosted: Mon May 17, 2010 12:37 pm    Post subject: Reply with quote

You can also try the other variations of Send, in case the program doesn't allow ControlSend (ControlPlay etc. etc.)

SEND FAQ
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group