Instead of this:
   s=replacechars(clip.get,"\n\r","+")
try
   s=replacechars(clip.get,esc(?"\r\n",?"\"),"+")


Paul


> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of f.doerr
> Sent: Friday, April 21, 2006 4:40 AM
> To: [email protected]
> Subject: [power-pro] Re: send selected text to an website (dict.leo)


> Hi,

> thanks for your help!
> I took parts of both suggestions and it works now.

> To enable the search of 2 strings (e.g. ,thank you,) I replaced
> ++clip.get
> with
> ++replacechars(clip.get,, ,, ,+,)

> This opens the following site: http://dict.leo.org/?search=thank+you

> I also tried to replace the ,new lines, with a ,+, but it doesn't work
> so far.
> This is what i tried:
> s=replacechars(clip.get,,\n\r,,,+,)

> Any ideas how to replace the ,new lines,?

> Thanks
> F.D.




Attention: PowerPro's Web site has moved: http://www.ppro.org



YAHOO! GROUPS LINKS




Reply via email to