Re: As Alias List?
Re: As Alias List?
- Subject: Re: As Alias List?
- From: Bill Guion <email@hidden>
- Date: Wed, 11 Dec 2013 14:09:58 -0500
On Dec 11, 2013, at 1:45 PM, Christopher Stone < email@hidden> wrote: Hey Folks,
If memory serves this code would not produce an alias list pre-Mavericks:
-------------------------------------------------------------------------------------------
tell application "Finder" set _target to target of front window as alias set fileList to (files of _target whose name extension is "dmg") as alias list end tell
-------------------------------------------------------------------------------------------
But on Mavericks it works.
Can someone still on Mountain Lion confirm?
Thank you.
-- Best Regards, Chris
Chris,
I get an error on 10.8.5
"error "Can’t make «class fvtg» of window 1 of application \"Finder\" into type alias." number -1700 from «class fvtg» of window 1 to alias"
-----===== Bill =====----- --
Confucius say: make sure words touch wisdom tooth on way out of mouth.
|
_______________________________________________
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