![]() ![]() However, my first attempt at creating a Keyboard Maestro macro to launch Plain Clip, I also appended a command to the macro to send a Command-V to paste the stripped clipboard, but like the Applescript suggested by SimonDorfman above, it wouldn't paste after stripping. So, I tried Keyboard Maestro-that worked. I tried to get Spark to launch Plain Clip, but Spark didn't work for me, in a variety of ways-not launching, hanging, etc., and when it didn't hang, it didn't respond to my keyboard command to launch Plain Clip (I tried Option-Command-V, trying to paste into TextEdit and Microsoft Word 2004, version 11.5.0). I decided to use Plain Clip instead, since it's faceless-no launching app to get in the way. Tell application "System Events" to keystroke "v" using Instead, the Applescript launches, strips the clipboard formatting, then quits without pasting, but you can then enter Command-V to paste the stripped clipboard into the app of your choice. Possibly the author wrote it without testing it, since it SEEMS like sending a simple Command-V from this Applescript should accomplish a paste. That Applescript does properly strip formatting from the clipboard contents, but it doesn't successfully paste what it's stripped. Text selection within the bar became dreadfully slow, but when I cut it and then pasted it into TextEdit, all of the text came through properly, with all of the formatting stripped. This still seems to work reliably even with huge amounts of text: I tried to paste pi to the millionth digit into the Google search bar as a test. Then end result is text with no formatting. This can be done very quickly from the keyboard by holding Command and typing V-A-X, so this doesn't take a significant amount of time once you get used to it. After copying your text in Safari, simply change focus to the Google search bar (Command-Option-F) or URL bar (Command-L), then execute Paste, Select All, and finally Cut. Microsoft Word offers an ambiguously named Paste Special that removes the formatting from text, but not all programs have that (although it would make a very nice addition to the Services menu.)įortunately I have found a quick solution to this problem, which I have been using for over a year. Also, let's say you are trying to type a paper with some word processor and you want to quote some webpage, but you need the text to match the font and styling of your paper. When I try to paste the link, instead of pasting the URL, it pastes the anchor tag. For example, say I wanted to copy a link to send to my friend via IM. Unfortunately, this is not always convenient. When in Safari, Mac OS X is smart enough to copy the formatting of text when you copy it from a webpage. ![]()
0 Comments
Leave a Reply. |