Jump to content

Recommended Posts

Posted

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
Posted

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.
  :)

Posted

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)

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...