• 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: so what's going on here?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: so what's going on here?


  • Subject: Re: so what's going on here?
  • From: Bill Briggs <email@hidden>
  • Date: Tue, 20 Feb 2007 06:58:09 -0400

Title: Re: so what's going on here?
At 6:38 PM -0800 2/19/07, Paul Berkowitz wrote:
On 2/19/07 6:23 PM, "Bill Briggs" <email@hidden> wrote:

 And it gets more strange. If you exclude System Events specifically by filtering to get application processes whose background only is false (and System Events has a background only that is true), then Script Editor pops up as the frontmost application, no matter what application is frontmost.


What exactly was your code for that test? I can't replicate that.

tell application "System Events"
set testList to the name of every application process whose background only is false
-- the above line filters out System Events
repeat with i from 1 to count of testList
set apName to (get item i of testList)
if frontmost of application process apName is true then
set fMost to apName
else           
end if
end repeat
end tell
display dialog fMost

This tells me Script Editor is the frontmost application when, for example, Eudora is frontmost. But only from the Scripts menu. Not from TypeIt4Me or FastScripts. FastScripts gets it right, whether it's iCal, Eudora, whatever.
 - web
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: so what's going on here?
      • From: Paul Berkowitz <email@hidden>
    • Re: so what's going on here?
      • From: Daniel Jalkut <email@hidden>
References: 
 >Re: so what's going on here? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: No Default Application Error Message
  • Next by Date: FileMaker--how to match and flag IDs in two tables
  • Previous by thread: Re: so what's going on here?
  • Next by thread: Re: so what's going on here?
  • Index(es):
    • Date
    • Thread