• 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: Invisible Unix "Icon" File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible Unix "Icon" File


  • Subject: Re: Invisible Unix "Icon" File
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 16 Nov 2010 15:01:34 -0600

On Nov 16, 2010, at 07:58, Luther Fuller wrote:
The code that creates msgList is at the beginning of a very large 'tell application "Finder"' block. It was written to require aliases, hence my need to get an alias list. And it seems to be working as designed.
______________________________________________________________________

Hey Luther,

At times I've been stuck with Finder references and wanted an alias list.  This is a quick way to convert:

set fldr to path to documents folder
tell application "Finder"
try
set AppleScript's text item delimiters to return
set itemList to text items of (items of fldr as string)
repeat with i from 1 to length of itemList
set item i of itemList to (item i of itemList as alias)
end repeat
on error errMsg number errNum
beep
display dialog "Error: " & errMsg & return & "Error Number: " & errNum
end try
end tell
itemList

--
Chris

 _______________________________________________
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: 
 >Invisible Unix "Icon" File (From: Luther Fuller <email@hidden>)
 >Re: Invisible Unix "Icon" File (From: Michael Wood <email@hidden>)
 >Re: Invisible Unix "Icon" File (From: Luther Fuller <email@hidden>)
 >Re: Invisible Unix "Icon" File (From: Axel Luttgens <email@hidden>)
 >Re: Invisible Unix "Icon" File (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Questions on approach
  • Next by Date: Re: Changing voice in VoiceOver
  • Previous by thread: Re: Invisible Unix "Icon" File
  • Next by thread: Re: Invisible Unix "Icon" File
  • Index(es):
    • Date
    • Thread