Wb-FreeKill Posted September 17, 2004 Posted September 17, 2004 (edited) Witch command to run an exe file, ore an Mp3 file? Edited September 17, 2004 by Wb-FreeKill
Valik Posted September 17, 2004 Posted September 17, 2004 The answer to your own question is a word in that question. A logical word to invoke the command, in fact, since you used it to describe what you want to do.
Developers Jos Posted September 17, 2004 Developers Posted September 17, 2004 Witch command to run an exe file, ore an Mp3 file? <{POST_SNAPBACK}>maybe: Run() ??? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
JSThePatriot Posted September 17, 2004 Posted September 17, 2004 Is today dont tell anyone the exact answer day? You guys have me cracking up. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
Wb-FreeKill Posted September 17, 2004 Author Posted September 17, 2004 Ive tryed that, but its saids: Run ("C:\Nightwish - The Kinslayer.mp3") Error: Unable to execute the external program.
Developers Jos Posted September 17, 2004 Developers Posted September 17, 2004 Ive tryed that, but its saids: Run ("C:\Nightwish - The Kinslayer.mp3") Error: Unable to execute the external program. <{POST_SNAPBACK}>mp3 isn't a program you could try: run(@comspec & ' /c start "C:\Nightwish - The Kinslayer.mp3"') SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Wb-FreeKill Posted September 17, 2004 Author Posted September 17, 2004 that just opens a DOS window, and nothing happens :S
emmanuel Posted September 17, 2004 Posted September 17, 2004 mp3 isn't a program you could try: run(@comspec & ' /c start "C:\Nightwish - The Kinslayer.mp3"') <{POST_SNAPBACK}>remember start's different on different os's on the NT flavoures you need to have the extra item in quotes in there for title:run(@comspec & ' /c start "Playing a song, a happy happy song" "C:\Nightwish - The Kinslayer.mp3"') if you want to play the mp3, you could search the helpfile for something that rhymes with SoundPlay() "I'm not even supposed to be here today!" -Dante (Hicks)
nobby Posted September 18, 2004 Posted September 18, 2004 Use the name of your MP3 player exe. Run('C:\Program Files\Windows Media Player\wmplayer.exe "C:\Nightwish - The Kinslayer.mp3"',"") I am sure that other media player are also capable of using a similar syntax CheersNobby
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