autosc Posted March 6, 2007 Share Posted March 6, 2007 How can i autorun applications or documents when I insert USB drive on slott , with autoit ? I used the method for cd , it does not work [autorun] ..... ...... Although there are shareware programs that do that .... I just wanted to implement it in my autoit scripts ..... Any ideas ? Link to comment Share on other sites More sharing options...
ChrisL Posted March 6, 2007 Share Posted March 6, 2007 I think the Autorun is the only real option, if you have a correct autorun.inf then windows XP will ask you if you want to run the program. The only other way I can think of is to have a script that runs from the PC which looks for a specific file on the pen drive. ;Autorun.inf file [autorun] icon=_system\Icon.ico action="Open the MP3 Organizer" Open="MP3Organizer.exe" label="My MP3 player" UseAutoPlay=1 shellexecute="MP3Organizer.exe" [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
autosc Posted March 6, 2007 Author Share Posted March 6, 2007 I think the Autorun is the only real option, if you have a correct autorun.inf then windows XP will ask you if you want to run the program. The only other way I can think of is to have a script that runs from the PC which looks for a specific file on the pen drive. ;Autorun.inf file [autorun] icon=_system\Icon.ico action="Open the MP3 Organizer" Open="MP3Organizer.exe" label="My MP3 player" UseAutoPlay=1 shellexecute="MP3Organizer.exe" [/quot] I tried such kind dont work ........ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now