• 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
Waiting for a program to launch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Waiting for a program to launch


  • Subject: Waiting for a program to launch
  • From: Randall Meadows <email@hidden>
  • Date: Thu, 19 Feb 2004 11:22:06 -0500

My Cocoa program has to launch another program (if it's not already running). In this particular case, this "other" program is a Classic application. Launching it is no problem: I execute a simple AppleScript telling the Finder to launch the application with a specific signature. The Classic Startup process launches, and finally the target application is launched in the Classic environment, as expected.

The problem is, I need to somehow block my Cocoa program (I've spawned off a thread to do this in, actually) until that Classic program is fully launched and ready to receive Apple Events. What's the best way to do that?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Waiting for a program to launch
      • From: Ondra Cada <email@hidden>
    • Re: Waiting for a program to launch
      • From: Eric Forget <email@hidden>
  • Prev by Date: Mail bundle in Java
  • Next by Date: Re: comboBox menu choice validation
  • Previous by thread: Mail bundle in Java
  • Next by thread: Re: Waiting for a program to launch
  • Index(es):
    • Date
    • Thread