• 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: Script speed [Was list number]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script speed [Was list number]


  • Subject: Re: Script speed [Was list number]
  • From: julifos <email@hidden>
  • Date: Wed, 26 Feb 2003 09:41:30 +0100

> Like I said, I thought this would be faster but it just chugs along slow as
> molasses. Any tips, hints, tricks, advice, clues, admonishments, etc. etc.
> will be happily accepted.

I can't see in your code many points where you can be faster. The only lack
for speed is the Finder. If you're working under MacOS X, I'd say your
better option is substitute all "tell blocks" related to the Finder by "do
shell script" equivalents.
If not, my first step when calling the Finder would be:

tell application "Finder"
set visible of first process whose name is "Finder" to false
end tell
--> if you hide the Finder, he will be busy doing your job, instead
--> of doing-your-job + doing-his-job (update)

Then, maintain your applet/script runner as the frontmost app.

JJ
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: ACGI with Mac OS X Server 10.1.5
  • Next by Date: Re: Passing variable to MS Word Macro
  • Previous by thread: Script speed [Was list number]
  • Next by thread: Passing variable to MS Word Macro
  • Index(es):
    • Date
    • Thread