lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Multimedia & Codecs


Register


Reply
 
Thread Tools
  #1  
Old 14th Jan 2009, 11:03
Member Group
 
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  
Old 1st Feb 2009, 03:43
Donor Group
 
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

Processor(s):
Quad Q6600 Kentsfield 2.66@3.45GHz
Motherboard:
Asus P5Q/L PRO (Intel P43, ICH10)
RAM Memory:
PNY XLR8 4GB @ 1066MHz
Graphics Card(s):
PNY nVidia GeForce 9400 GT 512MB
Sound Card:
Hard Drive(s):
Seagate HDBarracuda 1x 1TB 1x 250GB
Optical Drive(s):
LG (HD)GGCH20L / LG GH22NP20AUAA50B
Case / PSU:
Antec Sonata III & Earthwatts 500W
Cooling:
Stock
Network / Internet:
Gigabit LAN, FireWire & WG111v2
Monitor(s):
2 x Acer P193WAd
Operating System(s):
XP PRO x86/XP PRO x64/Win7 RC1 x64
  #3  
Old 1st Feb 2009, 09:17
Member Group
 
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  
Old 1st Feb 2009, 11:42
Donor Group
 
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  
Old 4th Mar 2009, 21:07
Member Group
 
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  
Old 21st Mar 2009, 11:35
Donor Group
 
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  
Old 29th Mar 2009, 20:05
Member Group
 
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?
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.