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 

run Autohotkey when another app is opened

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





PostPosted: Fri May 16, 2008 11:26 pm    Post subject: run Autohotkey when another app is opened Reply with quote

I am trying to get DVD decrypter to run automaticall when i insert a dvd.
Can you make Autohotkey exectute when a dvd is inserted or when an application is opened?
Thanks if you need any more info just let me know Very Happy
Back to top
Auto run
Guest





PostPosted: Sat May 17, 2008 12:01 am    Post subject: Update Reply with quote

I have tried adding my little app to the autorun list but when it tries to execute this message comes up

Info - H:\ is my dvd drive

The Script File "H:\"" does not exist. Create it now?
Yes No options

No just closes the app
and Yes just causes another message telling me H:\ (My dvd drive) is read only which it is
Back to top
keybored



Joined: 18 Jun 2006
Posts: 94
Location: Phoenix, AZ

PostPosted: Sat May 17, 2008 7:14 am    Post subject: a start Reply with quote

I tried IfExist and it recognized when I put a dvd in.

Code:
loop
{
Sleep, 5
IfExist, H:\
    MsgBox, The drive exists.
}
return
Back to top
View user's profile Send private message
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