I suspect that the method of playing a sound may require the Finder, for some reason. I'm curious, Thomas, what script command you are using to play the sound on OS X.
On or near 9/23/02 4:09 PM, Paul Berkowitz at [EMAIL PROTECTED] observed: > On 9/23/02 2:44 PM, "Thomas England" <[EMAIL PROTECTED]> wrote: > >> I use a method to have different sounds played when mail arrives from >> different sources. It helps me know whether or not to interrupt whatever >> else I am doing to take a look at the new incoming message. >> >> The problem is that my workflow is interrupted in a minor way because my >> current rule invokes a script which leaves the Finder active. Is there any >> way to tell the script which application is currently active & frontmost and >> to then re-activate it? > > tell application "Finder" to set frontProc to name of first process > whose frontmost is true > > --rest of script > > tell application frontProc to activate > > > But why are you activating the Finder in the first place? That's usually > unnecessary and pointless jumping around, usually derived from somebody > recording himself doing something manually in the Finder. There are certain > situations where that may not be the case, but there's usually no reason to > activate the Finder and you can probably just remove the line which told the > Finder to activate. -- My web page: <http://home.earthlink.net/~allenwatson/> My scripts page: <http:[EMAIL PROTECTED]/Scripts/> Microsoft MVP for Mac Entourage/Word--<[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
