• 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-users Digest, Vol 5, Issue 544
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode-users Digest, Vol 5, Issue 544


  • Subject: Re: Xcode-users Digest, Vol 5, Issue 544
  • From: "Clark Cox" <email@hidden>
  • Date: Mon, 18 Aug 2008 14:32:00 -0700

On Sat, Aug 16, 2008 at 8:48 AM, Alejandro Aragon
<email@hidden> wrote:
You mentioned something about using it as a
> textmacro, so I was wondering how you did this. Maybe this is something you
> set during compilation of astyle?

Xcode can run shell-scripts on your behalf. If you go to the script
menu (i.e. the one just before Help in the menu bar) and choose "Edit
User Scripts…", you can add your own scripts to that menu.

For instance, check out
<http://www.flickr.com/photos/clarkcox/2775289091>. Set the Input to
"Entire Document", and the Output to "Replace Document", and the
current document will have it's contents piped to the script's stdin,
and the script's stdout will be used to replace the current document.

You can then assign any key combination that you'd like to this script.

--
Clark S. Cox III
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

References: 
 >Re: Xcode-users Digest, Vol 5, Issue 544 (From: Alejandro Aragon <email@hidden>)

  • Prev by Date: RE: User Scripts problem
  • Next by Date: Re: User Scripts problem
  • Previous by thread: Re: Xcode-users Digest, Vol 5, Issue 544
  • Next by thread: sdk problems in xcode 3.1
  • Index(es):
    • Date
    • Thread