Re: Xcode 4 editor scripting - help!
Re: Xcode 4 editor scripting - help!
- Subject: Re: Xcode 4 editor scripting - help!
- From: Jerry Krinock <email@hidden>
- Date: Sun, 04 Mar 2012 13:43:14 -0800
Brad, thanks for the Perl Script. I'll find it useful as I am slowly dragged and dropped into Xcode 4.
On 2012 Feb 29, at 13:50, Brad Oliver wrote:
> Not sure what I'm going to do about scripts that need to act on things other than the active selection.
Yes, I've filed a bug on that. Here's a summary of what we're missing in Xcode 4:
• Environment variables:
%%%{PBXSelectionStart}%%%
%%%{PBXSelectionEnd}%%%
%%%{PBXFilePath}%%%
%%%{PBXAllText}%%%
%%%{PBXTextLength}%%%
• Options for Script Input
Selection
Entire Document
• Options for Script Output:
Replace Selection
Replace Document Contents
Display in Alert
Insert after Selection
Insert after Document Contents
Place on Clipboard
Open in New Document
Open as HTML
• Options for Error Output:
Display in Alert
Place on Clipboard
Merge with script output
• The built-in script editor and organizer
For nostalgics, or newbies who wonder what all the whining is about, here is a 4900-word article covering Xcode's User Scripts. It appeared in MacTech Magazine in 2007:
http://www.mactech.com/articles/mactech/Vol.23/23.01/2301XCode/index.html
I still can't believe Apple flushed all that down the toilet. One of these days, maybe I'll find the engineer who developed it, pushing a shopping cart around downtown San José, and I'll be able to get the inside story.
Jerry Krinock
_______________________________________________
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