• 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: Process whose frontmost *was* true?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process whose frontmost *was* true?


  • Subject: Re: Process whose frontmost *was* true?
  • From: Nigel Smith <email@hidden>
  • Date: Fri, 28 May 2004 12:00:41 +0100

<snip discussions on last frontmost...>

Thinking about this, something somewhere is keeping track, in 10.3 at least,
of the "order" of applications.

System Events will return apps in their launch order but, if you command-tab
and look at the order of apps displayed, it's most-recently-used to the left
thru to least-recently-used to the right.

This is persistent -- if you kill and restart the Dock process, the ordering
remains.

Anyone know how to get at this? And wouldn't it be neat if System Events
could return a list using this order, as well as by launch order? Then you
could do something like:

tell application "System Events"
if name of first application process ordered by use is "System Events"
tell second application process ordered by use
--
---do stuff
--
end
end
end

Just a thought,

Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Process whose frontmost *was* true?
      • From: Emmanuel <email@hidden>
References: 
 >Re: Process whose frontmost *was* true? (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: I am STILL stuck!
  • Next by Date: Re: I am STILL stuck!
  • Previous by thread: Re: Process whose frontmost *was* true?
  • Next by thread: Re: Process whose frontmost *was* true?
  • Index(es):
    • Date
    • Thread