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

Xcode 4 editor scripting - help!


  • Subject: Xcode 4 editor scripting - help!
  • From: Brad Oliver <email@hidden>
  • Date: Mon, 27 Feb 2012 13:14:44 -0700

Hi all,

I've spent the better part of an hour trying to figure out how to do a simple text scripting task in Xcode. Can someone paste a simple script that will do the following:

For the current forefront text document, replace the current selection with the string "test"?

I've got a bunch of macros I use that act upon the current text selection and perform various changes and substitutions. But so far I've yet to craft even a simple script that works with Xcode 4.

If I can get the simple bones of an AppleScript that does this, then that's probably all I need to figure out the rest.

--
Brad Oliver
email@hidden


 _______________________________________________
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: Tom Seddon <email@hidden>
    • Re: Xcode 4 editor scripting - help!
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Xcode 4.3 is all wedged...
  • Next by Date: Re: Xcode 4.3 is all wedged...
  • Previous by thread: Re: Xcode 4.3 is all wedged...
  • Next by thread: Re: Xcode 4 editor scripting - help!
  • Index(es):
    • Date
    • Thread