• 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 broken in OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as alias list broken in OSX?


  • Subject: Re: as alias list broken in OSX?
  • From: Rob Jorgensen <email@hidden>
  • Date: Sat, 6 Apr 2002 14:40:52 -0500

On 4/6/02, Cornwall commented:

Maybe my rememberer isn't remembering well, but I thought the following worked under 9.1.

tell application "Finder"
set alsLst to selection as alias list
end tell

That returns a list of Finder file specifications under OSX, not an alias list. It requires a repeat loop to get a list of aliases.

However, the following construction works as expected.

set cFold to choose folder
tell application "Finder"
set alsLst to every item of cFold as alias list
end tell

What's this do for you?

set alsLst to every item of selection as alias list

--
Best regards,

Rob Jorgensen
Ohio, USA
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: as alias list broken in OSX?
      • From: Cornwall <email@hidden>
References: 
 >as alias list broken in OSX? (From: Cornwall <email@hidden>)

  • Prev by Date: as alias list broken in OSX?
  • Next by Date: Re: as alias list broken in OSX?
  • Previous by thread: as alias list broken in OSX?
  • Next by thread: Re: as alias list broken in OSX?
  • Index(es):
    • Date
    • Thread