• 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: getting focus, slow getting icon position in window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting focus, slow getting icon position in window


  • Subject: Re: getting focus, slow getting icon position in window
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 24 Jan 2011 07:59:08 -0700

On Jan 24, 2011, at 3:17 AM, OzSanta wrote:

1. Is it possible in Applescript to determine if the desktop or a window is the Finders focus?

tell application "Finder"
activate
try
display dialog (get name of the front window)
on error
display dialog "Desktop is the focus"
end try
end tell

-- Michelle

--
A hula hoop with a nail in it is a navel destroyer.  -- Joe Parks

 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: getting focus, slow getting icon position in window
      • From: OzSanta <email@hidden>
    • Re: getting focus, slow getting icon position in window
      • From: Christopher Stone <email@hidden>
References: 
 >getting focus, slow getting icon position in window (From: OzSanta <email@hidden>)

  • Prev by Date: Re: Mail Rule Scripts
  • Next by Date: Re: Case Sensitive Format
  • Previous by thread: getting focus, slow getting icon position in window
  • Next by thread: Re: getting focus, slow getting icon position in window
  • Index(es):
    • Date
    • Thread