• 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
Setting Frontmost to False
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Frontmost to False


  • Subject: Setting Frontmost to False
  • From: Jeffrey Berman <email@hidden>
  • Date: Tue, 06 Aug 2002 21:24:14 -0500

I've been having difficulty setting the frontmost of an application process
to false. For example, if Terminal is the foreground process, the following
commands do not change the frontmost status:

tell application "System Events"
set frontmost of application process "Terminal" to false
end tell

I discovered I can change the frontmost status to false if I toggle the
visible of the process, as in:

tell application "System Events"
set visible of application process "Terminal" to false
set visible of application process "Terminal" to true
end tell

Anyone know why the first example does not work and if there is a more
direct way to change the frontmost status of the foreground process?

-Jeffrey Berman
_______________________________________________
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.

  • Prev by Date: Re: Need XOR solution
  • Next by Date: [ANN] The FooDoo Lounge
  • Previous by thread: No Subject
  • Next by thread: Setting Frontmost to False
  • Index(es):
    • Date
    • Thread