> Yes, I mean exactly that: single paste ... plain text. First aproach sounds 
> good. Also it would be perfect if there would be space between clips. 
> 
> Unfortunately, I'm not good with scripting, so if someone can help, then 
> please? If this script is so complicated (takes too much time to make it) 
> then forget it.
> 
> Thank you!
>

Just very simple, but should work for plain-text.

Put the following lines into a file i.e. "addtext2cb.powerpro" and store this 
file in the powerpro-scriptfolder.
Create a hotkey you like and put .addtext2cb in the enter-commandline (you 
could also use *Script runfile ..\scripts\addtext2cb.powerpro)

Remark: 
First copy should be the normal CTRL+C to initialize clipboard
The use your hotkey to add text to clipboard
Finaly use CTRL+V to paste the clipboard content

Best regards

//-----------------------------------------
// get selected text and add to clipboard
//-----------------------------------------

// Step 1: get current clipboard contents
local l_clip_contents = clip.get     
wait.for(050)
// Step 2:  copy selected text into clipboard
clip.copy                                   
local l_selected_text = clip.get
wait.for(050)
// Step 3: put joined content into clipboard
clip.set(l_clip_contents++" "++l_selected_text,0) 



Reply via email to