• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 8 Mar 2010 09:40:56 -0700

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.

-- Michelle

-- 
"Condoms encourage promiscuity
- in the same way that seat belts encourage automobile accidents."
O.C. Brown

 _______________________________________________
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

  • Follow-Ups:
    • Re: entire contents bug
      • From: Luther Fuller <email@hidden>
References: 
 >entire contents bug (From: Luther Fuller <email@hidden>)

  • Prev by Date: entire contents bug
  • Next by Date: Re: entire contents bug
  • Previous by thread: entire contents bug
  • Next by thread: Re: entire contents bug
  • Index(es):
    • Date
    • Thread