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 

Limiting scripts to only 1 ...or 2 apps

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



Joined: 28 Oct 2004
Posts: 10

PostPosted: Tue Nov 23, 2004 8:17 am    Post subject: Limiting scripts to only 1 ...or 2 apps Reply with quote

Okay..i've been using this script which essentially only works for 1 application....How can it be changed so that it can be used for more than 1 app? ...& also return a different event with each other app?

It seems like a simple embedded if statement, but I haven't been able to get it to work yet....Much thanks....


$left:: ;===== ADVANCES TO NEXT PICTURE
SetTitleMatchmode, 2
IfWinNotActive, ACDSee
{
Send, {left}
return
}
Send, {space}
return
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Tue Nov 23, 2004 8:33 am    Post subject: Reply with quote

Code:
$left:: ;===== ADVANCES TO NEXT PICTURE

SetTitleMatchmode, 2
IfWinNotActive, ACDSee
         Send, {left}
Else IfWinNotActive, Microsoft Photo Editor
         Send, {space}
return


Untested Rolling Eyes

Cool
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