• 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: Xcode 4 editor scripting - help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4 editor scripting - help!


  • Subject: Re: Xcode 4 editor scripting - help!
  • From: Gerd Knops <email@hidden>
  • Date: Tue, 28 Feb 2012 21:43:29 -0600

On Feb 28, 2012, at 2:27 PM, Brad Oliver wrote:

> On Feb 28, 2012, at 9:00 AM, Matt Neuburg wrote:
>
>>> my scripts need the contents of the current selection in the front window
>>
>> Script Edit > Copy and examine the clipboard.
>>
>> Or you might be able to say something like
>>
>> get value of attribute "AXSelectedText" of text area 1 of group 1 of splitter group 1 of group 2 of splitter group 1 of group 1 of window "Whatever.m"
>>
>> Clunky, eh? But basically you need to keep repeating to yourself "Xcode is not scriptable any more". So everything you do will be a clunky workaround like that.
>
> Good god, that's unbelievable. And for the record, I can't even get these 2 suggestions to work.
>
Gave up on Xcode as an editor years ago, too many incompatible changes from version to version. I use it strictly as a project manager and occasionally as a debugger. All editing is done in TextMate (and now TextMate2). Couldn't be happier!

Gerd





 _______________________________________________
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


  • Follow-Ups:
    • Re: Xcode 4 editor scripting - help!
      • From: Jeff Evans <email@hidden>
References: 
 >Re: Xcode 4 editor scripting - help! (From: Matt Neuburg <email@hidden>)
 >Re: Xcode 4 editor scripting - help! (From: Brad Oliver <email@hidden>)

  • Prev by Date: Re: Xcode - An Apple Embarrassment
  • Next by Date: Re: Xcode - An Apple Embarrassment
  • Previous by thread: Re: Xcode 4 editor scripting - help!
  • Next by thread: Re: Xcode 4 editor scripting - help!
  • Index(es):
    • Date
    • Thread