• 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: Settings backup script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Settings backup script


  • Subject: Re: Settings backup script
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 04 Aug 2001 08:39:08 +1000

On 4/8/01 2:01 AM +1000, Arthur J Knapp, email@hidden, wrote:

>> (a) "count of characters of" doesn't actually build a list, given how long
>> just building a list takes;
>
> I would have to assume that this is because "characters" is being treated
> as a parameter to the "count" command, rather than as a reference form of
> the string

That was my guess, too.
>
> Typically, I prefer "length of" simply because it "feels" more efficent
> to use something AppleScript calls a property rather than a command, (this
> is NOT to say that it actually is more efficent, as we can't know what's
> going on behind the scenes).

Where this can pay of is in the "real world" of applications -- using the
property lets you use filtered references.
>
> Of course, it's always a little dangerous to make assumtions about
> these things.

Ain't that the truth...

--
Shane Stanley, email@hidden


References: 
 >Re: Settings backup script (From: Arthur J Knapp <email@hidden>)

  • Prev by Date: Re: Setting Print Prefernces in Quark
  • Next by Date: Re: How work around TCP/IP looongstanding bug (or Location Manager?)
  • Previous by thread: Re: Settings backup script
  • Next by thread: How to script dragging a PostScript file onto a desktop printer
  • Index(es):
    • Date
    • Thread