• 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
Quit app and retarget
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quit app and retarget


  • Subject: Quit app and retarget
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 16 Apr 2010 10:35:24 +0100

The following script fails with Xcode got an error if Xcode is already running: Connection is invalid.
Presumably this is because I quit xcode and then retarget.

Is there a way to structure the AS syntax to make this work?

Workarounds would presumably include GUI scripting using System Events.

tell application "Xcode" to quit

--
-- bump the project version
--
set bumpScript to "cd " & myPath & " ; agvtool bump -all"
do shell script bumpScript

tell application "Xcode"

	--
	-- load our project, target and then build
	-
-
end tell


Regards

Jonathan Mitchell

Developer
http://www.mugginsoft.com






 _______________________________________________
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

  • Prev by Date: Re: Another Bug in AppleScript Editor?
  • Next by Date: Fwd: Quit app and retarget
  • Previous by thread: Spotlight indexing
  • Next by thread: Fwd: Quit app and retarget
  • Index(es):
    • Date
    • Thread