Here how I did it: (watch for word wrap below)

Create a Key shortcut from the Key/Mouse tab
In the "Enter command" line, I put *Keys
In the "Enter keys to send" line, I put {ctrl}c
In the "Enter more commands" box, I put
   wait.for(1000)
   do(?"c:\program files\firefox15\firefox.exe",
?"http://dict.leo.org/?search="++clip.get <http://dict.leo.org/?search=> )


The wait.for(1000) is in case your system needs a short delay for the Copy
command to process.  Your timing will vary, and it might not be necessary.

HTH,
Paul

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of f.doerr
Sent: Thursday, April 20, 2006 8:59 AM
To: [email protected]
Subject: [power-pro] send selected text to an website (dict.leo)


Hi,

i'm quite new to this pp scripting-stuff and so i got a (simple?)
question.
Maybe you can help me out.

I try create key-combo which sends the selected text to a
translation-website.

My approach is to get the text in the clipboard and then send it to
the website.

I get the text like this: *Keys ^c
And then I try to send it to my browser (Firefox) like this:
do("c:\program files\firefox15\firefox.exe
http://dict.leo.org/?search= <http://dict.leo.org/?search=> ",clip)

But how do i combine both commands?

Thanks
F.D.











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



  _____ 

YAHOO! GROUPS LINKS


     
*      Visit your group "power-pro
<http://groups.yahoo.com/group/power-pro> " on the web.
 

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

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


  _____ 




[Non-text portions of this message have been removed]



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



YAHOO! GROUPS LINKS




Reply via email to