Re: XCode Scripts Menu item examples
Re: XCode Scripts Menu item examples
- Subject: Re: XCode Scripts Menu item examples
- From: Jerry Krinock <email@hidden>
- Date: Tue, 24 Nov 2009 06:22:26 -0800
On 2009 Nov 24, at 03:39, Motti Shneor wrote:
> Thanks. But if The application is the default or pre-set target for AppleScript commands, what is the effect of the Input settings for the scripts on the script menu? (None, Selection, Entire Document) ? How can my script access this input?
When I tried to invoke AppleScript directly from Xcode's scripts menu a year or so ago, I gave up and concluded that it would not work for some reason.
Instead, I use one-line shell script which invokes the AppleScript. If you want parameters, look at the Apple examples which get built-in variables such as %%%{PBXSelectionStart}%%%. You could probably pass these in a Perl script to your AppleScript.
By the way, I echo (and believe have previously reported as bugs) your thoughts on lack of documentation on Xcode scripting.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden