Re: Finder event question - scripting bridge, appscript
Re: Finder event question - scripting bridge, appscript
- Subject: Re: Finder event question - scripting bridge, appscript
- From: OzSanta <email@hidden>
- Date: Fri, 21 Jan 2011 15:51:09 +1100
On 21/01/2011, at 3:38 PM, OzSanta wrote: On 21/01/2011, at 3:20 PM, Sung-Jin Lim wrote: Scripting bridge is not giving the correct answer (strangely machine dependent), so I tried ASTranslate program to see if I should use appscript. It throws runtime error message like this one. Any insights?
tell application "Finder" set theSelection to selection repeat with theItem in theSelection get currentView of window of folder of theItem end repeat end tell
G'day
You're missing a space....
tell application "Finder" set theSelection to selection repeat with theItem in theSelection get current view of window of folder of theItem end repeat end tell
By the way, this is more efficient...
tell application "Finder" get current view of window of folder of (item 1 of (selection as list)) end tell
Regards
Santa
|
_______________________________________________
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