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.
--- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote:
>
> I hope Paul won't mind if I change his solution:
>
> Instead of his last line:
>
> do(?"c:\program files\firefox15\firefox.exe",
> ?"http://dict.leo.org/?search="++clip.get
<http://dict.leo.org/?search=> )
>
> This works when I tested it:
>
> do(?"c:\program files\firefox15\firefox.exe",
> ?"http://dict.leo.org/?search="++clip.get)
>
> Note:
> That must be only one line in the "Enter more commands..." box.
> Yahoo adds a Return character [CR/LF] when it breaks a long line
> in our messages.
> That is called hard word wrap instead of soft word wrap.
>
> You only want a space character after the comma,
> so you have to delete the CR/LF which Yahoo adds.
> To be sure, you can paste it into Notepad, then make it only
> one line. Then copy it and paste it into the PP dialog.
>
> When you paste that long line into "Enter more commands"
> it will look like two lines, but really it is only one line
> which is soft wrapped by PowerPro - so there is no Return
> character after the comma.
>
> --
> Best regards,
> Alan mailto:[EMAIL PROTECTED]
>
Attention: PowerPro's Web site has moved: http://www.ppro.org
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
