--- Thomas wrote:

> I hope anybody can help me. I look for a solution to delete leading
> and final blank line from my clipboard.

; --- script starts here

Local Clipboard = Clip.Get

For(Select(Clipboard, 1) == "\r" || Select(Clipboard, 1) == "\n")
    Clipboard = Remove(Clipboard, 1)
EndFor

For(Select(Clipboard, -1) == "\r" || Select(Clipboard, -1) == "\n")
    Clipboard = Remove(Clipboard, -1)
EndFor

Clip.Set(Clipboard)

; --- script ends here

The above code will remove any leading and trailing blank lines from
the clipboard. You will need the latest PowerPro beta for this script
to work:

http://www.windowspowerpro.com/download/ppro3815.zip

You will also need to tick the Standard Configuration option under
Configure > Advanced Setup.

Cheers,
Alex

ICQ# 37414292



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to