StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Script to paste without formatting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tpr

6 Posts

Posted - 06/06/2014 :  06:16:15  Show Profile  Visit tpr's Homepage  Reply with Quote
Has someone a script at hand to paste text without formatting? E.g. to copy paragraph from MS Word and paste without extra formatting data?

Rob

USA
2516 Posts

Posted - 06/06/2014 :  10:49:12  Show Profile  Visit Rob's Homepage  Reply with Quote
That's actually quite a handy idea, can't believe I hadn't thought of it!

I made a second Paste action with a modifier and added this script:
acSetClipboardText(acGetClipboardText())
acSendKeys("^v")
Of course, keep in mind that this will replace the formatted clipboard entry with a text only version.
Go to Top of Page

tpr

6 Posts

Posted - 06/06/2014 :  11:03:32  Show Profile  Visit tpr's Homepage  Reply with Quote
Haha, I tried exactly the same thing at first. It turned out that Adobe Fireworks was the culprit as it puts EMF image metadata to the clipboard when copying text. But in MS Word it just works fine.

Thanks for the help!
Go to Top of Page

babakm

58 Posts

Posted - 06/06/2014 :  14:32:52  Show Profile  Reply with Quote
You can use a 3rd application like CopyQ. http://hluk.github.io/CopyQ
It has a keyboard shortcut for "Paste as plain text".
Then assign this in S+.

Edited by - babakm on 06/06/2014 14:33:34
Go to Top of Page

tpr

6 Posts

Posted - 06/06/2014 :  14:38:48  Show Profile  Visit tpr's Homepage  Reply with Quote
Thanks, but I don't want to use another application just for this.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000