• 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: Detecting when application launch has completed (OS X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting when application launch has completed (OS X)


  • Subject: Re: Detecting when application launch has completed (OS X)
  • From: Kai <email@hidden>
  • Date: Mon, 20 Jan 2003 21:33:46 +0000

on Mon, 20 Jan 2003 16:36:40 +0000, Mr Tea <email@hidden> wrote:

> This from Kai - dated 20-01-03 09.30 am:
>
>> Have you tried looping until each app is registered as a process by the
>> Finder/System Events, Nick?
>
> I have, Kai.

Didn't _really_ think you'd have missed it. Oh well...

> Reason I asked in the first place is that on my humble single-processor G4...

Humble? HUMBLE? If that's humble then it's time I converted some of my
machines into plant pots (or something). ;-)

> it often seems that launching three apps at the same time takes longer than
> launching them one by one.

Curious...

> Thanks for the input.

No problem, Nick. Sorry for stating the obvious!

One more possibility - albeit moving into kludge territory. What about
trying a dummy command to prompt a 'silent' (but hopefully post-launch)
response from each app? Something like, say:

=============================

repeat with theApp in appList
launch application theApp
tell application theApp
try
selection -- (for example)
end try
end tell
end repeat

=============================

With the few apps I've tried it on so far, it seems to be generally faster
overall than the previous suggestion - although the 'separation' between
certain apps seems better defined. However, I obviously have no idea if it
(or a suitable variation) will work with your apps/system.

Just an of-the-wall thought - and now I promise to leave you in peace! ;-)

--
Kai
_______________________________________________
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: Changing Registration colored text to black in Quark
  • Next by Date: Re: Changing Registration colored text to black in Quark
  • Previous by thread: Re: Detecting when application launch has completed (OS X)
  • Next by thread: Re: Mail.app Script
  • Index(es):
    • Date
    • Thread