Re: getting focus, slow getting icon position in window
Re: getting focus, slow getting icon position in window
- Subject: Re: getting focus, slow getting icon position in window
- From: Christopher Stone <email@hidden>
- Date: Mon, 24 Jan 2011 11:28:20 -0600
On Jan 24, 2011, at 08:59, Michelle Steiner wrote: 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
______________________________________________________________________
That's not going to work if there are minimized windows.
tell application "Finder" try if (windows whose visible is true) = {} then set sel to selection end if on error errMsg number errNum beep display dialog "Error: " & errMsg & return & "Error Number: " & errNum end try end tell
|
_______________________________________________
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