• 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: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?


  • Subject: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • From: Emmanuel LEVY <email@hidden>
  • Date: Wed, 21 Jul 2010 00:46:26 +0200


On Jul 20, 2010, at 11:36 PM, Mark J. Reed wrote:

On Tue, Jul 20, 2010 at 5:02 PM, Emmanuel LEVY <email@hidden> wrote:
On Jul 20, 2010, at 7:43 PM, Mark J. Reed wrote:

I'm confused by the use of AppleScript at all here.

Obvious.

Sorry, what's obvious? It's obvious that it's confusing? Or I'm just obviously confused? My replacement script was obvious? :)

Sorry. I mean, when your code includes many "do shell script" lines you may [ obviously ] wonder am I using the right tool.


[...]Also, if the timing test was of the form

repeat N times
   do shell script "rm ..."
end repeat

vs

repeat N times
   fileremove ...
end repeat

then I'd be interested in the results when you let the shell do the
looping as well, e.g.

do shell script "for (( i=0; i<" & N & "; ++i )); do rm ...; done"

I expect Files.osax will still win, but perhaps by a smaller margin.

I would expect Files.osax to not win, because the poor caller script has to make one fully-fledged AppleEvent for each call.


Fairest would be to compare with fileremove <list of URLs here>, this would make only one AE and URLs are fileremove's preferred food. Then probably Files.osax wins.

Emmanuel

That said, I think that AD 2008 *is* actually what we call usually 2008.
_______________________________________________
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: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Has anyone created a script for AD 2008 home and shares in OS X.5/6? (From: email@hidden)
 >Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6? (From: Emmanuel LEVY <email@hidden>)
 >Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6? (From: "Mark J. Reed" <email@hidden>)
 >Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6? (From: Emmanuel LEVY <email@hidden>)
 >Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • Next by Date: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • Previous by thread: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • Next by thread: Re: Has anyone created a script for AD 2008 home and shares in OS X.5/6?
  • Index(es):
    • Date
    • Thread