name of target of front window
name of target of front window
- Subject: name of target of front window
- From: Ronald Hofmann <email@hidden>
- Date: Sat, 29 Sep 2012 22:56:39 +0200
Hi all, I´m trying a Finder tool with Objective-C and need to know if there is an Finder window open at a certain point of time.
Right now I´m using this: tell application "Finder" set theFolderName to name of target of front window end tell
But this only works if the front window is a normal window. If the front window is a search window theFolderName remains empty. If the front window is a Info window I receive an error.
I wonder if there is another way to distinguish between these different window types but without success so far.
Greetings from Switzerland, Ronald Hofmann --- |
_______________________________________________
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