It does require the Developer Tools, but it's a really simple change (just adding one menu item, and there's a walkthrough).
|
|
|
Mac Geekery posted a great hack on how to edit most any Cocoa program to support the ability to paste as plain text (no fonts, no attributes, just the text). The example used is hacking iChat so that when you copy/paste from a web page in Safari, the text is readable on the other end, but there are myriad uses for this in other Mac programs.
It does require the Developer Tools, but it's a really simple change (just adding one menu item, and there's a walkthrough).
•
[10,183 views]
Hint Options
Modify Cocoa apps to support paste as plain text
This is a fantastic hint. Being able to add that is really cool.
PlainClip, an app to paste as plain text
Plain Clip 1.0.5
Modify Cocoa apps to support paste as plain text
Why hack your apps?
sh script?
did that, also chmod'd a+x, but all it does is open the script in the editor...
it's worse...
script menu alert:
Modify Cocoa apps to support paste as plain text
you have to wrap this in applescript for this to work in your ~/Library/Scripts. do shell script "pbpaste | pbcopy"
Modify Cocoa apps to support paste as plain text
This does work. It does what the author says, it converts the contents of the clipboard to plain text. Then you have to follow with a second step to paste.
Modify Cocoa apps to support paste as plain text
The SIMBL plugin I created is not a hack. It doesn't actually modify any of your applications. Removing the plugin will restore your programs.Don't mean to toot my own horn, sorry, I just wanted to clarify :)Cheers,
Robin
Modify Cocoa apps to support paste as plain text
then give it a shortcut like command+control+v with menu master!
Modify Cocoa apps to support paste as plain text
Rather than a service, I would rather see a contextual menu item with a paste as plain text option..
Modify Cocoa apps to support paste as plain text
Inspired by this hint, I went and wrote a SIMBL plugin to do this in all (well, actually, most) Cocoa apps automatically. You can get it at http://www.pozytron.com/plaintextpaste.
I hope someone finds this useful!
Cheers,
Robin
Modify Cocoa apps to support paste as plain text
The plugin is not downloadable.
Modify Cocoa apps to support paste as plain text
Sorry! A stupid capitalization mistake—it's fixed now, along with the rest of the page.Cheers,
Robin
Modify Cocoa apps to support paste as plain text
I already use PithHelmet, which uses SIMBL. If I install yours, will it hose PithHelmet, or is your installer smart enough not to clobber the existing SIMBL installation?
Modify Cocoa apps to support paste as plain text
PithHelmet and other SIMBL plugins (including AcidSearch) should be unaffected.
Related hint
Modify Cocoa apps to support paste as plain text
You Control's clipboard history tool let's you choose the format you want to paste in. Not free, but probably a good substitute for the non-geek.
Modify Cocoa apps to support paste as plain text
don't suppose this would work with Filemaker 7? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.34 seconds |
|