![]() |
|
#1
|
|||
|
|||
|
I have a 1TB external hard drive and it works perfectly. I have made an autorun.inf file so it shows an icon i created on every computer it plugs into. I was wondering if there was a way to autoplay a sound file whenever it plugs in.
I have already changed the sound scheme on my computer for when it connects a device. I would like to be able to have this external play it's own sound when it plugs in. (I know i can't create a special separate sound scheme for the external, I just want it to have an autoplay sound). Right now my autorun.inf file has this in it: [autorun] open=wd_windows_tools\WDSetup.exe ICON=xgp15a2 layouts\xgp.ICO |
|
#2
|
||||||||||||
|
||||||||||||
|
I'm not too sure myself but maybe the Autorun Dabbler's Toolkit would be of some use?
__________________
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 My System: FordyPC
|
|
#3
|
|||
|
|||
|
I downloaded that link and there really wasn't anything in there. There were just some examples and that was about it. No coding guide.
|
|
#4
|
|||
|
|||
|
Hmm ok sorry, some people reccommended it so I thought it might help, never mind.
I've been googling around and it seems as though you can't do it, which is strange, and I don't see why not, but there is no example on the internet of how to do it.. maybe you just can't. Wait a sec.. couldn't you just put in a autoplay line, so it opens the sound file? Yeah, it'd come up in WMP or whatever, could be a bit annoying I guess, but it'd work.
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 |
|
#5
|
|||
|
|||
|
Is it possible to make a .exe file to perform the task? I could make the .exe then have the autorun.inf execute the .exe program.
|
|
#6
|
|||
|
|||
|
Ah good idea, and I have something on my PC that'll do just that! Don't know why I didn't think of it before.
Download from this site. Then make your autorun execute that file. All credit to Donn Edwards for the application.
__________________
"Why did they [PS3 Slim] stick with the UFO landing on a rectangle look" --- Nilay Patel; Engadget Ep. 160 |
|
#7
|
|||
|
|||
|
I have downloaded the PlaySound program and it works fine. I have installed it onto my external and edited the target file to what I wanted. The program works, no problems there. However I haven't been able to execute the PlaySound shortcut. *Note*: the file that will be executed is a shortcut the the program, it's just how the program works.
My current autorun.inf reads as follows: _____________________________________________ [autorun] open=wd_windows_tools\WDSetup.exe ICON=xgp15a2 layouts\xgp.ICO _____________________________________________ I have tried editing the autorun lines with adding text such as: ShellExecute=Playsound.exe and open=Playsound.exe Unfortunately the autorun.inf file will not open the shortcut. When i plug the external into my computer, my computer plays the USB device noise, then it brings up the autoplay window with a progress bar and flashes files that are on the external. Right after that it brings up a menu with Run the Program, Play Media Files, View Image Files, Open Folder to View Files, Take No Action. I had tried clicking on every option but I have not heard the noise I had specified PlaySound's shortcut to execute. What should the autorun.inf file lines consist of to execute the playsound shortcut when I plug my external into anybodies computer? |