Hi all
AHK Noob here. Was wondering how you'd make a script which, when text is selected, searches for a definition of the text in google, takes the response provided in the box google shows, and returns it to a message box.
What I currently have is:
+^c::
send ^c
sleep 100
run, http://www.google.com/search?q=define:%clipboard%
Return
but i'm not sure how to eloquently have autohotkey select the definition and save it. Also I'd prefer it to do this in a hidden window and not open up a browser window, search, then close it after.
Thanks
Simple Google Search Msgbox Script
-
- Posts: 2
- Joined: 21 Apr 2017, 12:55
Re: Simple Google Search Msgbox Script
Adding the Hide command to the run statement should cause your browser to launch in a hidden window; I honestly have no idea how you'd get the text from it at that point, though.
- AlleyArtwork
- Posts: 44
- Joined: 09 Jun 2015, 21:08
Who is online
Users browsing this forum: Google Adsense [Bot], yuu453 and 296 guests