AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

English - German Translation of Clipboard Content (word)

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
thinkstorm



Joined: 17 Aug 2004
Posts: 18

PostPosted: Tue Aug 17, 2004 7:31 pm    Post subject: English - German Translation of Clipboard Content (word) Reply with quote

Straight forward, translates a word via LEO English-German dictionary.

Code:

#^t::
   leoStart = C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://dict.leo.org/?search=
   leoEnd = &searchLoc=0&relink=on&spellToler=std&sectHdr=on&tableBorder=1&cmpType=relaxed&lang=de
   AutoTrim, On   
   searchTerm = %clipboard%
   StringReplace, searchTerm, searchTerm, `r`n, +, all
   StringReplace, searchTerm, searchTerm, %A_SPACE%, +, all
   searchTerm = %leoStart%%searchTerm%%leoEnd%
   Run, %searchTerm%
return
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group