• 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: Simple newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple newbie question


  • Subject: Re: Simple newbie question
  • From: ba95 <email@hidden>
  • Date: Mon, 12 May 2008 22:41:52 +0200


Le 12 mai 08 à 21:01, email@hidden a écrit :


You may try:

tell application "Finder"
	try
		if  "App1" is not in (get every process ) then open application
"App1"
		open application "App2"
	end try
	try
		if  "App1" is  in (get every process ) then quit application "App1"
		quit application "App2"
	end try
end tell


Yvan KOENIG (from FRANCE lundi 12 mai 2008 20:16:32)

Seems to be the good idea. Thanks a lot Yvan

BA


_______________________________________________ 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: Simple newbie question
      • From: ba95 <email@hidden>
  • Prev by Date: Extra Keys for shell tool defaults
  • Next by Date: is iPhoto scriptable?
  • Previous by thread: Re: Simple newbie question
  • Next by thread: Re: Simple newbie question
  • Index(es):
    • Date
    • Thread