On Thu, May 1, 2008 at 9:18 PM, Ian Wood <[EMAIL PROTECTED]> wrote: > Sometimes I need to find out what applications are currently running on a > Mac, and I've been using the following code to get a list: > > put "tell application" && quote & "System Events" && quote & "to get name > of every process" into tS > do ts as applescript > > This normally returns an AppleScript list of application names, but I've > had a couple of people complaining that they are getting prompted to choose > an application with the warning "Where is System Events". > > Anyone have any clues?
Yes, you have a space after Events and before the quote so you are trying to tell app "System Events ", not "System Events". Change the second double ampersand to a single and it all works fine. Cheers, Sarah _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
