/exec question

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

returnfire
a lesser mummy
a lesser mummy
Posts: 38
Joined: Fri Dec 05, 2003 11:53 pm

/exec question

Post by returnfire » Fri Feb 27, 2004 1:08 am

I am trying to launch a .wav file with /exec

It executes fine, but always put my default ebil Apple mpg player as the foreground app and takes me out of EQ. This happens whether I use fg or bg (I presume from what I have read this is foreground or background).

Is there a way to use the /exec command to execute a less 'piggy' sound player specifically for my scripts that plays the target wav file of interest?

Something like?

/exec c:\program files\mysoundplayer.exe 'alert.wav'

Advice welcome....

<puts on flame-retardant suit>
ReturnFire

bonehand
a lesser mummy
a lesser mummy
Posts: 48
Joined: Tue Feb 17, 2004 5:16 pm

Post by bonehand » Fri Feb 27, 2004 3:10 am

It look slike you don't use your current player to listen to sounds. A common problem, since Apple, RealPlayer and just about any other 3rd party app will hijack every sound/video/image type they can play. Either uninstall the app or:

Open a directory. Any directory.
Click on Tools.
Click on Options...
Click on File Types tab.
Scroll down the list to WAV file type.
Press the Change button.
Select Winamp or whatever your prefered sound player is.
Press the OK button.
Press the Close button.

As for /exec I would assume that it passes options on to the command line, so you should be able to do as you said above, but I haven't tried it...

Midnight
a lesser mummy
a lesser mummy
Posts: 68
Joined: Wed Nov 12, 2003 12:51 pm

Post by Midnight » Fri Feb 27, 2004 12:34 pm

A wav plugin or addition to the core code would be nice.. mob is inc , /wave incoming.wav. Could have someone mix up about 10 of the most common voice overed .wavs to alert when buffs are dropping, mobs inc, health low, mana, etc. Somewhere down the line