• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: As Alias List?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >As Alias List? (From: Christopher Stone <email@hidden>)

  • Prev by Date: As Alias List?
  • Next by Date: Re: As Alias List?
  • Previous by thread: As Alias List?
  • Next by thread: Re: As Alias List?
  • Index(es):
    • Date
    • Thread