Search in documentation via URL + keyword? Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Leli196
Posts: 216
Joined: 29 Aug 2015, 05:47
Location: Germany

Search in documentation via URL + keyword?

14 Jun 2021, 03:45

Hi there,

is it somehow possible to make a search in the AHK documentation with a keyword and the URL of the documentation?
E. g. for Wikipedia it is possible with this URL: https://en.wikipedia.org/wiki/Special:Search?search= + keyword(s)

I have not found a solution for the AHK documentation though.

Any suggestions are highly appreciated.
garry
Posts: 3764
Joined: 22 Dec 2013, 12:50

Re: Search in documentation via URL + keyword?

14 Jun 2021, 04:18

example , search for word 'cmdret' in autohotkey :

https://www.autohotkey.com/search/?q=cmdret
https://www.google.com/search?q=cmdret+site%3Aautohotkey.com

another search :
https://cse.google.com/cse?cx=003825578684429028588:oved6rfvrlq
https://programmablesearchengine.google.com/cse/create/new

Autohotkey documentation :

Code: Select all

run,https://www.autohotkey.com/docs/commands/FileRead.htm#Examples
;- or
run,C:\Program Files\AutoHotkey\AutoHotkey.chm

Code: Select all

;- search for fileread in 'AutoHotkey Help' :
run,C:\Program Files\AutoHotkey\AutoHotkey.chm
sleep,1900
IfWinExist,AutoHotkey Help
 {
 send,!n
 sleep,1900
 clipboard=Fileread
 send,^v{enter}
 }
return
Last edited by garry on 14 Jun 2021, 07:26, edited 1 time in total.
Rohwedder
Posts: 7630
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Search in documentation via URL + keyword?  Topic is solved

14 Jun 2021, 05:32

Hallo,
Autohotkey documentation online:

Code: Select all

ClipBoard = FileRead
Url = https://www.autohotkey.com/docs/search.htm?q=%ClipBoard%&m=2
; m=1 :Index, m=2 :Search
Run,% Url
Leli196
Posts: 216
Joined: 29 Aug 2015, 05:47
Location: Germany

Re: Search in documentation via URL + keyword?

14 Jun 2021, 12:09

@Rohwedder @garry
Perfect! I want to use it as a UserDefinedCommand in Notepad++ and your suggestions work great.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 378 guests