AutoHotkey Community

It is currently May 27th, 2012, 12:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: August 17th, 2004, 7:31 pm 
Offline

Joined: August 17th, 2004, 7:05 pm
Posts: 38
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Cristi®, Google Feedfetcher, Stigg and 44 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group