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 

context-sensitive hotstrings for non-text programs

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
coop
Guest





PostPosted: Wed May 28, 2008 7:09 pm    Post subject: context-sensitive hotstrings for non-text programs Reply with quote

I am familiar with the textbased programs such as Notepad and using howilltstrings that are exclusive to each (Ifwinactive).

But now I want to do the same thing with other programs, like vlc. And it would be nice if I could retain context-sensitivity.
Back to top
IsNull



Joined: 10 May 2007
Posts: 112
Location: .switzerland

PostPosted: Wed May 28, 2008 7:13 pm    Post subject: Reply with quote

Ifwinactive works on every window... whats the problem?
_________________
http://securityvision.ch
Back to top
View user's profile Send private message
coop
Guest





PostPosted: Wed May 28, 2008 7:30 pm    Post subject: Reply with quote

IsNull wrote:
Ifwinactive works on every window... whats the problem?


This is code for Vlc player.
Code:
#ifwinactive AHK_class wxWindowClassNR
::btw::
MsgBox You typed "btw".
return


It doesn't do anything.
Back to top
coop
Guest





PostPosted: Wed May 28, 2008 7:33 pm    Post subject: Reply with quote

coop wrote:
IsNull wrote:
Ifwinactive works on every window... whats the problem?


This is code for Vlc player.
Code:
#ifwinactive AHK_class wxWindowClassNR
::btw::
MsgBox You typed "btw".
return


It doesn't do anything.


Edit: I figured it out. Embarassed
Back to top
Display posts from previous:   
Post new topic   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