• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script to Cycle Through Apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script to Cycle Through Apps?


  • Subject: Re: Script to Cycle Through Apps?
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 20 Oct 2004 14:30:17 -0700


On Oct 20, 2004, at 10:57 AM, Marconi wrote:

Now, activating any given app is easy. What I don't know is how to get a list of the running apps and randomly choose one to activate.

tell application "System Events" set foo to application processes set bar to some item of foo end tell tell application (name of bar) to activate

--
Prius:  Kicks Gas

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Script to Cycle Through Apps? (From: Marconi <email@hidden>)

  • Prev by Date: Network Setup Scripting
  • Next by Date: Re: Creating a log file.
  • Previous by thread: Script to Cycle Through Apps?
  • Next by thread: Re: Script to Cycle Through Apps?
  • Index(es):
    • Date
    • Thread