• 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: entire contents bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: entire contents bug


  • Subject: Re: entire contents bug
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 08 Mar 2010 11:09:40 -0600

On Mar 8, 2010, at 10:40 AM, Michelle Steiner wrote:

On Mar 8, 2010, at 9:28 AM, Luther Fuller wrote:

set folderAlias to alias "OS_X:Library (Disabled):untitled folder" -- contains one item
tell application "Finder"
try
set itemList to (items of entire contents of folderAlias) as alias list
on error errText number errNr
"Error = " & errNr
display dialog the result default answer errText
end try
end tell

and got the error: -1700 Can’t make alias "OS_X:Library (Disabled):untitled folder:World Clock.wdgt:" into type alias list.

Remove "items of" from the script.

That may not always be possible. For example ...

set folderAlias to alias "OS_X:Library (Disabled):untitled folder" -- contains one folder and one file
tell application "Finder"
try
set itemList to (folders of entire contents of folderAlias) as alias list
on error errText number errNr
"Error = " & errNr
display dialog the result default answer errText
end try
end tell

This bug needs to be fixed.

 _______________________________________________
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: 
 >entire contents bug (From: Luther Fuller <email@hidden>)
 >Re: entire contents bug (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: entire contents bug
  • Next by Date: When messaging another application...
  • Previous by thread: Re: entire contents bug
  • Next by thread: When messaging another application...
  • Index(es):
    • Date
    • Thread