• 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: Can I get return values in xCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I get return values in xCode?


  • Subject: Re: Can I get return values in xCode?
  • From: Philip Aker <email@hidden>
  • Date: Wed, 28 Nov 2007 05:05:01 -0800

On 2007-11-27, at 08:06, John Pollard wrote:

I'm new to Applescripts. I have managed to compile and execute an Applescript from within xCode. I want to use Applescript to get some information and return it for me to use within xCode. The only thing I seem to get returned is an error code indicating that the code processed successfully.


We'd probably need some more detail to arrive at success for your script. Normally, when running a script which targets Xcode (say from the menu bar "Scripts" menu), you have to use a

tell application "Xcode" to set the text of text document 1 to "#import <CoreFoundation/CoreFoundation.h>"

kind of statement.

If you want to run a script more or less in the Xcode context, then create an "AppleScript Xcode Plugin" where you can use the AppleScript Studio AppleScript dialect for additional power.


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@



_______________________________________________
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
References: 
 >Can I get return values in xCode? (From: John Pollard <email@hidden>)

  • Prev by Date: Re: Repeat until ...the user chooses to stop?
  • Next by Date: Re: Imagemagick
  • Previous by thread: Can I get return values in xCode?
  • Next by thread: new mail message viewer
  • Index(es):
    • Date
    • Thread