• 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: Rob Jorgensen <email@hidden>
  • Date: Sat, 5 May 2001 19:38:29 -0400

On 5/6/01, Shane Stanley commented:

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?

Just an uneducated guess, but what happens if you change

log class of theClients -- to

log class of theClients as list

It appears that the commented line, when uncommented, would do somewhat the same thing. <shrug>

--
Later,

Rob Jorgensen
Ohio, USA


  • Follow-Ups:
    • Re: Rogue list?
      • From: Paul Berkowitz <email@hidden>
References: 
 >Rogue list? (From: Shane Stanley <email@hidden>)

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