• 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: Rogue list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rogue list?


  • Subject: Re: Rogue list?
  • From: Deivy Petrescu <email@hidden>
  • Date: Sat, 5 May 2001 21:25:35 -0400

At 8:23 AM +1000 5/6/01, Shane Stanley wrote:
I'm running AS1.6 under 9.1. When I run the following:

tell application "Finder"
set myPath to path to me
set myFolder to container of myPath
set theClients to name of folders of myFolder
end tell
log class of theClients
--if theClients = {} then set theClients to {}
set end of theClients to "New"
theClients

I get an error that I "Can't set end of {} to "New"." But when I uncomment
the line before, it works. Any explanations?

--
Shane Stanley, email@hidden

Me too. I get the same error. However the following works

tell application "Finder"
set myPath to path to me
set myFolder to container of myPath
set theClients to name of folders of myFolder as alias list -- alias list is added
log class of theClients
set end of theClients to "New"
theClients
end tell

I believe Paul is right it is a bug spilled over.

Regards

Deivy Petrescu
http://www.dicas.com
Tips for your Mac.
Dicas para o seu Mac.
mailto:email@hidden
mailto:email@hidden


References: 
 >Rogue list? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Rogue list?
  • Next by Date: Re: help
  • Previous by thread: Re: Rogue list?
  • Next by thread: Scripting Suitcase
  • Index(es):
    • Date
    • Thread