• 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: Programmatically relaunching app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically relaunching app


  • Subject: Re: Programmatically relaunching app
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 23 Mar 2004 15:37:14 +0100

Joe,

On Tuesday, Mar 23, 2004, at 14:47 Europe/Prague, Joe Lester wrote:

osascript -e 'tell application "YourAppName" to activate' # Relaunch with apple event

never tried myself, but why not to use the plain 'open' command?

Agreeably it would make you to generate the script on the fly with the proper application path, but that is desirable anyway, for there always might be another application with the same name in a different folder.
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Programmatically relaunching app
      • From: Greg Robbins <email@hidden>
    • Re: Programmatically relaunching app
      • From: Joe Lester <email@hidden>
References: 
 >Re: Programmatically relaunching app (From: Joe Lester <email@hidden>)

  • Prev by Date: Repost : Nested Modal Window in Cocoa framework.Is it a bug in Cocoa framework?Anyone from Apple listening?
  • Next by Date: Binding an NSTextField to an NSString *
  • Previous by thread: Re: Programmatically relaunching app
  • Next by thread: Re: Programmatically relaunching app
  • Index(es):
    • Date
    • Thread