Re: are finder items items? what is a vector?
Re: are finder items items? what is a vector?
- Subject: Re: are finder items items? what is a vector?
- From: Brian Christmas <email@hidden>
- Date: Thu, 24 Dec 2009 10:03:17 +1100
G'day
I came up with a similar solution to Jons, but mine retains the path names
Regards
Santa
tell application "Finder"
set inverted to {}
set fitems to items of window 1 set tS to selection as list repeat with i in fitems set flag to false repeat with x in tS if i as text = x as text then set flag to true exit repeat end if end repeat
if not flag then set end of inverted to i
end repeat
set selection to {} select inverted
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