Docs Labels

Discuss issues and requests related with the forum software
User avatar
Masonjar13
Posts: 1395
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Docs Labels

Post by Masonjar13 » 29 Jul 2016, 05:54

First, I'd like to mention that adding [docs] has been indefinitely useful to me, as I'm constantly linking back to documentation. However, there are several issues:
  • Directives do not work (presumably due to the difference in URL, where # is an underscore): #If #IfWinActive #Persistent. Stating it with an underscore takes you to a search: _IfWinActive. Persistent works, though.
  • Hotkey links to the Hotkeys page, not sure how to post the command version, if it's even available. And, apparently Hotkeys links to #MaxHotkeysPerInterval.. strange.
If I find any other issues with it, I'll post those as well.
User avatar
joedf
Posts: 6487
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: Docs Labels

Post by joedf » 01 Aug 2016, 14:34

This can be done by modifying the redirection script behind https://autohotkey.com/docs/*** links.
I didn't set up the one that's up right now... if no one gets to this, I'll see what I can do.
lexikos
Posts: 6175
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Docs Labels

Post by lexikos » 02 Aug 2016, 03:43

I set it up.

IIRC, the anchor part of the URL (#foo) is not sent to the server, so there's no way for it to work.

The redirects work via the help file index data. "Hotkey" in the help file index directs to the Hotkeys page, since it's generally what people are looking for. (The "s" was removed so that it sits at the top when sorted alphabetically. Although the offline help viewer works with items out of order, the online help index sorts them.) "Hotkey command" directs to the page you'd expect.

"Hotkeys" is not in the help file index at all, so the redirect script does a substring match and finds "#MaxHotkeysPerInterval".

The custom bbcode system does not allow spaces in the RELATIVE_URL placeholder (which is the least restrictive without sacrificing security). URL-encoding them (and any other problematic characters) should work.

Code: Select all

[docs]Hotkey%20command[/docs]
Hotkey%20command

It's probably better to have a hotkey or hotstring for generating a documentation link. You can parse the help file index data directly or load it into a ScriptControl object or ActiveScript.ahk. (You could just generate url tags, as in Hotkey command, but that would not solve the directive problem. Note that when I post this, the space within the URL tag is automatically replaced with %20.)
User avatar
Masonjar13
Posts: 1395
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: Docs Labels

Post by Masonjar13 » 02 Aug 2016, 07:59

That is unfortunate that directives won't work. I never considered using %20 for those, although I didn't know how it was set up, so I probably would never have come to attempt that.
lexikos wrote:"Hotkeys" is not in the help file index at all, so the redirect script does a substring match and finds "#MaxHotkeysPerInterval".
That makes much more sense. A fairly intuitive system.
lexikos wrote:It's probably better to have a hotkey or hotstring for generating a documentation link.
I think I'll do this, easy since I now have a file to work with now. Thanks for the info, lexikos.
User avatar
joedf
Posts: 6487
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: Docs Labels

Post by joedf » 02 Aug 2016, 10:21

Ahh okay, I see. :think:
lexikos
Posts: 6175
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Docs Labels

Post by lexikos » 02 Aug 2016, 19:16

# would be %23 (format("`%{:02x}", Asc("#"))). %20 is space.
p3trus
Posts: 137
Joined: 02 Aug 2016, 03:20

Re: Docs Labels

Post by p3trus » 03 Aug 2016, 12:03

uhm.. ok, then I totally misunderstood & misused the docs tag - see here.
But at least anchors are supported this way ;)
User avatar
Masonjar13
Posts: 1395
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: Docs Labels

Post by Masonjar13 » 03 Aug 2016, 16:36

Hey, if it works :P Meanwhile, I've made the following. I could have used less insert commands, but I didn't care to break them up.

Code: Select all

#singleInstance force
#persistent
#include <commandList>

gui,+hwndghwnd
menu,gMenu,add,View Commands,viewCommands
gui,menu,gMenu
gui,font,,arial
gui,add,text,,Enter command:
gui,add,edit,vcm xm w180

gui,cL:default
gui,cL:add,listview,r15 w400,Commands|Urls
for i,a in commandList
    lv_add(,a[1],"/" a[2])
lv_modifyCol(1,"auto")
gui,default
return

^Ins::gui,show

#if winActive("ahk_id " ghwnd)
enter::
gui,submit,nohide

for i,a in commandList{
    if(a[1]=cm){
        url:="[url=https://autohotkey.com/docs/" a[2] "]" cm "[/url]"
        break
    }
}

if(url){
    clipboard:=url
    tool("Doc Link for """ cm """ saved to clipboard.")
    gui,cancel
}else
    msgbox,,404,Command was not found.
return
#if

viewCommands:
gui,cL:show,,Command List/Urls
return

Code: Select all

; https://autohotkey.com/docs/static/source/data_index.js
commandList:=object()
commandList.push(["#AllowSameLineComments","commands/_AllowSameLineComments.htm"])
commandList.push(["#ClipboardTimeout","commands/_ClipboardTimeout.htm"])
commandList.push(["#CommentFlag","commands/_CommentFlag.htm"])
commandList.push(["#Delimiter","commands/_EscapeChar.htm#Delimiter"])
commandList.push(["#DerefChar","commands/_EscapeChar.htm#DerefChar"])
commandList.push(["#ErrorStdOut","commands/_ErrorStdOut.htm"])
commandList.push(["#EscapeChar","commands/_EscapeChar.htm"])
commandList.push(["#HotkeyInterval","commands/_HotkeyInterval.htm"])
commandList.push(["#HotkeyModifierTimeout","commands/_HotkeyModifierTimeout.htm"])
commandList.push(["#Hotstring","commands/_Hotstring.htm"])
commandList.push(["#If","commands/_If.htm"])
commandList.push(["#IfTimeout","commands/_IfTimeout.htm"])
commandList.push(["#IfWinActive","commands/_IfWinActive.htm"])
commandList.push(["#IfWinExist","commands/_IfWinActive.htm"])
commandList.push(["#IfWinNotActive","commands/_IfWinActive.htm"])
commandList.push(["#IfWinNotExist","commands/_IfWinActive.htm"])
commandList.push(["#Include","commands/_Include.htm"])
commandList.push(["#IncludeAgain","commands/_Include.htm"])
commandList.push(["#InputLevel","commands/_InputLevel.htm"])
commandList.push(["#InstallKeybdHook","commands/_InstallKeybdHook.htm"])
commandList.push(["#InstallMouseHook","commands/_InstallMouseHook.htm"])
commandList.push(["#KeyHistory","commands/_KeyHistory.htm"])
commandList.push(["#LTrim","Scripts.htm#LTrim"])
commandList.push(["#MaxHotkeysPerInterval","commands/_MaxHotkeysPerInterval.htm"])
commandList.push(["#MaxMem","commands/_MaxMem.htm"])
commandList.push(["#MaxThreads","commands/_MaxThreads.htm"])
commandList.push(["#MaxThreadsBuffer","commands/_MaxThreadsBuffer.htm"])
commandList.push(["#MaxThreadsPerHotkey","commands/_MaxThreadsPerHotkey.htm"])
commandList.push(["#MenuMaskKey","commands/_MenuMaskKey.htm"])
commandList.push(["#NoEnv","commands/_NoEnv.htm"])
commandList.push(["#NoTrayIcon","commands/_NoTrayIcon.htm"])
commandList.push(["#Persistent","commands/_Persistent.htm"])
commandList.push(["#SingleInstance","commands/_SingleInstance.htm"])
commandList.push(["#UseHook","commands/_UseHook.htm"])
commandList.push(["#Warn","commands/_Warn.htm"])
commandList.push(["#WinActivateForce","commands/_WinActivateForce.htm"])
commandList.push([":=","commands/SetExpression.htm"])
commandList.push(["A_AhkPath","Variables.htm#AhkPath"])
commandList.push(["A_AhkVersion","Variables.htm#AhkVersion"])
commandList.push(["A_AppData","Variables.htm#AppData"])
commandList.push(["A_AppDataCommon","Variables.htm#AppDataCommon"])
commandList.push(["A_AutoTrim","Variables.htm#AutoTrim"])
commandList.push(["A_BatchLines","Variables.htm#BatchLines"])
commandList.push(["A_CaretX","Variables.htm#Caret"])
commandList.push(["A_CaretY","Variables.htm#Caret"])
commandList.push(["A_ComputerName","Variables.htm#ComputerName"])
commandList.push(["A_ControlDelay","Variables.htm#ControlDelay"])
commandList.push(["A_CoordMode...","Variables.htm#CoordMode"])
commandList.push(["A_Cursor","Variables.htm#Cursor"])
commandList.push(["A_DD","Variables.htm#DD"])
commandList.push(["A_DDD","Variables.htm#DDDD"])
commandList.push(["A_DDDD","Variables.htm#DDDD"])
commandList.push(["A_DefaultGui","Variables.htm#DefaultGui"])
commandList.push(["A_DefaultListView","Variables.htm#DefaultListView"])
commandList.push(["A_DefaultMouseSpeed","Variables.htm#DefaultMouseSpeed"])
commandList.push(["A_DefaultTreeView","Variables.htm#DefaultTreeView"])
commandList.push(["A_Desktop","Variables.htm#Desktop"])
commandList.push(["A_DesktopCommon","Variables.htm#DesktopCommon"])
commandList.push(["A_DetectHiddenText","Variables.htm#DetectHiddenText"])
commandList.push(["A_DetectHiddenWindows","Variables.htm#DetectHiddenWindows"])
commandList.push(["A_EndChar","Variables.htm#EndChar"])
commandList.push(["A_EventInfo","Variables.htm#EventInfo"])
commandList.push(["A_ExitReason","Variables.htm#ExitReason"])
commandList.push(["A_FileEncoding","Variables.htm#FileEncoding"])
commandList.push(["A_FormatFloat","Variables.htm#FormatFloat"])
commandList.push(["A_FormatInteger","Variables.htm#FormatInteger"])
commandList.push(["A_Gui","Variables.htm#Gui"])
commandList.push(["A_GuiControl","Variables.htm#GuiControl"])
commandList.push(["A_GuiControlEvent","Variables.htm#GuiControlEvent"])
commandList.push(["A_GuiEvent","Variables.htm#GuiEvent"])
commandList.push(["A_GuiHeight","Variables.htm#GuiWidth"])
commandList.push(["A_GuiWidth","Variables.htm#GuiWidth"])
commandList.push(["A_GuiX","Variables.htm#GuiX"])
commandList.push(["A_GuiY","Variables.htm#GuiY"])
commandList.push(["A_Hour","Variables.htm#Hour"])
commandList.push(["A_IconFile","Variables.htm#IconFile"])
commandList.push(["A_IconHidden","Variables.htm#IconHidden"])
commandList.push(["A_IconNumber","Variables.htm#IconNumber"])
commandList.push(["A_IconTip","Variables.htm#IconTip"])
commandList.push(["A_Index","commands/Loop.htm"])
commandList.push(["A_IPAddress1 through 4","Variables.htm#IPAddress"])
commandList.push(["A_Is64bitOS","Variables.htm#Is64bitOS"])
commandList.push(["A_IsAdmin","Variables.htm#IsAdmin"])
commandList.push(["A_IsCompiled","Variables.htm#IsCompiled"])
commandList.push(["A_IsCritical","Variables.htm#IsCritical"])
commandList.push(["A_IsPaused","Variables.htm#IsPaused"])
commandList.push(["A_IsSuspended","Variables.htm#IsSuspended"])
commandList.push(["A_IsUnicode","Variables.htm#IsUnicode"])
commandList.push(["A_KeyDelay","Variables.htm#KeyDelay"])
commandList.push(["A_KeyDelayPlay","Variables.htm#KeyDelayPlay"])
commandList.push(["A_KeyDuration","Variables.htm#KeyDelay"])
commandList.push(["A_KeyDurationPlay","Variables.htm#KeyDelayPlay"])
commandList.push(["A_Language","Variables.htm#Language"])
commandList.push(["A_Language Values","misc/Languages.htm"])
commandList.push(["A_LastError","Variables.htm#LastError"])
commandList.push(["A_LineFile","Variables.htm#LineFile"])
commandList.push(["A_LineNumber","Variables.htm#LineNumber"])
commandList.push(["A_LoopField","commands/LoopParse.htm#LoopField"])
commandList.push(["A_LoopFileAttrib","commands/LoopFile.htm#LoopFileAttrib"])
commandList.push(["A_LoopFileDir","commands/LoopFile.htm#LoopFileDir"])
commandList.push(["A_LoopFileExt","commands/LoopFile.htm#LoopFileExt"])
commandList.push(["A_LoopFileFullPath","commands/LoopFile.htm#LoopFileFullPath"])
commandList.push(["A_LoopFileLongPath","commands/LoopFile.htm#LoopFileLongPath"])
commandList.push(["A_LoopFileName","commands/LoopFile.htm#LoopFileName"])
commandList.push(["A_LoopFileShortName","commands/LoopFile.htm#LoopFileShortName"])
commandList.push(["A_LoopFileShortPath","commands/LoopFile.htm#LoopFileShortPath"])
commandList.push(["A_LoopFileSize","commands/LoopFile.htm#LoopFileSize"])
commandList.push(["A_LoopFileSizeKB","commands/LoopFile.htm#LoopFileSizeKB"])
commandList.push(["A_LoopFileSizeMB","commands/LoopFile.htm#LoopFileSizeMB"])
commandList.push(["A_LoopFileTimeAccessed","commands/LoopFile.htm#LoopFileTimeAccessed"])
commandList.push(["A_LoopFileTimeCreated","commands/LoopFile.htm#LoopFileTimeCreated"])
commandList.push(["A_LoopFileTimeModified","commands/LoopFile.htm#LoopFileTimeModified"])
commandList.push(["A_LoopReadLine","commands/LoopReadFile.htm#LoopReadLine"])
commandList.push(["A_LoopRegKey","commands/LoopReg.htm#vars"])
commandList.push(["A_LoopRegName","commands/LoopReg.htm#vars"])
commandList.push(["A_LoopRegSubKey","commands/LoopReg.htm#vars"])
commandList.push(["A_LoopRegTimeModified","commands/LoopReg.htm#vars"])
commandList.push(["A_LoopRegType","commands/LoopReg.htm#vars"])
commandList.push(["A_MDay","Variables.htm#DD"])
commandList.push(["A_Min","Variables.htm#Min"])
commandList.push(["A_MM","Variables.htm#MM"])
commandList.push(["A_MMM","Variables.htm#MMM"])
commandList.push(["A_MMMM","Variables.htm#MMMM"])
commandList.push(["A_Mon","Variables.htm#MM"])
commandList.push(["A_MouseDelay","Variables.htm#MouseDelay"])
commandList.push(["A_MouseDelayPlay","Variables.htm#MouseDelay"])
commandList.push(["A_MSec","Variables.htm#MSec"])
commandList.push(["A_MyDocuments","Variables.htm#MyDocuments"])
commandList.push(["A_Now","Variables.htm#Now"])
commandList.push(["A_NowUTC","Variables.htm#NowUTC"])
commandList.push(["A_NumBatchLines","Variables.htm#BatchLines"])
commandList.push(["A_OSType","Variables.htm#OSType"])
commandList.push(["A_OSVersion","Variables.htm#OSVersion"])
commandList.push(["A_PriorHotkey","Variables.htm#PriorHotkey"])
commandList.push(["A_PriorKey","Variables.htm#PriorKey"])
commandList.push(["A_ProgramFiles","Variables.htm#ProgramFiles"])
commandList.push(["A_Programs","Variables.htm#Programs"])
commandList.push(["A_ProgramsCommon","Variables.htm#ProgramsCommon"])
commandList.push(["A_PtrSize","Variables.htm#PtrSize"])
commandList.push(["A_RegView","Variables.htm#RegView"])
commandList.push(["A_ScreenDPI","Variables.htm#ScreenDPI"])
commandList.push(["A_ScreenHeight","Variables.htm#Screen"])
commandList.push(["A_ScreenWidth","Variables.htm#Screen"])
commandList.push(["A_ScriptDir","Variables.htm#ScriptDir"])
commandList.push(["A_ScriptFullPath","Variables.htm#ScriptFullPath"])
commandList.push(["A_ScriptHwnd","Variables.htm#ScriptHwnd"])
commandList.push(["A_ScriptName","Variables.htm#ScriptName"])
commandList.push(["A_Sec","Variables.htm#Sec"])
commandList.push(["A_SendLevel","Variables.htm#SendLevel"])
commandList.push(["A_SendMode","Variables.htm#SendMode"])
commandList.push(["A_Space","Variables.htm#Space"])
commandList.push(["A_StartMenu","Variables.htm#StartMenu"])
commandList.push(["A_StartMenuCommon","Variables.htm#StartMenuCommon"])
commandList.push(["A_Startup","Variables.htm#Startup"])
commandList.push(["A_StartupCommon","Variables.htm#StartupCommon"])
commandList.push(["A_StoreCapslockMode","Variables.htm#StoreCapslockMode"])
commandList.push(["A_StringCaseSense","Variables.htm#StringCaseSense"])
commandList.push(["A_Tab","Variables.htm#Tab"])
commandList.push(["A_Temp","Variables.htm#Temp"])
commandList.push(["A_ThisFunc","Variables.htm#ThisFunc"])
commandList.push(["A_ThisHotkey","Variables.htm#ThisHotkey"])
commandList.push(["A_ThisLabel","Variables.htm#ThisLabel"])
commandList.push(["A_ThisMenu","Variables.htm#ThisMenu"])
commandList.push(["A_ThisMenuItem","Variables.htm#ThisMenuItem"])
commandList.push(["A_ThisMenuItemPos","Variables.htm#ThisMenuItemPos"])
commandList.push(["A_TickCount","Variables.htm#TickCount"])
commandList.push(["A_TimeIdle","Variables.htm#TimeIdle"])
commandList.push(["A_TimeIdlePhysical","Variables.htm#TimeIdlePhysical"])
commandList.push(["A_TimeSincePriorHotkey","Variables.htm#TimeSincePriorHotkey"])
commandList.push(["A_TimeSinceThisHotkey","Variables.htm#TimeSinceThisHotkey"])
commandList.push(["A_TitleMatchMode","Variables.htm#TitleMatchMode"])
commandList.push(["A_TitleMatchModeSpeed","Variables.htm#TitleMatchModeSpeed"])
commandList.push(["A_UserName","Variables.htm#UserName"])
commandList.push(["A_WDay","Variables.htm#WDay"])
commandList.push(["A_WinDelay","Variables.htm#WinDelay"])
commandList.push(["A_WinDir","Variables.htm#WinDir"])
commandList.push(["A_WorkingDir","Variables.htm#WorkingDir"])
commandList.push(["A_YDay","Variables.htm#YDay"])
commandList.push(["A_Year","Variables.htm#YYYY"])
commandList.push(["A_YWeek","Variables.htm#YWeek"])
commandList.push(["A_YYYY","Variables.htm#YYYY"])
commandList.push(["abbreviation expansion","Hotstrings.htm"])
commandList.push(["Abs()","commands/Math.htm#Abs"])
commandList.push(["absolute value, abs()","commands/Math.htm#Abs"])
commandList.push(["Acknowledgements","misc/Acknowledgements.htm"])
commandList.push(["ACos()","commands/Math.htm#ACos"])
commandList.push(["activate a window","commands/WinActivate.htm"])
commandList.push(["ActiveX controls (GUI)","commands/GuiControls.htm#ActiveX"])
commandList.push(["add","commands/EnvAdd.htm"])
commandList.push(["Address of a variable","Variables.htm#amp"])
commandList.push(["administrator privileges for scripts","Variables.htm#RequireAdmin"])
commandList.push(["ahk2exe","Scripts.htm#ahk2exe"])
commandList.push(["ahk_class","misc/WinTitle.htm#ahk_class"])
commandList.push(["ahk_exe","misc/WinTitle.htm#ahk_exe"])
commandList.push(["ahk_group","misc/WinTitle.htm#ahk_group"])
commandList.push(["ahk_id","misc/WinTitle.htm#ahk_id"])
commandList.push(["ahk_pid","misc/WinTitle.htm#ahk_pid"])
commandList.push(["AllowSameLineComments","commands/_AllowSameLineComments.htm"])
commandList.push(["alnum","commands/IfIs.htm"])
commandList.push(["alpha","commands/IfIs.htm"])
commandList.push(["AltGr","Hotkeys.htm#AltGr"])
commandList.push(["AltTab","Hotkeys.htm#alttab"])
commandList.push(["AlwaysOnTop (WinSet)","commands/WinSet.htm"])
commandList.push(["append to file","commands/FileAppend.htm"])
commandList.push(["Arrays","misc/Arrays.htm"])
commandList.push(["Asc()","Functions.htm#Asc"])
commandList.push(["ASCII conversion","commands/Transform.htm"])
commandList.push(["ASin()","commands/Math.htm#ASin"])
commandList.push(["assigning values to variables","Variables.htm#AssignOp"])
commandList.push(["ATan()","commands/Math.htm#ATan"])
commandList.push(["attributes of files and folders","commands/FileGetAttrib.htm"])
commandList.push(["auto-execute section","Scripts.htm"])
commandList.push(["auto-replace text as you type it","Hotstrings.htm"])
commandList.push(["AutoIt v2 compatibility","misc/AutoIt2Compat.htm"])
commandList.push(["AutoTrim","commands/AutoTrim.htm"])
commandList.push(["balloon tip","commands/TrayTip.htm"])
commandList.push(["base (Objects)","Objects.htm#Custom_Objects"])
commandList.push(["beep the PC speaker","commands/SoundBeep.htm"])
commandList.push(["between (check if var between two values)","commands/IfBetween.htm"])
commandList.push(["Bind method (Func object)","objects/Func.htm#Bind"])
commandList.push(["bitwise operations","Variables.htm#bitwise"])
commandList.push(["blind-mode Send","commands/Send.htm#blind"])
commandList.push(["BlockInput","commands/BlockInput.htm"])
commandList.push(["blocks (lines enclosed in braces)","commands/Block.htm"])
commandList.push(["BoundFunc object","objects/Functor.htm#BoundFunc"])
commandList.push(["Break","commands/Break.htm"])
commandList.push(["buffering","commands/_MaxThreadsBuffer.htm"])
commandList.push(["built-in functions","Functions.htm#BuiltIn"])
commandList.push(["built-in variables","Variables.htm#BuiltIn"])
commandList.push(["Button controls (GUI)","commands/GuiControls.htm#Button"])
commandList.push(["button list (mouse and joystick)","KeyList.htm"])
commandList.push(["button state","commands/GetKeyState.htm"])
commandList.push(["ByRef","Functions.htm#ByRef"])
commandList.push(["Call method (Func object)","objects/Func.htm#Call"])
commandList.push(["callbacks","commands/RegisterCallback.htm"])
commandList.push(["case sensitive strings","commands/StringCaseSense.htm"])
commandList.push(["Catch","commands/Catch.htm"])
commandList.push(["Ceil()","commands/Math.htm#Ceil"])
commandList.push(["Changelog","AHKL_ChangeLog.htm"])
commandList.push(["Checkbox controls (GUI)","commands/GuiControls.htm#Checkbox"])
commandList.push(["choose file","commands/FileSelectFile.htm"])
commandList.push(["choose folder","commands/FileSelectFolder.htm"])
commandList.push(["Chr()","Functions.htm#Chr"])
commandList.push(["class (Objects)","Objects.htm#Custom_Classes"])
commandList.push(["class name of a window","commands/WinGetClass.htm"])
commandList.push(["Click a mouse button","commands/Click.htm"])
commandList.push(["Clipboard","misc/Clipboard.htm"])
commandList.push(["ClipboardAll","misc/Clipboard.htm#ClipboardAll"])
commandList.push(["ClipWait","commands/ClipWait.htm"])
commandList.push(["Clone method (Object)","objects/Object.htm#Clone"])
commandList.push(["close a window","commands/WinClose.htm"])
commandList.push(["CLSID List (My Computer, etc.)","misc/CLSID-List.htm"])
commandList.push(["color names, RGB/HTML","commands/Progress.htm#colors"])
commandList.push(["color of pixels","commands/PixelSearch.htm"])
commandList.push(["COM","commands/ComObjCreate.htm"])
commandList.push(["ComboBox controls (GUI)","commands/GuiControls.htm#ComboBox"])
commandList.push(["comma operator (multi-statement)","Variables.htm#comma"])
commandList.push(["command line parameters","Scripts.htm#cmd"])
commandList.push(["commands, alphabetical list","commands/index.htm"])
commandList.push(["CommentFlag","commands/_CommentFlag.htm"])
commandList.push(["comments in scripts","Scripts.htm#Comments"])
commandList.push(["ComObj...()","commands/ComObjActive.htm"])
commandList.push(["ComObjActive()","commands/ComObjActive.htm"])
commandList.push(["ComObjArray()","commands/ComObjArray.htm"])
commandList.push(["ComObjConnect()","commands/ComObjConnect.htm"])
commandList.push(["ComObjCreate()","commands/ComObjCreate.htm"])
commandList.push(["ComObjError()","commands/ComObjError.htm"])
commandList.push(["ComObjFlags()","commands/ComObjFlags.htm"])
commandList.push(["ComObjGet()","commands/ComObjGet.htm"])
commandList.push(["ComObjQuery()","commands/ComObjQuery.htm"])
commandList.push(["ComObjType()","commands/ComObjType.htm"])
commandList.push(["ComObjValue()","commands/ComObjValue.htm"])
commandList.push(["Compatibility","Compat.htm"])
commandList.push(["compile a script","Scripts.htm#ahk2exe"])
commandList.push(["ComSpec","Variables.htm#ComSpec"])
commandList.push(["concatenate, in expressions","Variables.htm#concat"])
commandList.push(["concatenate, script lines","Scripts.htm#continuation"])
commandList.push(["context menu (GUI)","commands/Gui.htm#GuiContextMenu"])
commandList.push(["continuation sections","Scripts.htm#continuation"])
commandList.push(["Continue","commands/Continue.htm"])
commandList.push(["Control","commands/Control.htm"])
commandList.push(["ControlClick","commands/ControlClick.htm"])
commandList.push(["ControlFocus","commands/ControlFocus.htm"])
commandList.push(["ControlGet","commands/ControlGet.htm"])
commandList.push(["ControlGetFocus","commands/ControlGetFocus.htm"])
commandList.push(["ControlGetPos","commands/ControlGetPos.htm"])
commandList.push(["ControlGetText","commands/ControlGetText.htm"])
commandList.push(["ControlMove","commands/ControlMove.htm"])
commandList.push(["ControlSend","commands/ControlSend.htm"])
commandList.push(["ControlSendRaw","commands/ControlSend.htm"])
commandList.push(["ControlSetText","commands/ControlSetText.htm"])
commandList.push(["convert a script to an EXE","Scripts.htm#ahk2exe"])
commandList.push(["coordinates","commands/CoordMode.htm"])
commandList.push(["CoordMode","commands/CoordMode.htm"])
commandList.push(["copy file","commands/FileCopy.htm"])
commandList.push(["copy folder/directory","commands/FileCopyDir.htm"])
commandList.push(["Cos()","commands/Math.htm#Cos"])
commandList.push(["create file","commands/FileAppend.htm"])
commandList.push(["create folder/directory","commands/FileCreateDir.htm"])
commandList.push(["Critical","commands/Critical.htm"])
commandList.push(["current directory","commands/SetWorkingDir.htm"])
commandList.push(["current thread","misc/Threads.htm"])
commandList.push(["cursor shape","Variables.htm#Cursor"])
commandList.push(["custom combination hotkeys","Hotkeys.htm#Features"])
commandList.push(["Custom controls (GUI)","commands/GuiControls.htm#Custom"])
commandList.push(["dates and times (compare)","commands/EnvSub.htm"])
commandList.push(["dates and times (math)","commands/EnvAdd.htm"])
commandList.push(["dates and times (of files)","commands/FileSetTime.htm"])
commandList.push(["DateTime controls (GUI)","commands/GuiControls.htm#DateTime"])
commandList.push(["debugger","commands/OutputDebug.htm"])
commandList.push(["debugging a script","Scripts.htm#debug"])
commandList.push(["decimal places","commands/SetFormat.htm"])
commandList.push(["delete files","commands/FileDelete.htm"])
commandList.push(["delete folder/directory","commands/FileRemoveDir.htm"])
commandList.push(["Delete method (Object)","objects/Object.htm#Delete"])
commandList.push(["Delimiter","commands/_EscapeChar.htm"])
commandList.push(["DerefChar","commands/_EscapeChar.htm"])
commandList.push(["DetectHiddenText","commands/DetectHiddenText.htm"])
commandList.push(["DetectHiddenWindows","commands/DetectHiddenWindows.htm"])
commandList.push(["dialog FileSelectFile","commands/FileSelectFile.htm"])
commandList.push(["dialog FileSelectFolder","commands/FileSelectFolder.htm"])
commandList.push(["dialog InputBox","commands/InputBox.htm"])
commandList.push(["dialog MsgBox","commands/MsgBox.htm"])
commandList.push(["digit","commands/IfIs.htm"])
commandList.push(["disk space","commands/DriveSpaceFree.htm"])
commandList.push(["divide (math)","Variables.htm#divide"])
commandList.push(["DllCall()","commands/DllCall.htm"])
commandList.push(["download a file","commands/URLDownloadToFile.htm"])
commandList.push(["DPI scaling","commands/Gui.htm#DPIScale"])
commandList.push(["drag and drop (GUI windows)","commands/Gui.htm#GuiDropFiles"])
commandList.push(["drag the mouse","commands/MouseClickDrag.htm"])
commandList.push(["Drive","commands/Drive.htm"])
commandList.push(["DriveGet","commands/DriveGet.htm"])
commandList.push(["DriveSpaceFree","commands/DriveSpaceFree.htm"])
commandList.push(["DropDownList controls (GUI)","commands/GuiControls.htm#DropDownList"])
commandList.push(["Dynamic function calls","Functions.htm#DynCall"])
commandList.push(["Edit","commands/Edit.htm"])
commandList.push(["Edit controls (GUI)","commands/GuiControls.htm#Edit"])
commandList.push(["Else","commands/Else.htm"])
commandList.push(["Enumerator object","objects/Enumerator.htm"])
commandList.push(["EnvAdd","commands/EnvAdd.htm"])
commandList.push(["EnvDiv","commands/EnvDiv.htm"])
commandList.push(["EnvGet","commands/EnvGet.htm"])
commandList.push(["environment variables","Variables.htm#env"])
commandList.push(["environment variables (change them)","commands/EnvSet.htm"])
commandList.push(["EnvMult","commands/EnvMult.htm"])
commandList.push(["EnvSet","commands/EnvSet.htm"])
commandList.push(["EnvSub","commands/EnvSub.htm"])
commandList.push(["EnvUpdate","commands/EnvUpdate.htm"])
commandList.push(["ErrorLevel","misc/ErrorLevel.htm"])
commandList.push(["ErrorStdOut","commands/_ErrorStdOut.htm"])
commandList.push(["escape sequence","commands/_EscapeChar.htm"])
commandList.push(["EscapeChar","commands/_EscapeChar.htm"])
commandList.push(["Exception()","commands/Throw.htm#Exception"])
commandList.push(["Exit","commands/Exit.htm"])
commandList.push(["ExitApp","commands/ExitApp.htm"])
commandList.push(["Exp()","commands/Math.htm#Exp"])
commandList.push(["expressions","Variables.htm#Expressions"])
commandList.push(["ExtractInteger -> NumGet()","commands/NumGet.htm"])
commandList.push(["False","Variables.htm#Boolean"])
commandList.push(["FAQ (Frequently Asked Questions)","FAQ.htm"])
commandList.push(["file attributes","commands/FileSetAttrib.htm"])
commandList.push(["File object","objects/File.htm"])
commandList.push(["file or folder (does it exist)","commands/IfExist.htm"])
commandList.push(["file pattern","commands/LoopFile.htm"])
commandList.push(["file, creating","commands/FileAppend.htm"])
commandList.push(["file, reading","commands/LoopReadFile.htm"])
commandList.push(["file, writing/appending","commands/FileAppend.htm"])
commandList.push(["FileAppend","commands/FileAppend.htm"])
commandList.push(["FileCopy","commands/FileCopy.htm"])
commandList.push(["FileCopyDir","commands/FileCopyDir.htm"])
commandList.push(["FileCreateDir","commands/FileCreateDir.htm"])
commandList.push(["FileCreateShortcut","commands/FileCreateShortcut.htm"])
commandList.push(["FileDelete","commands/FileDelete.htm"])
commandList.push(["FileEncoding","commands/FileEncoding.htm"])
commandList.push(["FileExist()","Functions.htm#FileExist"])
commandList.push(["FileGetAttrib","commands/FileGetAttrib.htm"])
commandList.push(["FileGetShortcut","commands/FileGetShortcut.htm"])
commandList.push(["FileGetSize","commands/FileGetSize.htm"])
commandList.push(["FileGetTime","commands/FileGetTime.htm"])
commandList.push(["FileGetVersion","commands/FileGetVersion.htm"])
commandList.push(["FileInstall","commands/FileInstall.htm"])
commandList.push(["FileMove","commands/FileMove.htm"])
commandList.push(["FileMoveDir","commands/FileMoveDir.htm"])
commandList.push(["FileOpen","commands/FileOpen.htm"])
commandList.push(["FileRead","commands/FileRead.htm"])
commandList.push(["FileReadLine","commands/FileReadLine.htm"])
commandList.push(["FileRecycle","commands/FileRecycle.htm"])
commandList.push(["FileRecycleEmpty","commands/FileRecycleEmpty.htm"])
commandList.push(["FileRemoveDir","commands/FileRemoveDir.htm"])
commandList.push(["FileSelectFile","commands/FileSelectFile.htm"])
commandList.push(["FileSelectFolder","commands/FileSelectFolder.htm"])
commandList.push(["FileSetAttrib","commands/FileSetAttrib.htm"])
commandList.push(["FileSetTime","commands/FileSetTime.htm"])
commandList.push(["Finally","commands/Finally.htm"])
commandList.push(["find a file","commands/IfExist.htm"])
commandList.push(["find a string","commands/StringGetPos.htm"])
commandList.push(["find a window","commands/WinExist.htm"])
commandList.push(["floating point (check if it is one)","commands/IfIs.htm"])
commandList.push(["floating point (SetFormat)","commands/SetFormat.htm"])
commandList.push(["Floor()","commands/Math.htm#Floor"])
commandList.push(["focus","commands/ControlFocus.htm"])
commandList.push(["folder/directory copy","commands/FileCopyDir.htm"])
commandList.push(["folder/directory create","commands/FileCreateDir.htm"])
commandList.push(["folder/directory move","commands/FileMoveDir.htm"])
commandList.push(["folder/directory remove","commands/FileRemoveDir.htm"])
commandList.push(["folder/directory select","commands/FileSelectFolder.htm"])
commandList.push(["Fonts","misc/FontsStandard.htm"])
commandList.push(["For-loop","commands/For.htm"])
commandList.push(["Format()","commands/Format.htm"])
commandList.push(["format (defaults)","commands/SetFormat.htm"])
commandList.push(["FormatTime","commands/FormatTime.htm"])
commandList.push(["free space","commands/DriveSpaceFree.htm"])
commandList.push(["FTP uploading example","commands/FileAppend.htm#FTP"])
commandList.push(["functions (defining and calling)","Functions.htm"])
commandList.push(["functions (libraries)","Functions.htm#lib"])
commandList.push(["function objects","objects/Functor.htm"])
commandList.push(["Func object","objects/Func.htm"])
commandList.push(["Func()","Objects.htm#Function_References"])
commandList.push(["g-label (responding to GUI events)","commands/Gui.htm#label"])
commandList.push(["game automation","commands/PixelSearch.htm"])
commandList.push(["GetAddress method (Object)","objects/Object.htm#GetAddress"])
commandList.push(["GetCapacity method (Object)","objects/Object.htm#GetCapacity"])
commandList.push(["GetKeyName()","Functions.htm#GetKeyName"])
commandList.push(["GetKeySC()","Functions.htm#GetKeyName"])
commandList.push(["GetKeyState","commands/GetKeyState.htm"])
commandList.push(["GetKeyState()","Functions.htm#GetKeyState"])
commandList.push(["GetKeyVK()","Functions.htm#GetKeyName"])
commandList.push(["global variables in functions","Functions.htm#Global"])
commandList.push(["Gosub","commands/Gosub.htm"])
commandList.push(["Goto","commands/Goto.htm"])
commandList.push(["GroupActivate","commands/GroupActivate.htm"])
commandList.push(["GroupAdd","commands/GroupAdd.htm"])
commandList.push(["GroupBox controls (GUI)","commands/GuiControls.htm#GroupBox"])
commandList.push(["GroupClose","commands/GroupClose.htm"])
commandList.push(["GroupDeactivate","commands/GroupDeactivate.htm"])
commandList.push(["Gui","commands/Gui.htm"])
commandList.push(["Gui control types","commands/GuiControls.htm"])
commandList.push(["Gui styles reference","misc/Styles.htm"])
commandList.push(["GuiClose (label)","commands/Gui.htm#GuiClose"])
commandList.push(["GuiContextMenu (label)","commands/Gui.htm#GuiContextMenu"])
commandList.push(["GuiControl","commands/GuiControl.htm"])
commandList.push(["GuiControlGet","commands/GuiControlGet.htm"])
commandList.push(["GuiDropFiles (label)","commands/Gui.htm#GuiDropFiles"])
commandList.push(["GuiEscape (label)","commands/Gui.htm#GuiEscape"])
commandList.push(["GuiSize (label)","commands/Gui.htm#GuiSize"])
commandList.push(["HasKey method (Object)","objects/Object.htm#HasKey"])
commandList.push(["HBITMAP:","misc/ImageHandles.htm"])
commandList.push(["hexadecimal format","commands/SetFormat.htm"])
commandList.push(["hibernate or suspend","commands/Shutdown.htm#Suspend"])
commandList.push(["HICON:","misc/ImageHandles.htm"])
commandList.push(["hidden text","commands/DetectHiddenText.htm"])
commandList.push(["hidden windows","commands/DetectHiddenWindows.htm"])
commandList.push(["HKEY_CLASSES_ROOT","commands/RegRead.htm"])
commandList.push(["HKEY_CURRENT_CONFIG","commands/RegRead.htm"])
commandList.push(["HKEY_CURRENT_USER","commands/RegRead.htm"])
commandList.push(["HKEY_LOCAL_MACHINE","commands/RegRead.htm"])
commandList.push(["HKEY_USERS","commands/RegRead.htm"])
commandList.push(["hook","commands/_InstallKeybdHook.htm"])
commandList.push(["Hotkey","Hotkeys.htm"])
commandList.push(["Hotkey command","commands/Hotkey.htm"])
commandList.push(["Hotkey controls (GUI)","commands/GuiControls.htm#Hotkey"])
commandList.push(["Hotkey, ListHotkeys","commands/ListHotkeys.htm"])
commandList.push(["Hotkey, other features","HotkeyFeatures.htm"])
commandList.push(["HotkeyInterval","commands/_HotkeyInterval.htm"])
commandList.push(["HotkeyModifierTimeout","commands/_HotkeyModifierTimeout.htm"])
commandList.push(["hotstrings and auto-replace","Hotstrings.htm"])
commandList.push(["HTML color names","commands/Progress.htm#colors"])
commandList.push(["HWND (of a control)","commands/ControlGet.htm#Hwnd"])
commandList.push(["HWND (of a window)","misc/WinTitle.htm#ahk_id"])
commandList.push(["icon, changing","commands/Menu.htm#Icon"])
commandList.push(["ID number for a window","commands/WinGet.htm"])
commandList.push(["If","commands/IfEqual.htm"])
commandList.push(["If (expression)","commands/IfExpression.htm"])
commandList.push(["If var ,[not] between Low and High","commands/IfBetween.htm"])
commandList.push(["If var ,[not] in/contains MatchList","commands/IfIn.htm"])
commandList.push(["If var is ,[not] type","commands/IfIs.htm"])
commandList.push(["IfEqual","commands/IfEqual.htm"])
commandList.push(["IfExist","commands/IfExist.htm"])
commandList.push(["IfGreater","commands/IfEqual.htm"])
commandList.push(["IfGreaterOrEqual","commands/IfEqual.htm"])
commandList.push(["IfInString","commands/IfInString.htm"])
commandList.push(["IfLess","commands/IfEqual.htm"])
commandList.push(["IfLessOrEqual","commands/IfEqual.htm"])
commandList.push(["IfMsgBox","commands/IfMsgBox.htm"])
commandList.push(["IfNotEqual","commands/IfEqual.htm"])
commandList.push(["IfNotExist","commands/IfExist.htm"])
commandList.push(["IfNotInString","commands/IfInString.htm"])
commandList.push(["IfWinActive","commands/WinActive.htm"])
commandList.push(["IfWinExist","commands/WinExist.htm"])
commandList.push(["IfWinNotActive","commands/WinActive.htm"])
commandList.push(["IfWinNotExist","commands/WinExist.htm"])
commandList.push(["IL_Add()","commands/ListView.htm#IL_Add"])
commandList.push(["IL_Create()","commands/ListView.htm#IL_Create"])
commandList.push(["IL_Destroy()","commands/ListView.htm#IL_Destroy"])
commandList.push(["Image Lists (GUI)","commands/ListView.htm#IL"])
commandList.push(["ImageSearch","commands/ImageSearch.htm"])
commandList.push(["Include","commands/_Include.htm"])
commandList.push(["infrared remote controls","scripts/WinLIRC.htm"])
commandList.push(["IniDelete","commands/IniDelete.htm"])
commandList.push(["IniRead","commands/IniRead.htm"])
commandList.push(["IniWrite","commands/IniWrite.htm"])
commandList.push(["Input","commands/Input.htm"])
commandList.push(["InputBox","commands/InputBox.htm"])
commandList.push(["Insert method (Object)","objects/Object.htm#Insert"])
commandList.push(["InsertAt method (Object)","objects/Object.htm#InsertAt"])
commandList.push(["InsertInteger -> NumPut()","commands/NumPut.htm"])
commandList.push(["Install","commands/FileInstall.htm"])
commandList.push(["Installer Options","Scripts.htm#install"])
commandList.push(["InstallKeybdHook","commands/_InstallKeybdHook.htm"])
commandList.push(["InstallMouseHook","commands/_InstallMouseHook.htm"])
commandList.push(["InStr()","commands/InStr.htm"])
commandList.push(["integer (check if it is one)","commands/IfIs.htm"])
commandList.push(["integer (SetFormat)","commands/SetFormat.htm"])
commandList.push(["Interrupt","commands/Thread.htm"])
commandList.push(["IsByRef()","Functions.htm#IsByRef"])
commandList.push(["IsFunc()","Functions.htm#IsFunc"])
commandList.push(["IsLabel()","Functions.htm#IsLabel"])
commandList.push(["IsObject()","Objects.htm"])
commandList.push(["Join (continuation sections)","Scripts.htm#Join"])
commandList.push(["Joystick","KeyList.htm#Joystick"])
commandList.push(["JScript, embedded/inline","commands/DllCall.htm#COM"])
commandList.push(["key list (keyboard, mouse, joystick)","KeyList.htm"])
commandList.push(["key state","commands/GetKeyState.htm"])
commandList.push(["keyboard hook","commands/_InstallKeybdHook.htm"])
commandList.push(["KeyHistory","commands/KeyHistory.htm"])
commandList.push(["keystrokes, sending","commands/Send.htm"])
commandList.push(["KeyWait","commands/KeyWait.htm"])
commandList.push(["labels","misc/Labels.htm"])
commandList.push(["last found window","misc/WinTitle.htm#LastFoundWindow"])
commandList.push(["length of a string","commands/StringLen.htm"])
commandList.push(["Length method (Object)","objects/Object.htm#Length"])
commandList.push(["Length method (File object)","objects/File.htm#Length"])
commandList.push(["libraries of functions","Functions.htm#lib"])
commandList.push(["license","license.htm"])
commandList.push(["line continuation","Scripts.htm#continuation"])
commandList.push(["ListBox controls (GUI)","commands/GuiControls.htm#ListBox"])
commandList.push(["ListHotkeys","commands/ListHotkeys.htm"])
commandList.push(["ListLines","commands/ListLines.htm"])
commandList.push(["ListVars","commands/ListVars.htm"])
commandList.push(["ListView controls (GUI)","commands/ListView.htm"])
commandList.push(["ListView, getting text from","commands/ControlGet.htm#List"])
commandList.push(["Ln()","commands/Math.htm#Ln"])
commandList.push(["lnk (link/shortcut) file","commands/FileCreateShortcut.htm"])
commandList.push(["LoadPicture","commands/LoadPicture.htm"])
commandList.push(["local variables","Functions.htm#Locals"])
commandList.push(["Locale","commands/StringCaseSense.htm#Locale"])
commandList.push(["Log()","commands/Math.htm#Log"])
commandList.push(["logarithm, log()","commands/Math.htm#Log"])
commandList.push(["logoff","commands/Shutdown.htm"])
commandList.push(["long file name (converting to)","commands/LoopFile.htm#LoopFileLongPath"])
commandList.push(["Loop","commands/Loop.htm"])
commandList.push(["Loop (until)","commands/Until.htm"])
commandList.push(["Loop (while)","commands/While.htm"])
commandList.push(["Loop, Reg (registry)","commands/LoopReg.htm"])
commandList.push(["Loop, Files and folders","commands/LoopFile.htm"])
commandList.push(["Loop, Parse a string","commands/LoopParse.htm"])
commandList.push(["Loop, Read file contents","commands/LoopReadFile.htm"])
commandList.push(["lParam","commands/PostMessage.htm"])
commandList.push(["LTrim (continuation sections)","Scripts.htm#LTrim"])
commandList.push(["LTrim()","commands/Trim.htm"])
commandList.push(["LV_Add()","commands/ListView.htm#LV_Add"])
commandList.push(["LV_Delete()","commands/ListView.htm#LV_Delete"])
commandList.push(["LV_DeleteCol()","commands/ListView.htm#LV_DeleteCol"])
commandList.push(["LV_GetCount()","commands/ListView.htm#LV_GetCount"])
commandList.push(["LV_GetNext()","commands/ListView.htm#LV_GetNext"])
commandList.push(["LV_GetText()","commands/ListView.htm#LV_GetText"])
commandList.push(["LV_Insert()","commands/ListView.htm#LV_Insert"])
commandList.push(["LV_InsertCol()","commands/ListView.htm#LV_InsertCol"])
commandList.push(["LV_Modify()","commands/ListView.htm#LV_Modify"])
commandList.push(["LV_ModifyCol()","commands/ListView.htm#LV_ModifyCol"])
commandList.push(["LV_SetImageList()","commands/ListView.htm#LV_SetImageList"])
commandList.push(["macro","misc/Macros.htm"])
commandList.push(["math operations (expressions)","Variables.htm#Expressions"])
commandList.push(["MaxHotkeysPerInterval","commands/_MaxHotkeysPerInterval.htm"])
commandList.push(["MaxIndex()","objects/Object.htm#MinMaxIndex"])
commandList.push(["MaxThreads","commands/_MaxThreads.htm"])
commandList.push(["MaxThreadsBuffer","commands/_MaxThreadsBuffer.htm"])
commandList.push(["MaxThreadsPerHotkey","commands/_MaxThreadsPerHotkey.htm"])
commandList.push(["Menu","commands/Menu.htm"])
commandList.push(["MenuGetHandle","commands/MenuGetHandle.htm"])
commandList.push(["MenuGetName","commands/MenuGetName.htm"])
commandList.push(["Menu Bar (GUI)","commands/Gui.htm#Menu"])
commandList.push(["Menu Icon","commands/Menu.htm#MenuIcon"])
commandList.push(["message list (WM_*)","misc/SendMessageList.htm"])
commandList.push(["messages, receiving","commands/OnMessage.htm"])
commandList.push(["messages, sending","commands/PostMessage.htm"])
commandList.push(["meta-functions (Objects)","Objects.htm#Meta_Functions"])
commandList.push(["MinIndex()","objects/Object.htm#MinMaxIndex"])
commandList.push(["Mod()","commands/Math.htm#Mod"])
commandList.push(["modal (always on top)","commands/MsgBox.htm"])
commandList.push(["modulo, mod()","commands/Math.htm#Mod"])
commandList.push(["MonthCal controls (GUI)","commands/GuiControls.htm#MonthCal"])
commandList.push(["mouse hook","commands/_InstallMouseHook.htm"])
commandList.push(["mouse speed","commands/SetDefaultMouseSpeed.htm"])
commandList.push(["mouse wheel","commands/Click.htm"])
commandList.push(["MouseClick","commands/MouseClick.htm"])
commandList.push(["MouseClickDrag","commands/MouseClickDrag.htm"])
commandList.push(["MouseGetPos","commands/MouseGetPos.htm"])
commandList.push(["MouseMove","commands/MouseMove.htm"])
commandList.push(["move a window","commands/WinMove.htm"])
commandList.push(["move file","commands/FileMove.htm"])
commandList.push(["move folder/directory","commands/FileMoveDir.htm"])
commandList.push(["MsgBox","commands/MsgBox.htm"])
commandList.push(["multiply","commands/EnvMult.htm"])
commandList.push(["mute (changing it)","commands/SoundSet.htm"])
commandList.push(["NewEnum method (Object)","objects/Object.htm#NewEnum"])
commandList.push(["NoTimers","commands/Thread.htm"])
commandList.push(["NoTrayIcon","commands/_NoTrayIcon.htm"])
commandList.push(["number","commands/IfIs.htm"])
commandList.push(["number format","commands/SetFormat.htm"])
commandList.push(["NumGet","commands/NumGet.htm"])
commandList.push(["NumPut","commands/NumPut.htm"])
commandList.push(["Objects (general information)","Objects.htm"])
commandList.push(["Object functions and methods","objects/Object.htm"])
commandList.push(["ObjAddRef()","commands/ObjAddRef.htm"])
commandList.push(["ObjBindMethod()","commands/ObjBindMethod.htm"])
commandList.push(["ObjClone()","objects/Object.htm#Clone"])
commandList.push(["ObjDelete()","objects/Object.htm#Delete"])
commandList.push(["ObjGetAddress()","objects/Object.htm#GetAddress"])
commandList.push(["ObjGetCapacity()","objects/Object.htm#GetCapacity"])
commandList.push(["ObjHasKey()","objects/Object.htm#HasKey"])
commandList.push(["ObjInsert()","objects/Object.htm#Insert"])
commandList.push(["ObjInsertAt()","objects/Object.htm#InsertAt"])
commandList.push(["ObjLength()","objects/Object.htm#Length"])
commandList.push(["ObjMaxIndex()","objects/Object.htm#MinMaxIndex"])
commandList.push(["ObjMinIndex()","objects/Object.htm#MinMaxIndex"])
commandList.push(["ObjNewEnum()","objects/Object.htm#NewEnum"])
commandList.push(["ObjPop()","objects/Object.htm#Pop"])
commandList.push(["ObjPush()","objects/Object.htm#Push"])
commandList.push(["ObjRawSet()","objects/Object.htm#RawSet"])
commandList.push(["ObjRelease()","commands/ObjAddRef.htm"])
commandList.push(["ObjRemove()","objects/Object.htm#Remove"])
commandList.push(["ObjRemoveAt()","objects/Object.htm#RemoveAt"])
commandList.push(["ObjSetCapacity()","objects/Object.htm#SetCapacity"])
commandList.push(["OnClipboardChange","commands/OnClipboardChange.htm"])
commandList.push(["OnExit","commands/OnExit.htm"])
commandList.push(["OnMessage()","commands/OnMessage.htm"])
commandList.push(["open file","commands/FileOpen.htm"])
commandList.push(["operators in expressions","Variables.htm#Operators"])
commandList.push(["Ord()","Functions.htm#Ord"])
commandList.push(["OutputDebug","commands/OutputDebug.htm"])
commandList.push(["OwnDialogs (GUI)","commands/Gui.htm#OwnDialogs"])
commandList.push(["Owner of a GUI window","commands/Gui.htm#Owner"])
commandList.push(["parameters passed into a script","Scripts.htm#cmd"])
commandList.push(["parse a string (Loop)","commands/LoopParse.htm"])
commandList.push(["parse a string (StringSplit)","commands/StringSplit.htm"])
commandList.push(["Pause","commands/Pause.htm"])
commandList.push(["performance of scripts","misc/Performance.htm"])
commandList.push(["Picture controls (GUI)","commands/GuiControls.htm#Picture"])
commandList.push(["PID (Process ID)","commands/Process.htm"])
commandList.push(["PixelGetColor","commands/PixelGetColor.htm"])
commandList.push(["PixelSearch","commands/PixelSearch.htm"])
commandList.push(["play a sound or video file","commands/SoundPlay.htm"])
commandList.push(["Pop method (Object)","objects/Object.htm#Pop"])
commandList.push(["PostMessage","commands/PostMessage.htm"])
commandList.push(["power (exponentiation)","Variables.htm#pow"])
commandList.push(["prefix and suffix keys","Hotkeys.htm"])
commandList.push(["print a file","commands/Run.htm"])
commandList.push(["priority of a process","commands/Process.htm"])
commandList.push(["priority of a thread","commands/Thread.htm"])
commandList.push(["Process","commands/Process.htm"])
commandList.push(["ProgramFiles","Variables.htm#ProgramFiles"])
commandList.push(["Progress","commands/Progress.htm"])
commandList.push(["Progress controls (GUI)","commands/GuiControls.htm#Progress"])
commandList.push(["properties (Objects)","Objects.htm#Custom_Classes_property"])
commandList.push(["properties of a file or folder","commands/Run.htm"])
commandList.push(["Push method (Object)","objects/Object.htm#Push"])
commandList.push(["quit script","commands/ExitApp.htm"])
commandList.push(["Radio controls (GUI)","commands/GuiControls.htm#Radio"])
commandList.push(["Random","commands/Random.htm"])
commandList.push(["RawRead method (File object)","objects/File.htm#RawRead"])
commandList.push(["RawWrite method (File object)","objects/File.htm#RawWrite"])
commandList.push(["read file","commands/FileRead.htm"])
commandList.push(["Read method (File object)","objects/File.htm#Read"])
commandList.push(["READONLY","commands/FileGetAttrib.htm"])
commandList.push(["reboot","commands/Shutdown.htm"])
commandList.push(["Reference-Counting","Objects.htm#Refs"])
commandList.push(["REG_BINARY","commands/RegRead.htm"])
commandList.push(["REG_DWORD","commands/RegRead.htm"])
commandList.push(["REG_EXPAND_SZ","commands/RegRead.htm"])
commandList.push(["REG_MULTI_SZ","commands/RegRead.htm"])
commandList.push(["REG_SZ","commands/RegRead.htm"])
commandList.push(["RegDelete","commands/RegDelete.htm"])
commandList.push(["RegEx: Quick Reference","misc/RegEx-QuickRef.htm"])
commandList.push(["RegEx: Callouts","misc/RegExCallout.htm"])
commandList.push(["RegEx: SetTitleMatchMode RegEx","commands/SetTitleMatchMode.htm#RegEx"])
commandList.push(["RegExMatch()","commands/RegExMatch.htm"])
commandList.push(["RegExReplace()","commands/RegExReplace.htm"])
commandList.push(["RegisterCallback()","commands/RegisterCallback.htm"])
commandList.push(["registry loop","commands/LoopReg.htm"])
commandList.push(["RegRead","commands/RegRead.htm"])
commandList.push(["Regular Expression Callouts","misc/RegExCallout.htm"])
commandList.push(["regular expressions: Quick Reference","misc/RegEx-QuickRef.htm"])
commandList.push(["regular expressions: RegExMatch()","commands/RegExMatch.htm"])
commandList.push(["regular expressions: RegExReplace()","commands/RegExReplace.htm"])
commandList.push(["regular expressions: SetTitleMatchMode RegEx","commands/SetTitleMatchMode.htm#RegEx"])
commandList.push(["RegWrite","commands/RegWrite.htm"])
commandList.push(["Reload","commands/Reload.htm"])
commandList.push(["remap joystick","misc/RemapJoystick.htm"])
commandList.push(["remap keys or mouse buttons","misc/Remap.htm"])
commandList.push(["remote controls, hand-held","scripts/WinLIRC.htm"])
commandList.push(["remove folder/directory","commands/FileRemoveDir.htm"])
commandList.push(["Remove method (Object)","objects/Object.htm#Remove"])
commandList.push(["RemoveAt method (Object)","objects/Object.htm#RemoveAt"])
commandList.push(["rename file","commands/FileMove.htm"])
commandList.push(["resize a window","commands/WinMove.htm"])
commandList.push(["restart the computer","commands/Shutdown.htm"])
commandList.push(["Return","commands/Return.htm"])
commandList.push(["RGB color names","commands/Progress.htm#colors"])
commandList.push(["RGB colors","commands/PixelGetColor.htm"])
commandList.push(["Round()","commands/Math.htm#Round"])
commandList.push(["rounding a number","commands/Math.htm#Round"])
commandList.push(["RTrim()","commands/Trim.htm"])
commandList.push(["Run","commands/Run.htm"])
commandList.push(["RunAs","commands/RunAs.htm"])
commandList.push(["RunWait","commands/Run.htm"])
commandList.push(["SB_SetIcon()","commands/GuiControls.htm#SB_SetIcon"])
commandList.push(["SB_SetParts()","commands/GuiControls.htm#SB_SetParts"])
commandList.push(["SB_SetText()","commands/GuiControls.htm#SB_SetText"])
commandList.push(["scan code","commands/Send.htm#vk"])
commandList.push(["scientific notation","commands/SetFormat.htm#sci"])
commandList.push(["Script Showcase","scripts/index.htm"])
commandList.push(["Scripts","Scripts.htm"])
commandList.push(["select file","commands/FileSelectFile.htm"])
commandList.push(["select folder","commands/FileSelectFolder.htm"])
commandList.push(["Send","commands/Send.htm"])
commandList.push(["SendEvent","commands/Send.htm#SendEvent"])
commandList.push(["sending data between scripts","commands/OnMessage.htm#SendString"])
commandList.push(["SendInput","commands/Send.htm#SendInputDetail"])
commandList.push(["SendLevel","commands/SendLevel.htm"])
commandList.push(["SendMessage","commands/PostMessage.htm"])
commandList.push(["SendMode","commands/SendMode.htm"])
commandList.push(["SendPlay","commands/Send.htm#SendPlayDetail"])
commandList.push(["SendRaw","commands/Send.htm"])
commandList.push(["SetBatchLines","commands/SetBatchLines.htm"])
commandList.push(["SetCapacity method (Object)","objects/Object.htm#SetCapacity"])
commandList.push(["SetCapsLockState","commands/SetNumScrollCapsLockState.htm"])
commandList.push(["SetControlDelay","commands/SetControlDelay.htm"])
commandList.push(["SetDefaultMouseSpeed","commands/SetDefaultMouseSpeed.htm"])
commandList.push(["SetEnv","commands/SetEnv.htm"])
commandList.push(["SetFormat","commands/SetFormat.htm"])
commandList.push(["SetKeyDelay","commands/SetKeyDelay.htm"])
commandList.push(["SetMouseDelay","commands/SetMouseDelay.htm"])
commandList.push(["SetNumLockState","commands/SetNumScrollCapsLockState.htm"])
commandList.push(["SetRegView","commands/SetRegView.htm"])
commandList.push(["SetScrollLockState","commands/SetNumScrollCapsLockState.htm"])
commandList.push(["SetStoreCapslockMode","commands/SetStoreCapslockMode.htm"])
commandList.push(["SetTimer","commands/SetTimer.htm"])
commandList.push(["SetTitleMatchMode","commands/SetTitleMatchMode.htm"])
commandList.push(["SetWinDelay","commands/SetWinDelay.htm"])
commandList.push(["SetWorkingDir","commands/SetWorkingDir.htm"])
commandList.push(["short file name (8.3 format)","commands/LoopFile.htm#LoopFileShortPath"])
commandList.push(["short-circuit boolean evaluation","Functions.htm#ShortCircuit"])
commandList.push(["shortcut file","commands/FileCreateShortcut.htm"])
commandList.push(["Shutdown","commands/Shutdown.htm"])
commandList.push(["Silent Install/Uninstall","Scripts.htm#install"])
commandList.push(["Sin()","commands/Math.htm#Sin"])
commandList.push(["SingleInstance","commands/_SingleInstance.htm"])
commandList.push(["size of a file/folder","commands/FileGetSize.htm"])
commandList.push(["size of a window","commands/WinGetPos.htm"])
commandList.push(["Sleep","commands/Sleep.htm"])
commandList.push(["Slider controls (GUI)","commands/GuiControls.htm#Slider"])
commandList.push(["Sort","commands/Sort.htm"])
commandList.push(["SoundBeep","commands/SoundBeep.htm"])
commandList.push(["SoundGet","commands/SoundGet.htm"])
commandList.push(["SoundGetWaveVolume","commands/SoundGetWaveVolume.htm"])
commandList.push(["SoundPlay","commands/SoundPlay.htm"])
commandList.push(["SoundSet","commands/SoundSet.htm"])
commandList.push(["SoundSetWaveVolume","commands/SoundSetWaveVolume.htm"])
commandList.push(["space","commands/IfIs.htm"])
commandList.push(["speed of a script","commands/SetBatchLines.htm"])
commandList.push(["spinner control (GUI)","commands/GuiControls.htm#UpDown"])
commandList.push(["SplashImage","commands/Progress.htm"])
commandList.push(["SplashTextOff","commands/SplashTextOn.htm"])
commandList.push(["SplashTextOn","commands/SplashTextOn.htm"])
commandList.push(["SplitPath","commands/SplitPath.htm"])
commandList.push(["splitting long lines","Scripts.htm#continuation"])
commandList.push(["Sqrt()","commands/Math.htm#Sqrt"])
commandList.push(["standard library","Functions.htm#lib"])
commandList.push(["standard output (stdout)","commands/FileAppend.htm"])
commandList.push(["static variables","Functions.htm#static"])
commandList.push(["StatusBar controls (GUI)","commands/GuiControls.htm#StatusBar"])
commandList.push(["StatusBarGetText","commands/StatusBarGetText.htm"])
commandList.push(["StatusBarWait","commands/StatusBarWait.htm"])
commandList.push(["StrGet()","commands/StrPutGet.htm"])
commandList.push(["string (search for)","commands/InStr.htm"])
commandList.push(["string: InStr()","commands/InStr.htm"])
commandList.push(["string: SubStr()","commands/SubStr.htm"])
commandList.push(["StringCaseSense","commands/StringCaseSense.htm"])
commandList.push(["StringGetPos","commands/StringGetPos.htm"])
commandList.push(["StringLeft","commands/StringLeft.htm"])
commandList.push(["StringLen","commands/StringLen.htm"])
commandList.push(["StringLower","commands/StringLower.htm"])
commandList.push(["StringMid","commands/StringMid.htm"])
commandList.push(["StringReplace","commands/StringReplace.htm"])
commandList.push(["StringRight","commands/StringLeft.htm"])
commandList.push(["StringSplit","commands/StringSplit.htm"])
commandList.push(["StringTrimLeft","commands/StringTrimLeft.htm"])
commandList.push(["StringTrimRight","commands/StringTrimLeft.htm"])
commandList.push(["StringUpper","commands/StringLower.htm"])
commandList.push(["StrLen()","commands/StringLen.htm"])
commandList.push(["StrPut()","commands/StrPutGet.htm"])
commandList.push(["StrReplace()","commands/StringReplace.htm"])
commandList.push(["StrSplit()","commands/StringSplit.htm"])
commandList.push(["structures, via DllCall","commands/DllCall.htm#struct"])
commandList.push(["styles for GUI command","misc/Styles.htm"])
commandList.push(["SubStr()","commands/SubStr.htm"])
commandList.push(["subtract","commands/EnvSub.htm"])
commandList.push(["Super-global variables","Functions.htm#SuperGlobal"])
commandList.push(["Suspend","commands/Suspend.htm"])
commandList.push(["suspend or hibernate","commands/Shutdown.htm#Suspend"])
commandList.push(["SysGet","commands/SysGet.htm"])
commandList.push(["Tab controls (GUI)","commands/GuiControls.htm#Tab"])
commandList.push(["Tan()","commands/Math.htm#Tan"])
commandList.push(["terminate a window","commands/WinKill.htm"])
commandList.push(["terminate script","commands/ExitApp.htm"])
commandList.push(["ternary operator (?:)","Variables.htm#ternary"])
commandList.push(["Text controls (GUI)","commands/GuiControls.htm#Text"])
commandList.push(["Thread","commands/Thread.htm"])
commandList.push(["threads","misc/Threads.htm"])
commandList.push(["Throw","commands/Throw.htm"])
commandList.push(["time","commands/IfIs.htm"])
commandList.push(["Timer (timed subroutines)","commands/SetTimer.htm"])
commandList.push(["times and dates (compare)","commands/EnvSub.htm"])
commandList.push(["times and dates (math)","commands/EnvAdd.htm"])
commandList.push(["times and dates (of files)","commands/FileSetTime.htm"])
commandList.push(["title of a window","commands/WinSetTitle.htm"])
commandList.push(["ToolTip","commands/ToolTip.htm"])
commandList.push(["Transform","commands/Transform.htm"])
commandList.push(["transparency of a window","commands/WinSet.htm#trans"])
commandList.push(["tray icon","commands/_NoTrayIcon.htm"])
commandList.push(["tray menu (customizing)","commands/Menu.htm"])
commandList.push(["TrayTip","commands/TrayTip.htm"])
commandList.push(["TreeView controls (GUI)","commands/TreeView.htm"])
commandList.push(["Trim","commands/AutoTrim.htm"])
commandList.push(["Trim()","commands/Trim.htm"])
commandList.push(["True","Variables.htm#Boolean"])
commandList.push(["Try","commands/Try.htm"])
commandList.push(["Tutorial","Tutorial.htm"])
commandList.push(["TV_Add()","commands/TreeView.htm#TV_Add"])
commandList.push(["TV_Delete()","commands/TreeView.htm#TV_Delete"])
commandList.push(["TV_Get()","commands/TreeView.htm#TV_Get"])
commandList.push(["TV_GetChild()","commands/TreeView.htm#TV_GetChild"])
commandList.push(["TV_GetCount()","commands/TreeView.htm#TV_GetCount"])
commandList.push(["TV_GetNext()","commands/TreeView.htm#TV_GetNext"])
commandList.push(["TV_GetParent()","commands/TreeView.htm#TV_GetParent"])
commandList.push(["TV_GetPrev()","commands/TreeView.htm#TV_GetPrev"])
commandList.push(["TV_GetSelection()","commands/TreeView.htm#TV_GetSelection"])
commandList.push(["TV_GetText()","commands/TreeView.htm#TV_GetText"])
commandList.push(["TV_Modify()","commands/TreeView.htm#TV_Modify"])
commandList.push(["TV_SetImageList()","commands/TreeView.htm#TV_SetImageList"])
commandList.push(["Unicode text and clipboard","commands/Transform.htm"])
commandList.push(["Until","commands/Until.htm"])
commandList.push(["UpDown controls (GUI)","commands/GuiControls.htm#UpDown"])
commandList.push(["URLDownloadToFile","commands/URLDownloadToFile.htm"])
commandList.push(["UseHook","commands/_UseHook.htm"])
commandList.push(["user (run as a different user)","commands/RunAs.htm"])
commandList.push(["user library","Functions.htm#lib"])
commandList.push(["variables, assigning to","commands/SetEnv.htm"])
commandList.push(["variables, built-in","Variables.htm#BuiltIn"])
commandList.push(["variables, comparing them","commands/IfEqual.htm"])
commandList.push(["variables, ListVars","commands/ListVars.htm"])
commandList.push(["variables, MAIN","Variables.htm"])
commandList.push(["variables, type of data","commands/IfIs.htm"])
commandList.push(["variadic functions","Functions.htm#Variadic"])
commandList.push(["variants (duplicate hotkeys and hotstrings)","commands/_IfWinActive.htm#variant"])
commandList.push(["VarSetCapacity()","commands/VarSetCapacity.htm"])
commandList.push(["VBScript, embedded/inline","commands/DllCall.htm#COM"])
commandList.push(["version of a file","commands/FileGetVersion.htm"])
commandList.push(["virtual key","commands/Send.htm#vk"])
commandList.push(["volume (changing it)","commands/SoundSet.htm"])
commandList.push(["wait (sleep)","commands/Sleep.htm"])
commandList.push(["wait for a key to be released or pressed","commands/KeyWait.htm"])
commandList.push(["Wheel hotkeys for mouse","Hotkeys.htm#Wheel"])
commandList.push(["Wheel, simulating rotation","commands/Click.htm"])
commandList.push(["While-loop","commands/While.htm"])
commandList.push(["whitespace","commands/AutoTrim.htm"])
commandList.push(["wildcards (for files & folders)","commands/LoopFile.htm"])
commandList.push(["WinActivate","commands/WinActivate.htm"])
commandList.push(["WinActivateBottom","commands/WinActivateBottom.htm"])
commandList.push(["WinActivateForce","commands/_WinActivateForce.htm"])
commandList.push(["WinActive()","commands/WinActive.htm"])
commandList.push(["Winamp automation","misc/Winamp.htm"])
commandList.push(["WinClose","commands/WinClose.htm"])
commandList.push(["window group","misc/WinTitle.htm#ahk_group"])
commandList.push(["window messages","misc/SendMessageList.htm"])
commandList.push(["WinExist()","commands/WinExist.htm"])
commandList.push(["WinGet","commands/WinGet.htm"])
commandList.push(["WinGetActiveStats","commands/WinGetActiveStats.htm"])
commandList.push(["WinGetActiveTitle","commands/WinGetActiveTitle.htm"])
commandList.push(["WinGetClass","commands/WinGetClass.htm"])
commandList.push(["WinGetPos","commands/WinGetPos.htm"])
commandList.push(["WinGetText","commands/WinGetText.htm"])
commandList.push(["WinGetTitle","commands/WinGetTitle.htm"])
commandList.push(["WinHide","commands/WinHide.htm"])
commandList.push(["WinKill","commands/WinKill.htm"])
commandList.push(["WinLIRC, connecting to","scripts/WinLIRC.htm"])
commandList.push(["WinMaximize","commands/WinMaximize.htm"])
commandList.push(["WinMenuSelectItem","commands/WinMenuSelectItem.htm"])
commandList.push(["WinMinimize","commands/WinMinimize.htm"])
commandList.push(["WinMinimizeAll","commands/WinMinimizeAll.htm"])
commandList.push(["WinMinimizeAllUndo","commands/WinMinimizeAll.htm"])
commandList.push(["WinMove","commands/WinMove.htm"])
commandList.push(["WinRestore","commands/WinRestore.htm"])
commandList.push(["WinSet","commands/WinSet.htm"])
commandList.push(["WinSetTitle","commands/WinSetTitle.htm"])
commandList.push(["WinShow","commands/WinShow.htm"])
commandList.push(["WinSize (via WinMove)","commands/WinMove.htm"])
commandList.push(["WinTitle","misc/WinTitle.htm"])
commandList.push(["WinWait","commands/WinWait.htm"])
commandList.push(["WinWaitActive","commands/WinWaitActive.htm"])
commandList.push(["WinWaitClose","commands/WinWaitClose.htm"])
commandList.push(["WinWaitNotActive","commands/WinWaitActive.htm"])
commandList.push(["WM_* (Windows messages)","misc/SendMessageList.htm"])
commandList.push(["WM_COPYDATA","commands/OnMessage.htm#SendString"])
commandList.push(["working directory","commands/SetWorkingDir.htm"])
commandList.push(["wParam","commands/PostMessage.htm"])
commandList.push(["write file","commands/FileAppend.htm"])
commandList.push(["Write method (File object)","objects/File.htm#Write"])
commandList.push(["WS_* (GUI styles)","misc/Styles.htm"])
commandList.push(["XButton","commands/Click.htm"])
commandList.push(["YYYYMMDDHH24MISS","commands/FileSetTime.htm#YYYYMMDD"])
commandList.push(["{Blind}","commands/Send.htm#blind"])
Last edited by Masonjar13 on 03 Aug 2016, 16:57, edited 4 times in total.
lexikos
Posts: 6175
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Docs Labels

Post by lexikos » 03 Aug 2016, 16:44

When you are appending to an array, it is more efficient to use Push()...

Your script won't work as-is without Lib_1.
User avatar
Masonjar13
Posts: 1395
Joined: 20 Jul 2014, 10:16
GitHub: Masonjar13
Location: Не Россия

Re: Docs Labels

Post by Masonjar13 » 03 Aug 2016, 16:59

Push, that's what I was looking for! I've used it before, but I forgot about it. And the script doesn't require Lib_1; I've removed it.

I also added in a menu button to display all the commands and url's (minus the base url, because it looked obnoxious in the listview). The reason for this is in-case whoever is using it (myself included) doesn't know what the key is, they can look it up relatively easily.
User avatar
Exaskryz
Posts: 2873
Joined: 17 Oct 2015, 20:28

Re: Docs Labels

Post by Exaskryz » 14 Aug 2016, 20:54

Nice work Mason.

I've had this script going for a while now. I should've done an array, but this ultimately works for me, and it was easier to involve certain cases like the directives vs non-directives that had the same command names or to differentiate Hotkey (conventional) and Hotkey (command). (There is a bug currently where renaming the Yes/No buttons in a MsgBox is not working all the time, need to play around to fix it.)

I can just double click a word in the editor on this forum and press Win+1 to automatically insert a link for me. Though this was before I knew about the [docs] label, and inf act was created before we officially migrated forums, I think.

Oh, and I also made hotstrings at the bottom for gui commands, just cause the double click process doesn't work out to well that way.

Code: Select all

#SingleInstance, Force
SetTitleMatchMode, 2
#IfWinActive, AutoHotkey Community
#1::
KeyWait, LWin
Critical
temp_clip:=clipboardAll
clipboard:=""
Loop, 10
{
Send ^c
Sleep 100
}
Until clipboard
If !clipboard
    {
    Tooltip, copy error
	SetTimer, TooltipOff, -3000
	clipboard:=temp_clip
	return
	}
wrappee:=clipboard
GoSub, UnderscoreExceptions
if clipboard is not alnum ; you probably have a space at the end of the clipboard contents.
    StringTrimRight, clipboard, clipboard, 1
GoSub, UnderscoreExceptions
if clipboard is not alnum
   {
   Tooltip, not a command
   Sleep 3000
   Tooltip
   clipboard:=temp_clip
   return
   }
GoSub, PreviousURLs
MsgBox, 4,, This word wasn't found. Would you like to google search?
IfMsgBox, No
   return
Run http://www.google.com/cse?cx=010629462602499112316:ywoq_rufgic&q=%clipboard%#gsc.tab=0&gsc.q=%clipboard%&gsc.ref=more`%3Adocumentation&gsc.sort=
clipboard:=""
ClipWait, 20, 1
If !ErrorLevel
{
IfWinActive, Google Custom Search
Send ^w
Sleep 1000
}
UnderscoreExceptionsResume:
IfWinActive, AHKScript
{
StringLeft, url, clipboard, 4
If url=ahks
{
clipboard:="http://" clipboard
KeyWait,LWin
SendInput {Raw}[url=%clipboard%]%wrappee%[/url]
If (SubStr(wrappee,0)=" ")
SendInput %A_Space%
Exit
}
return
}
return

UnderscoreExceptions:
if clipboard=ahk_class
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_class"
else if clipboard=ahk_exe
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_exe"
else if clipboard=ahk_group
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_group"
else if clipboard=ahk_id
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_id"
else if clipboard=ahk_pid
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_pid"
else if clipboard=A_AhkPath
clipboard:="http://ahkscript.org/docs/Variables.htm#AhkPath"
else if clipboard=A_AhkVersion
clipboard:="http://ahkscript.org/docs/Variables.htm#AhkVersion"
else if clipboard=A_AppData
clipboard:="http://ahkscript.org/docs/Variables.htm#AppData"
else if clipboard=A_AppDataCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#AppDataCommon"
else if clipboard=A_AutoTrim
clipboard:="http://ahkscript.org/docs/Variables.htm#AutoTrim"
else if clipboard=A_BatchLines
clipboard:="http://ahkscript.org/docs/Variables.htm#BatchLines"
else if clipboard=A_CaretX
clipboard:="http://ahkscript.org/docs/Variables.htm#Caret"
else if clipboard=A_CaretY
clipboard:="http://ahkscript.org/docs/Variables.htm#Caret"
else if clipboard=A_ComputerName
clipboard:="http://ahkscript.org/docs/Variables.htm#ComputerName"
else if clipboard=A_ControlDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#ControlDelay"
else if clipboard=A_Cursor
clipboard:="http://ahkscript.org/docs/Variables.htm#Cursor"
else if clipboard=A_DD
clipboard:="http://ahkscript.org/docs/Variables.htm#DD"
else if (clipboard="A_DDD" || clipboard="A_DDDD") ; if clipboard=A_DDD if clipboard=A_DDDD
clipboard:="http://ahkscript.org/docs/Variables.htm#DDDD"
else if clipboard=A_DefaultGui
clipboard:="http://ahkscript.org/docs/Variables.htm#DefaultGUI"
else if clipboard=A_DefaultListView
clipboard:="http://ahkscript.org/docs/Variables.htm#DefaultListView"
else if clipboard=A_DefaultMouseSpeed
clipboard:="http://ahkscript.org/docs/Variables.htm#DefaultMouseSpeed"
else if clipboard=A_DefaultTreeView
clipboard:="http://ahkscript.org/docs/Variables.htm#DefaultTreeView"
else if clipboard=A_Desktop
clipboard:="http://ahkscript.org/docs/Variables.htm#Desktop"
else if clipboard=A_DesktopCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#DesktopCommon"
else if clipboard=A_DetectHiddenText
clipboard:="http://ahkscript.org/docs/Variables.htm#DetectHiddenText"
else if clipboard=A_DetectHiddenWindows
clipboard:="http://ahkscript.org/docs/Variables.htm#DetectHiddenWindows"
else if clipboard=A_EndChar
clipboard:="http://ahkscript.org/docs/Variables.htm#EndChar"
else if clipboard=A_EventInfo
clipboard:="http://ahkscript.org/docs/Variables.htm#EventInfo"
else if clipboard=A_ExitReason
clipboard:="http://ahkscript.org/docs/Variables.htm#ExitReason"
else if clipboard=A_FileEncoding
clipboard:="http://ahkscript.org/docs/Variables.htm#FileEncoding"
else if clipboard=A_FormatFloat
clipboard:="http://ahkscript.org/docs/Variables.htm#FormatFloat"
else if clipboard=A_FormatInteger
clipboard:="http://ahkscript.org/docs/Variables.htm#FormatInteger"
else if clipboard=A_Gui
clipboard:="http://ahkscript.org/docs/Variables.htm#Gui"
else if clipboard=A_GuiControl
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiControl"
else if clipboard=A_GuiControlEvent
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiControlEvent"
else if clipboard=A_GuiEvent
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiEvent"
else if clipboard=A_GuiHeight
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiWidth"
else if clipboard=A_GuiWidth
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiWidth"
else if clipboard=A_GuiX
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiX"
else if clipboard=A_GuiY
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiY"
else if clipboard=A_Hour
clipboard:="http://ahkscript.org/docs/Variables.htm#Hour"
else if clipboard=A_IconFile
clipboard:="http://ahkscript.org/docs/Variables.htm#IconFile"
else if clipboard=A_IconHidden
clipboard:="http://ahkscript.org/docs/Variables.htm#IconHidden"
else if clipboard=A_IconNumber
clipboard:="http://ahkscript.org/docs/Variables.htm#IconNumber"
else if clipboard=A_IconTip
clipboard:="http://ahkscript.org/docs/Variables.htm#IconTip"
else if clipboard=A_Index
clipboard:="http://ahkscript.org/docs/commands/Loop.htm"
else if clipboard=A_Is64bitOS
clipboard:="http://ahkscript.org/docs/Variables.htm#Is64bitOS"
else if clipboard=A_IsAdmin
clipboard:="http://ahkscript.org/docs/Variables.htm#IsAdmin"
else if clipboard=A_IsCompiled
clipboard:="http://ahkscript.org/docs/Variables.htm#IsCompiled"
else if clipboard=A_IsCritical
clipboard:="http://ahkscript.org/docs/Variables.htm#IsCritical"
else if clipboard=A_IsPaused
clipboard:="http://ahkscript.org/docs/Variables.htm#IsPaused"
else if clipboard=A_IsSuspended
clipboard:="http://ahkscript.org/docs/Variables.htm#IsSuspended"
else if clipboard=A_IsUnicode
clipboard:="http://ahkscript.org/docs/Variables.htm#IsUnicode"
else if ((clipboard="A_KeyDelay") || (clipboard="A_KeyDuration"))
clipboard:="http://ahkscript.org/docs/Variables.htm#KeyDelay"
else if ((clipboard="A_KeyDelayPlay") || (clipboard="A_KeyDurationPlay"))
clipboard:="http://ahkscript.org/docs/Variables.htm#KeyDelayPlay"
else if clipboard=A_Language
clipboard:="http://ahkscript.org/docs/Variables.htm#Language"
else if clipboard=A_LastError
clipboard:="http://ahkscript.org/docs/Variables.htm#LastError"
else if clipboard=A_LineFile
clipboard:="http://ahkscript.org/docs/Variables.htm#LineFile"
else if clipboard=A_LineNumber
clipboard:="http://ahkscript.org/docs/Variables.htm#LineNumber"
else if clipboard=A_LoopField
clipboard:="http://ahkscript.org/docs/commands/LoopParse.htm#LoopField"
else if clipboard=A_LoopFileAttrib
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileAttrib"
else if clipboard=A_LoopFileDir
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileDir"
else if clipboard=A_LoopFileExt
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileExt"
else if clipboard=A_LoopFileFullPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileFullPath"
else if clipboard=A_LoopFileLongPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileLongPath"
else if clipboard=A_LoopFileName
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileName"
else if clipboard=A_LoopFileShortName
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileShortName"
else if clipboard=A_LoopFileShortPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileShortPath"
else if clipboard=A_LoopFileSize
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSize"
else if clipboard=A_LoopFileSizeKB
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSizeKB"
else if clipboard=A_LoopFileSizeMB
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSizeMB"
else if clipboard=A_LoopFileTimeAccessed
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeAccessed"
else if clipboard=A_LoopFileTimeCreated
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeCreated"
else if clipboard=A_LoopFileTimeModified
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeModified"
else if clipboard=A_LoopReadLine
clipboard:="http://ahkscript.org/docs/commands/LoopReadFile.htm#LoopReadLine"
else if clipboard=A_LoopRegKey
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=A_LoopRegName
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=A_LoopRegSubKey
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=A_LoopRegTimeModified
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=A_LoopRegType
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=A_MDay
clipboard:="http://ahkscript.org/docs/Variables.htm#DD"
else if clipboard=A_Min
clipboard:="http://ahkscript.org/docs/Variables.htm#Min"
else if clipboard=A_MM
clipboard:="http://ahkscript.org/docs/Variables.htm#MM"
else if clipboard=A_MMM
clipboard:="http://ahkscript.org/docs/Variables.htm#MMM"
else if clipboard=A_MMMM
clipboard:="http://ahkscript.org/docs/Variables.htm#MMMM"
else if clipboard=A_Mon
clipboard:="http://ahkscript.org/docs/Variables.htm#MM"
else if ((clipboard="A_MouseDelay") || (clipboard="A_MouseDelayPlay"))
clipboard:="http://ahkscript.org/docs/Variables.htm#MouseDelay"
else if clipboard=A_MSec
clipboard:="http://ahkscript.org/docs/Variables.htm#MSec"
else if clipboard=A_MyDocuments
clipboard:="http://ahkscript.org/docs/Variables.htm#MyDocuments"
else if clipboard=A_Now
clipboard:="http://ahkscript.org/docs/Variables.htm#Now"
else if clipboard=A_NowUTC
clipboard:="http://ahkscript.org/docs/Variables.htm#NowUTC"
else if clipboard=A_NumBatchLines
clipboard:="http://ahkscript.org/docs/Variables.htm#BatchLines"
else if clipboard=A_OSType
clipboard:="http://ahkscript.org/docs/Variables.htm#OSType"
else if clipboard=A_OSVersion
clipboard:="http://ahkscript.org/docs/Variables.htm#OSVersion"
else if clipboard=A_PriorHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#PriorHotkey"
else if clipboard=A_PriorKey
clipboard:="http://ahkscript.org/docs/Variables.htm#PriorKey"
else if clipboard=A_ProgramFiles
clipboard:="http://ahkscript.org/docs/Variables.htm#ProgramFiles"
else if clipboard=A_Programs
clipboard:="http://ahkscript.org/docs/Variables.htm#Programs"
else if clipboard=A_ProgramsCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#ProgramsCommon"
else if clipboard=A_PtrSize
clipboard:="http://ahkscript.org/docs/Variables.htm#PtrSize"
else if clipboard=A_RegView
clipboard:="http://ahkscript.org/docs/Variables.htm#RegView"
else if clipboard=A_ScreenDPI
clipboard:="http://ahkscript.org/docs/Variables.htm#ScreenDPI"
else if clipboard=A_ScreenHeight
clipboard:="http://ahkscript.org/docs/Variables.htm#Screen"
else if clipboard=A_ScreenWidth
clipboard:="http://ahkscript.org/docs/Variables.htm#Screen"
else if clipboard=A_ScriptDir
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptDir"
else if clipboard=A_ScriptFullPath
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptFullPath"
else if clipboard=A_ScriptHwnd
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptHwnd"
else if clipboard=A_ScriptName
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptName"
else if clipboard=A_Sec
clipboard:="http://ahkscript.org/docs/Variables.htm#Sec"
else if clipboard=A_SendLevel
clipboard:="http://ahkscript.org/docs/Variables.htm#SendLevel"
else if clipboard=A_SendMode
clipboard:="http://ahkscript.org/docs/Variables.htm#SendMode"
else if clipboard=A_Space
clipboard:="http://ahkscript.org/docs/Variables.htm#Space"
else if clipboard=A_StartMenu
clipboard:="http://ahkscript.org/docs/Variables.htm#StartMenu"
else if clipboard=A_StartMenuCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#StartMenuCommon"
else if clipboard=A_Startup
clipboard:="http://ahkscript.org/docs/Variables.htm#Startup"
else if clipboard=A_StartupCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#StartupCommon"
else if clipboard=A_StringCaseSense
clipboard:="http://ahkscript.org/docs/Variables.htm#StringCaseSense"
else if clipboard=A_Tab
clipboard:="http://ahkscript.org/docs/Variables.htm#Tab"
else if clipboard=A_Temp
clipboard:="http://ahkscript.org/docs/Variables.htm#Temp"
else if clipboard=A_ThisFunc
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisFunc"
else if clipboard=A_ThisHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisHotkey"
else if clipboard=A_ThisLabel
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisLabel"
else if clipboard=A_ThisMenu
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenu"
else if clipboard=A_ThisMenuItem
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenuItem"
else if clipboard=A_ThisMenuItemPos
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenuItemPos"
else if clipboard=A_TickCount
clipboard:="http://ahkscript.org/docs/Variables.htm#TickCount"
else if clipboard=A_TimeIdle
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeIdle"
else if clipboard=A_TimeIdlePhysical
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeIdlePhysical"
else if clipboard=A_TimeSincePriorHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeSincePriorHotkey"
else if clipboard=A_TimeSinceThisHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeSinceThisHotkey"
else if clipboard=A_TitleMatchMode
clipboard:="http://ahkscript.org/docs/Variables.htm#TitleMatchMode"
else if clipboard=A_TitleMatchModeSpeed
clipboard:="http://ahkscript.org/docs/Variables.htm#TitleMatchModeSpeed"
else if clipboard=A_UserName
clipboard:="http://ahkscript.org/docs/Variables.htm#UserName"
else if clipboard=A_WDay
clipboard:="http://ahkscript.org/docs/Variables.htm#WDay"
else if clipboard=A_WinDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#WinDelay"
else if clipboard=A_WinDir
clipboard:="http://ahkscript.org/docs/Variables.htm#WinDir"
else if clipboard=A_WorkingDir
clipboard:="http://ahkscript.org/docs/Variables.htm#WorkingDir"
else if clipboard=A_YDay
clipboard:="http://ahkscript.org/docs/Variables.htm#YDay"
else if clipboard=A_Year
clipboard:="http://ahkscript.org/docs/Variables.htm#YYYY"
else if clipboard=A_YWeek
clipboard:="http://ahkscript.org/docs/Variables.htm#YWeek"
else if clipboard=A_YYYY
clipboard:="http://ahkscript.org/docs/Variables.htm#YYYY"
else if clipboard=HKEY_CLASSES_ROOT
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=HKEY_CURRENT_CONFIG
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=HKEY_CURRENT_USER
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=HKEY_LOCAL_MACHINE
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=HKEY_USERS
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if (clipboard="IL_Add()" || clipboard="IL_Add") ;;; end the automation
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#IL_Add"
else if (clipboard="IL_Create()" || clipboard="IL_Ceate")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#IL_Create"
else if (clipboard="IL_Destroy()" || clipboard="IL_Destroy")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#IL_Destroy"
else if (clipboard="LV_Add()" || clipboard="LV_Add")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_Add"
else if (clipboard="LV_Delete()" || clipboard="LV_Delete")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_Delete"
else if (clipboard="LV_DeleteCol()" || clipboard="LV_DeleteCol")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_DeleteCol"
else if (clipboard="LV_GetCount()" || clipboard="LV_GetCount")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_GetCount"
else if (clipboard="LV_GetNext()" || clipboard="LV_GetNext")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_GetNext"
else if (clipboard="LV_GetText()" || clipboard="LV_GetText")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_GetText"
else if (clipboard="LV_Insert()" || clipboard="LV_Insert")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_Insert"
else if (clipboard="LV_InsertCol()" || clipboard="LV_InsertCol")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_InsertCol"
else if (clipboard="LV_Modify()" || clipboard="LV_Modify")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_Modify"
else if (clipboard="LV_ModifyCol()" || clipboard="LV_ModifyCol")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_ModifyCol"
else if (clipboard="LV_SetImageList()" || clipboard="LV_SetImageList")
clipboard:="http://ahkscript.org/docs/commands/ListView.htm#LV_SetImageList"
else if clipboard=Reference-Counting
clipboard:="http://ahkscript.org/docs/Objects.htm#Refs"
else if clipboard=REG_BINARY
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=REG_DWORD
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=REG_EXPAND_SZ
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=REG_MULTI_SZ
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=REG_SZ
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if (clipboard="SB_SetIcon()" || clipboard="SB_SetIcon")
clipboard:="http://ahkscript.org/docs/commands/GuiControls.htm#SB_SetIcon"
else if (clipboard="SB_SetParts()" || clipboard="SB_SetParts")
clipboard:="http://ahkscript.org/docs/commands/GuiControls.htm#SB_SetParts"
else if (clipboard="SB_SetText()" || clipboard="SB_SetText")
clipboard:="http://ahkscript.org/docs/commands/GuiControls.htm#SB_SetText"
else if (clipboard="TV_Add()" || clipboard="TV_Add")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_Add"
else if (clipboard="TV_Delete()" || clipboard="TV_Delete")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_Delete"
else if (clipboard="TV_Get()" || clipboard="TV_Get")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_Get"
else if (clipboard="TV_GetChild()" || clipboard="TV_GetChild")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetChild"
else if (clipboard="TV_GetCount()" || clipboard="TV_GetCount")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetCount"
else if (clipboard="TV_GetNext()" || clipboard="TV_GetNext")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetNext"
else if (clipboard="TV_GetParent()" || clipboard="TV_GetParent") ;;;;; This is where the automation is implemented
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetParent"
else if (clipboard="TV_GetPrev()" || clipboard="TV_GetPrev")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetPrev"
else if (clipboard="TV_GetSelection()" || clipboard="TV_GetSelection")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetSelection"
else if (clipboard="TV_GetText()" || clipboard="TV_GetText")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_GetText"
else if (clipboard="TV_Modify()" || clipboard="TV_Modify")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_Modify"
else if (clipboard="TV_SetImageList()" || clipboard="TV_SetImageList")
clipboard:="http://ahkscript.org/docs/commands/TreeView.htm#TV_SetImageList"
else if clipboard=WM_COPYDATA
clipboard:="http://ahkscript.org/docs/commands/OnMessage.htm#SendString"
; if clipboard=IL_Add()
; if clipboard=IL_Create()
; if clipboard=IL_Destroy()
; if clipboard=LV_Add()
; if clipboard=LV_Delete()
; if clipboard=LV_DeleteCol()
; if clipboard=LV_GetCount()
; if clipboard=LV_GetNext()
; if clipboard=LV_GetText()
; if clipboard=LV_Insert()
; if clipboard=LV_InsertCol()
; if clipboard=LV_Modify()
; if clipboard=LV_ModifyCol()
; if clipboard=LV_SetImageList()
; if clipboard=SB_SetIcon()
; if clipboard=SB_SetParts()
; if clipboard=SB_SetText()
; if clipboard=TV_Add()
; if clipboard=TV_Delete()
; if clipboard=TV_Get()
; if clipboard=TV_GetChild()
; if clipboard=TV_GetCount()
; if clipboard=TV_GetNext()
; if clipboard=TV_GetParent()
; if clipboard=TV_GetPrev()
; if clipboard=TV_GetSelection()
; if clipboard=TV_GetText()
; if clipboard=TV_Modify()
; if clipboard=TV_SetImageList()


else
return
SetTimer, UnderscoreExceptionsResume, -10
Exit

PreviousURLs:
if clipboard=While ; if clipboard=While-loop
clipboard:="http://ahkscript.org/docs/commands/While.htm"
else if((clipboard="Modifier") || (clipboard="Modifiers"))
clipboard:="http://ahkscript.org/docs/Hotkeys.htm#Symbols"
else if clipboard=GetKeyState
clipboard:="http://ahkscript.org/docs/commands/GetKeyState.htm"
else if clibpoard=Break
clipboard:="http://ahkscript.org/docs/commands/Break.htm"
else if clipboard=StringReplace
clipboard:="http://ahkscript.org/docs/commands/StringSplit.htm" 
else if clipboard=MsgBox
clipboard:="http://ahkscript.org/docs/commands/MsgBox.htm"
else if ((clipboard="StringLower") || (clipboard="StringUpper"))
clipboard:="http://ahkscript.org/docs/commands/StringLower.htm"
else if ((clipboard="StringLeft") || (clipboard="StringRight") || (clipboard="SubStr"))
clipboard:="http://ahkscript.org/docs/commands/StringLeft.htm"
else if clipboard=WinWait
clipboard:="http://ahkscript.org/docs/commands/WinWait.htm"
else if clipboard=WinGetPos
clipboard:="http://ahkscript.org/docs/commands/WinGetPos.htm"
else if clibpoard=MouseGetPos
clipboard:="http://ahkscript.org/docs/commands/MouseGetPos.htm"
else if clipboard=If
{
SetTimer, ChangeControlsIf, -50
MsgBox,4, CCIF, Would you like #If or If?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/_If.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/commands/IfExpression.htm"
}
else if clipboard=Tooltip
clipboard:="http://ahkscript.org/docs/commands/ToolTip.htm"
else if clipboard=CoordMode
{
SetTimer, ChangeControlsCM, -50
MsgBox,4, CCCM, Would you like CoordMode or A_CoordMode?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/CoordMode.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/Variables.htm#CoordMode"
}
else if ((clipboard="StringTrimLeft") || (clipboard="StringTrimRight"))
clipboard:="http://ahkscript.org/docs/commands/StringTrimLeft.htm"
else if clipboard=Persistent
clipboard:="http://ahkscript.org/docs/commands/_Persistent.htm"
else if ((clipboard="Operator") || (clipboard="Operators"))
clipboard:="http://ahkscript.org/docs/Variables.htm#Operators"
else if clipboard=Input
clipboard:="http://ahkscript.org/docs/commands/Input.htm"
else if clipboard=return
clipboard:="http://ahkscript.org/docs/commands/Return.htm"
else if clipboard=Loop
clipboard:="http://ahkscript.org/docs/commands/Loop.htm"
else if ((clipboard="Send") || (clipboard="SendInput") || (clipboard="SendRaw") || (clipboard="SendEvent") || (clipboard="SendPlay"))
clipboard:="http://ahkscript.org/docs/commands/Send.htm"
else if ((clipboard="Hotkeys") || (clipboard="Hotkey"))
{
SetTimer, ChangeControlsHK, -50
MsgBox,4,CCHK, Would you like Common Hotkeys or the Hotkey Command?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/Hotkeys.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/commands/Hotkey.htm"
}
else if clipboard=Sleep
clipboard:="http://ahkscript.org/docs/commands/Sleep.htm"
else if clipboard=SetKeyDelay
clipboard:="http://ahkscript.org/docs/commands/SetKeyDelay.htm"
else if clipboard=KeyWait
clipboard:="http://ahkscript.org/docs/commands/KeyWait.htm"
else if clipboard=operator
clipboard:="http://ahkscript.org/docs/Variables.htm#Operators"
else if ((clipboard="variables") || (clipboard="variable"))
{
SetTimer, ChangeControlsVar, -50
MsgBox,4,CCVar, Would you like General Variables or Built-In Variables?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/Variables.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/Variables.htm#BuiltIn"
}
else if clipboard=InputBox
clipboard:="http://ahkscript.org/docs/commands/InputBox.htm"
else if clipboard=Click
clipboard:="http://ahkscript.org/docs/commands/Click.htm"
else if clipboard=SetTimer
clipboard:="http://ahkscript.org/docs/commands/SetTimer.htm"
else if ((clipboard="SetCapslockState") || (clipboard="SetNumlockState") || (clipboard="SetScrolllockState"))
clipboard:="http://ahkscript.org/docs/commands/SetNumScrollCapsLockState.htm"
else if clipboard=escape
clipboard:="http://ahkscript.org/docs/commands/_EscapeChar.htm"
else if clipboard=critical
clipboard:="http://ahkscript.org/docs/commands/Critical.htm"
else if clipboard=thread
clipboard:="http://ahkscript.org/docs/commands/Thread.htm"
else if clipboard=PixelGetColor
clipboard:="http://ahkscript.org/docs/commands/PixelGetColor.htm"
else if clipboard=WinWaitActive
clipboard:="http://ahkscript.org/docs/commands/WinWaitActive.htm"
else if clipboard=SetTitleMatchMode
clipboard:="http://ahkscript.org/docs/commands/SetTitleMatchMode.htm"
else if (clipboard="Hotstrings" || clipboard="Hotstring")
{
SetTimer, ChangeControlsHS, -50
MsgBox,4,CCHS, Would you like #Hotstring or Hotstring/s?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/_Hotstring.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/Hotstrings.htm"
}
else if clipboard=SoundPlay
clipboard:="http://ahkscript.org/docs/commands/SoundPlay.htm"
else if clipboard=SoundBeep
clipboard:="http://ahkscript.org/docs/commands/SoundBeep.htm"
else if clipboard=Break
clipboard:="http://ahkscript.org/docs/commands/Break.htm"
else if ((clipboard="WinWaitActive") || (clipboard="WinWaitNotAcitve"))
clipboard:="http://ahkscript.org/docs/commands/WinWaitActive.htm"
else if clipboard=FileCopy
clipboard:="http://ahkscript.org/docs/commands/FileCopy.htm"
else if clipboard=DetectHiddenWindows
clipboard:="http://ahkscript.org/docs/commands/DetectHiddenWindows.htm"
else if clipboard=ImageSearch
clipboard:="http://ahkscript.org/docs/commands/ImageSearch.htm"
else if ((clipboard="IfWinActive") || (clipboard="IfWinNotActive"))
{
SetTimer, ChangeControlsIWA, -50
MsgBox,4,CCIWA, Would you like #IfWin(Not)Active or IfWin(Not)Active?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/_IfWinActive.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/commands/IfWinActive.htm"
}
else if clipboard=WinActive
clipboard:="http://ahkscript.org/docs/commands/WinActive.htm"
else if clipboard=ControlSend
clipboard:="http://ahkscript.org/docs/commands/ControlSend.htm"
else if clipboard=KeyList
clipboard:="http://ahkscript.org/docs/KeyList.htm"
else if clipboard=WinTitle
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm"
else if clipboard=GoSub
clipboard:="http://ahkscript.org/docs/commands/Gosub.htm"
else if clipboard=WinWaitClose
clipboard:="http://ahkscript.org/docs/commands/WinWaitClose.htm"
else if clipboard=IfWinExist
{
SetTimer, ChangeControlsIWE, -50
MsgBox,4,CCIWE, Would you like #IfWinExist or IfWinExist?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/_IfWinActive.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/commands/IfWinExist.htm"
}
else if clipboard=SetFormat
clipboard:="http://ahkscript.org/docs/commands/SetFormat.htm"
else if clipboard=WinGet
clipboard:="http://ahkscript.org/docs/commands/WinGet.htm"
else if clipboard=Parse
clipboard:="http://ahkscript.org/docs/commands/LoopParse.htm"
else if ((clipboard="contain") || (clipboard="contains") || (clipboard="in"))
clipboard:="http://ahkscript.org/docs/commands/IfIn.htm"
else if clipboard=WinClose
clipboard:="http://ahkscript.org/docs/commands/WinClose.htm"
else if clipboard=StrLen
clipboard:="http://ahkscript.org/docs/commands/StringLen.htm"
else if clipboard=ExitApp
clipboard:="http://ahkscript.org/docs/commands/ExitApp.htm"
else if clipboard=execute
clipboard:="http://ahkscript.org/docs/Scripts.htm#auto"
else if clipboard=WinSet
clipboard:="http://ahkscript.org/docs/commands/WinSet.htm"
else if clipboard=ControlSend
clipboard:="http://ahkscript.org/docs/commands/ControlClick.htm"
else if clipboard=Run
clipboard:="http://ahkscript.org/docs/commands/Run.htm"
else if ((clipboard="Block") || (clipboard="Brace") || (clipboard="Blocks") || (clipboard="Braces"))
clipboard:="http://ahkscript.org/docs/commands/Block.htm"
else if clipboard=MouseGetPos
clipboard:="http://ahkscript.org/docs/commands/MouseGetPos.htm"
else if clipboard=MouseClick
clipboard:="http://ahkscript.org/docs/commands/MouseClick.htm"
else if clipboard=MouseMove
clipboard:="http://ahkscript.org/docs/commands/MouseMove.htm"
else if clipboard=Remap
clipboard:="http://ahkscript.org/docs/misc/Remap.htm"
else if clipboard=PixelSearch
clipboard:="http://ahkscript.org/docs/commands/PixelSearch.htm"
else if clipboard=Process
clipboard:="http://ahkscript.org/docs/commands/Process.htm"
else if clipboard=WinKill
clipboard:="http://ahkscript.org/docs/commands/WinKill.htm"
else if clipboard=WinGetTitle
clipboard:="http://ahkscript.org/docs/commands/WinGetTitle.htm"
else if clipboard=WinMove
clipboard:="http://ahkscript.org/docs/commands/WinMove.htm"
else if ((clipboard="PostMessage") || (clipboard="SendMessage"))
clipboard:="http://ahkscript.org/docs/commands/PostMessage.htm"
else if clipboard=ControlClick
clipboard:="http://ahkscript.org/docs/commands/ControlClick.htm"
else if clipboard=Ternary
clipboard:="http://www.autohotkey.com/board/topic/27201-vxes-guide-to-the-ternary-operator/"
else if ((clipboard="Expression") || (clipboard="Expressions"))
clipboard:="http://ahkscript.org/docs/Variables.htm#Expressions"
else if clipboard=ControlGetFocus
clipboard:="http://ahkscript.org/docs/commands/ControlGetFocus.htm"
else if clipboard=Suspend
clipboard:="http://ahkscript.org/docs/commands/Suspend.htm"
else if clipboard=GUI
clipboard:="http://ahkscript.org/docs/commands/Gui.htm"
else if clipboard=FileReadLine
clipboard:="http://ahkscript.org/docs/commands/FileReadLine.htm"
else if clipboard=FileRead
clipboard:="http://ahkscript.org/docs/commands/FileRead.htm"
else if clipboard=Else
clipboard:="http://ahkscript.org/docs/commands/Else.htm"
else if clipboard=WinGetText
clipboard:="http://ahkscript.org/docs/commands/WinGetText.htm"
else if clipboard=Hotstring
clipboard:="http://ahkscript.org/docs/commands/_Hotstring.htm"
else if clipboard=Read
{
SetTimer, ChangeControlsR, -50
MsgBox,4,CCR,Would you like Loop Read or Read Method?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/LoopReadFile.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/objects/File.htm#Read"
}
else if clipboard=Text
clipboard:="http://ahkscript.org/docs/commands/GuiControls.htm#Text"
else if clipboard=Button
clipboard:="http://ahkscript.org/docs/commands/GuiControls.htm#Button"





; The below were obtained from source code on ahkscript.org/docs and parsing it
else if clipboard=AhkPath
clipboard:="http://ahkscript.org/docs/Variables.htm#AhkPath"
else if clipboard=AhkVersion
clipboard:="http://ahkscript.org/docs/Variables.htm#AhkVersion"
else if clipboard=AppData
clipboard:="http://ahkscript.org/docs/Variables.htm#AppData"
else if clipboard=AppDataCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#AppDataCommon"
else if clipboard=AutoTrim
clipboard:="http://ahkscript.org/docs/Variables.htm#AutoTrim"
else if clipboard=BatchLines
clipboard:="http://ahkscript.org/docs/Variables.htm#BatchLines"
else if clipboard=CaretX
clipboard:="http://ahkscript.org/docs/Variables.htm#Caret"
else if clipboard=CaretY
clipboard:="http://ahkscript.org/docs/Variables.htm#Caret"
else if clipboard=ComputerName
clipboard:="http://ahkscript.org/docs/Variables.htm#ComputerName"
else if clipboard=ControlDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#ControlDelay"
else if clipboard=Cursor
clipboard:="http://ahkscript.org/docs/Variables.htm#Cursor"
else if clipboard=DD
clipboard:="http://ahkscript.org/docs/Variables.htm#DD"
else if clipboard=DDD
clipboard:="http://ahkscript.org/docs/Variables.htm#DDDD"
else if clipboard=DefaultMouseSpeed
clipboard:="http://ahkscript.org/docs/Variables.htm#DefaultMouseSpeed"
else if clipboard=Desktop
clipboard:="http://ahkscript.org/docs/Variables.htm#Desktop"
else if clipboard=DesktopCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#DesktopCommon"
else if clipboard=DetectHiddenText
clipboard:="http://ahkscript.org/docs/Variables.htm#DetectHiddenText"
else if clipboard=DetectHiddenWindows
clipboard:="http://ahkscript.org/docs/Variables.htm#DetectHiddenWindows"
else if clipboard=EndChar
clipboard:="http://ahkscript.org/docs/Variables.htm#EndChar"
else if clipboard=EventInfo
clipboard:="http://ahkscript.org/docs/Variables.htm#EventInfo"
else if clipboard=ExitReason
clipboard:="http://ahkscript.org/docs/Variables.htm#ExitReason"
else if clipboard=FileEncoding
clipboard:="http://ahkscript.org/docs/Variables.htm#FileEncoding"
else if clipboard=FormatFloat
clipboard:="http://ahkscript.org/docs/Variables.htm#FormatFloat"
else if clipboard=FormatInteger
clipboard:="http://ahkscript.org/docs/Variables.htm#FormatInteger"
else if clipboard=Gui
clipboard:="http://ahkscript.org/docs/Variables.htm#Gui"
else if clipboard=GuiControl
{
SetTimer, ChangeControlsGUIC, -50
MsgBox,4,GUIC, Would you like the Command or A_Variable?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/GuiControl.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiControl"
}
else if clipboard=GuiControlEvent
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiControlEvent"
else if clipboard=GuiEvent
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiEvent"
else if clipboard=GuiHeight
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiWidth"
else if clipboard=GuiWidth
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiWidth"
else if clipboard=GuiX
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiX"
else if clipboard=GuiY
clipboard:="http://ahkscript.org/docs/Variables.htm#GuiY"
else if clipboard=Hour
clipboard:="http://ahkscript.org/docs/Variables.htm#Hour"
else if clipboard=IconFile
clipboard:="http://ahkscript.org/docs/Variables.htm#IconFile"
else if clipboard=IconHidden
clipboard:="http://ahkscript.org/docs/Variables.htm#IconHidden"
else if clipboard=IconNumber
clipboard:="http://ahkscript.org/docs/Variables.htm#IconNumber"
else if clipboard=IconTip
clipboard:="http://ahkscript.org/docs/Variables.htm#IconTip"
else if clipboard=Index
clipboard:="http://ahkscript.org/docs/commands/Loop.htm"
else if clipboard=Is64bitOS
clipboard:="http://ahkscript.org/docs/Variables.htm#Is64bitOS"
else if clipboard=IsAdmin
clipboard:="http://ahkscript.org/docs/Variables.htm#IsAdmin"
else if clipboard=IsCompiled
clipboard:="http://ahkscript.org/docs/Variables.htm#IsCompiled"
else if clipboard=IsCritical
clipboard:="http://ahkscript.org/docs/Variables.htm#IsCritical"
else if clipboard=IsPaused
clipboard:="http://ahkscript.org/docs/Variables.htm#IsPaused"
else if clipboard=IsSuspended
clipboard:="http://ahkscript.org/docs/Variables.htm#IsSuspended"
else if clipboard=IsUnicode
clipboard:="http://ahkscript.org/docs/Variables.htm#IsUnicode"
else if clipboard=KeyDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#KeyDelay"
else if clipboard=Language
clipboard:="http://ahkscript.org/docs/Variables.htm#Language"
else if clipboard=LastError
clipboard:="http://ahkscript.org/docs/Variables.htm#LastError"
else if clipboard=LineFile
clipboard:="http://ahkscript.org/docs/Variables.htm#LineFile"
else if clipboard=LineNumber
clipboard:="http://ahkscript.org/docs/Variables.htm#LineNumber"
else if clipboard=LoopField
clipboard:="http://ahkscript.org/docs/commands/LoopParse.htm#LoopField"
else if clipboard=LoopFileAttrib
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileAttrib"
else if clipboard=LoopFileDir
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileDir"
else if clipboard=LoopFileExt
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileExt"
else if clipboard=LoopFileFullPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileFullPath"
else if clipboard=LoopFileLongPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileLongPath"
else if clipboard=LoopFileName
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileName"
else if clipboard=LoopFileShortName
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileShortName"
else if clipboard=LoopFileShortPath
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileShortPath"
else if clipboard=LoopFileSize
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSize"
else if clipboard=LoopFileSizeKB
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSizeKB"
else if clipboard=LoopFileSizeMB
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileSizeMB"
else if clipboard=LoopFileTimeAccessed
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeAccessed"
else if clipboard=LoopFileTimeCreated
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeCreated"
else if clipboard=LoopFileTimeModified
clipboard:="http://ahkscript.org/docs/commands/LoopFile.htm#LoopFileTimeModified"
else if clipboard=LoopReadLine
clipboard:="http://ahkscript.org/docs/commands/LoopReadFile.htm#LoopReadLine"
else if clipboard=LoopRegKey
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=LoopRegName
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=LoopRegSubKey
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=LoopRegTimeModified
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=LoopRegType
clipboard:="http://ahkscript.org/docs/commands/LoopReg.htm#vars"
else if clipboard=MDay
clipboard:="http://ahkscript.org/docs/Variables.htm#DD"
else if clipboard=Min
clipboard:="http://ahkscript.org/docs/Variables.htm#Min"
else if clipboard=MM
clipboard:="http://ahkscript.org/docs/Variables.htm#MM"
else if clipboard=MMM
clipboard:="http://ahkscript.org/docs/Variables.htm#MMM"
else if clipboard=MMMM
clipboard:="http://ahkscript.org/docs/Variables.htm#MMMM"
else if clipboard=Mon
clipboard:="http://ahkscript.org/docs/Variables.htm#MM"
else if clipboard=MouseDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#MouseDelay"
else if clipboard=MSec
clipboard:="http://ahkscript.org/docs/Variables.htm#MSec"
else if clipboard=MyDocuments
clipboard:="http://ahkscript.org/docs/Variables.htm#MyDocuments"
else if clipboard=Now
clipboard:="http://ahkscript.org/docs/Variables.htm#Now"
else if clipboard=NowUTC
clipboard:="http://ahkscript.org/docs/Variables.htm#NowUTC"
else if clipboard=NumBatchLines
clipboard:="http://ahkscript.org/docs/Variables.htm#BatchLines"
else if clipboard=OSType
clipboard:="http://ahkscript.org/docs/Variables.htm#OSType"
else if clipboard=OSVersion
clipboard:="http://ahkscript.org/docs/Variables.htm#OSVersion"
else if clipboard=PriorHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#PriorHotkey"
else if clipboard=PriorKey
clipboard:="http://ahkscript.org/docs/Variables.htm#PriorKey"
else if clipboard=ProgramFiles
clipboard:="http://ahkscript.org/docs/Variables.htm#ProgramFiles"
else if clipboard=Programs
clipboard:="http://ahkscript.org/docs/Variables.htm#Programs"
else if clipboard=ProgramsCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#ProgramsCommon"
else if clipboard=PtrSize
clipboard:="http://ahkscript.org/docs/Variables.htm#PtrSize"
else if clipboard=RegView
clipboard:="http://ahkscript.org/docs/Variables.htm#RegView"
else if clipboard=ScreenDPI
clipboard:="http://ahkscript.org/docs/Variables.htm#ScreenDPI"
else if clipboard=ScreenHeight
clipboard:="http://ahkscript.org/docs/Variables.htm#Screen"
else if clipboard=ScreenWidth
clipboard:="http://ahkscript.org/docs/Variables.htm#Screen"
else if clipboard=ScriptDir
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptDir"
else if clipboard=ScriptFullPath
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptFullPath"
else if clipboard=ScriptHwnd
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptHwnd"
else if clipboard=ScriptName
clipboard:="http://ahkscript.org/docs/Variables.htm#ScriptName"
else if clipboard=Sec
clipboard:="http://ahkscript.org/docs/Variables.htm#Sec"
else if clipboard=Space
clipboard:="http://ahkscript.org/docs/Variables.htm#Space"
else if clipboard=StartMenu
clipboard:="http://ahkscript.org/docs/Variables.htm#StartMenu"
else if clipboard=StartMenuCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#StartMenuCommon"
else if clipboard=Startup
clipboard:="http://ahkscript.org/docs/Variables.htm#Startup"
else if clipboard=StartupCommon
clipboard:="http://ahkscript.org/docs/Variables.htm#StartupCommon"
else if clipboard=StringCaseSense
clipboard:="http://ahkscript.org/docs/Variables.htm#StringCaseSense"
else if clipboard=Tab
clipboard:="http://ahkscript.org/docs/Variables.htm#Tab"
else if clipboard=Temp
clipboard:="http://ahkscript.org/docs/Variables.htm#Temp"
else if clipboard=ThisFunc
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisFunc"
else if clipboard=ThisHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisHotkey"
else if clipboard=ThisLabel
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisLabel"
else if clipboard=ThisMenu
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenu"
else if clipboard=ThisMenuItem
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenuItem"
else if clipboard=ThisMenuItemPos
clipboard:="http://ahkscript.org/docs/Variables.htm#ThisMenuItemPos"
else if clipboard=TickCount
clipboard:="http://ahkscript.org/docs/Variables.htm#TickCount"
else if clipboard=TimeIdle
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeIdle"
else if clipboard=TimeIdlePhysical
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeIdlePhysical"
else if clipboard=TimeSincePriorHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeSincePriorHotkey"
else if clipboard=TimeSinceThisHotkey
clipboard:="http://ahkscript.org/docs/Variables.htm#TimeSinceThisHotkey"
else if clipboard=TitleMatchMode
clipboard:="http://ahkscript.org/docs/Variables.htm#TitleMatchMode"
else if clipboard=TitleMatchModeSpeed
clipboard:="http://ahkscript.org/docs/Variables.htm#TitleMatchModeSpeed"
else if clipboard=UserName
clipboard:="http://ahkscript.org/docs/Variables.htm#UserName"
else if clipboard=WDay
clipboard:="http://ahkscript.org/docs/Variables.htm#WDay"
else if clipboard=WinDelay
clipboard:="http://ahkscript.org/docs/Variables.htm#WinDelay"
else if clipboard=WinDir
clipboard:="http://ahkscript.org/docs/Variables.htm#WinDir"
else if clipboard=WorkingDir
clipboard:="http://ahkscript.org/docs/Variables.htm#WorkingDir"
else if clipboard=YDay
clipboard:="http://ahkscript.org/docs/Variables.htm#YDay"
else if clipboard=Year
clipboard:="http://ahkscript.org/docs/Variables.htm#YYYY"
else if clipboard=YWeek
clipboard:="http://ahkscript.org/docs/Variables.htm#YWeek"
else if clipboard=YYYY
clipboard:="http://ahkscript.org/docs/Variables.htm#YYYY"
else if clipboard=alnum
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=alpha
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=AlwaysOnTop
clipboard:="http://ahkscript.org/docs/commands/WinSet.htm"
else if clipboard=Arrays
clipboard:="http://autohotkey.com/docs/Objects.htm"
else if clipboard=BlockInput
clipboard:="http://ahkscript.org/docs/commands/BlockInput.htm"
else if clipboard=Break
clipboard:="http://ahkscript.org/docs/commands/Break.htm"
else if clipboard=buffering
clipboard:="http://ahkscript.org/docs/commands/_MaxThreadsBuffer.htm"
else if clipboard=Catch
clipboard:="http://ahkscript.org/docs/commands/Catch.htm"
else if clipboard=Clipboard
clipboard:="http://ahkscript.org/docs/misc/Clipboard.htm"
else if clipboard=ClipboardAll
clipboard:="http://ahkscript.org/docs/misc/Clipboard.htm#ClipboardAll"
else if clipboard=ClipWait
clipboard:="http://ahkscript.org/docs/commands/ClipWait.htm"
else if clipboard=COM
clipboard:="http://ahkscript.org/docs/commands/ComObjCreate.htm"
else if clipboard=ComSpec
clipboard:="http://ahkscript.org/docs/Variables.htm#ComSpec"
else if clipboard=Continue
clipboard:="http://ahkscript.org/docs/commands/Continue.htm"
else if clipboard=Control
clipboard:="http://ahkscript.org/docs/commands/Control.htm"
else if clipboard=ControlClick
clipboard:="http://ahkscript.org/docs/commands/ControlClick.htm"
else if clipboard=ControlFocus
clipboard:="http://ahkscript.org/docs/commands/ControlFocus.htm"
else if clipboard=ControlGet
clipboard:="http://ahkscript.org/docs/commands/ControlGet.htm"
else if clipboard=ControlGetFocus
clipboard:="http://ahkscript.org/docs/commands/ControlGetFocus.htm"
else if clipboard=ControlGetPos
clipboard:="http://ahkscript.org/docs/commands/ControlGetPos.htm"
else if clipboard=ControlGetText
clipboard:="http://ahkscript.org/docs/commands/ControlGetText.htm"
else if clipboard=ControlMove
clipboard:="http://ahkscript.org/docs/commands/ControlMove.htm"
else if clipboard=ControlSend
clipboard:="http://ahkscript.org/docs/commands/ControlSend.htm"
else if clipboard=ControlSendRaw
clipboard:="http://ahkscript.org/docs/commands/ControlSend.htm"
else if clipboard=ControlSetText
clipboard:="http://ahkscript.org/docs/commands/ControlSetText.htm"
else if clipboard=CoordMode
clipboard:="http://ahkscript.org/docs/commands/CoordMode.htm"
else if clipboard=Critical
clipboard:="http://ahkscript.org/docs/commands/Critical.htm"
else if clipboard=debugger
clipboard:="http://ahkscript.org/docs/commands/OutputDebug.htm"
else if clipboard=Delimiter
clipboard:="http://ahkscript.org/docs/commands/_EscapeChar.htm"
else if clipboard=DerefChar
clipboard:="http://ahkscript.org/docs/commands/_EscapeChar.htm"
else if clipboard=DetectHiddenText
clipboard:="http://ahkscript.org/docs/commands/DetectHiddenText.htm"
else if clipboard=DetectHiddenWindows
clipboard:="http://ahkscript.org/docs/commands/DetectHiddenWindows.htm"
else if clipboard=digit
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=Drive
clipboard:="http://ahkscript.org/docs/commands/Drive.htm"
else if clipboard=DriveGet
clipboard:="http://ahkscript.org/docs/commands/DriveGet.htm"
else if clipboard=DriveSpaceFree
clipboard:="http://ahkscript.org/docs/commands/DriveSpaceFree.htm"
else if clipboard=Edit
clipboard:="http://ahkscript.org/docs/commands/Edit.htm"
else if clipboard=Else
clipboard:="http://ahkscript.org/docs/commands/Else.htm"
else if clipboard=EnvAdd
clipboard:="http://ahkscript.org/docs/commands/EnvAdd.htm"
else if clipboard=EnvDiv
clipboard:="http://ahkscript.org/docs/commands/EnvDiv.htm"
else if clipboard=EnvGet
clipboard:="http://ahkscript.org/docs/commands/EnvGet.htm"
else if clipboard=EnvMult
clipboard:="http://ahkscript.org/docs/commands/EnvMult.htm"
else if clipboard=EnvSet
clipboard:="http://ahkscript.org/docs/commands/EnvSet.htm"
else if clipboard=EnvSub
clipboard:="http://ahkscript.org/docs/commands/EnvSub.htm"
else if clipboard=EnvUpdate
clipboard:="http://ahkscript.org/docs/commands/EnvUpdate.htm"
else if clipboard=ErrorLevel
clipboard:="http://ahkscript.org/docs/misc/ErrorLevel.htm"
else if clipboard=ErrorStdOut
clipboard:="http://ahkscript.org/docs/commands/_ErrorStdOut.htm"
else if clipboard=EscapeChar
clipboard:="http://ahkscript.org/docs/commands/_EscapeChar.htm"
else if clipboard=Exit
clipboard:="http://ahkscript.org/docs/commands/Exit.htm"
else if clipboard=ExitApp
clipboard:="http://ahkscript.org/docs/commands/ExitApp.htm"
else if clipboard=expressions
clipboard:="http://ahkscript.org/docs/Variables.htm#Expressions"
else if clipboard=False
clipboard:="http://ahkscript.org/docs/Variables.htm#Boolean"
else if clipboard=FileAppend
clipboard:="http://ahkscript.org/docs/commands/FileAppend.htm"
else if clipboard=FileCopy
clipboard:="http://ahkscript.org/docs/commands/FileCopy.htm"
else if clipboard=FileCopyDir
clipboard:="http://ahkscript.org/docs/commands/FileCopyDir.htm"
else if clipboard=FileCreateDir
clipboard:="http://ahkscript.org/docs/commands/FileCreateDir.htm"
else if clipboard=FileCreateShortcut
clipboard:="http://ahkscript.org/docs/commands/FileCreateShortcut.htm"
else if clipboard=FileDelete
clipboard:="http://ahkscript.org/docs/commands/FileDelete.htm"
else if clipboard=FileEncoding
clipboard:="http://ahkscript.org/docs/commands/FileEncoding.htm"
else if clipboard=FileGetAttrib
clipboard:="http://ahkscript.org/docs/commands/FileGetAttrib.htm"
else if clipboard=FileGetShortcut
clipboard:="http://ahkscript.org/docs/commands/FileGetShortcut.htm"
else if clipboard=FileGetSize
clipboard:="http://ahkscript.org/docs/commands/FileGetSize.htm"
else if clipboard=FileGetTime
clipboard:="http://ahkscript.org/docs/commands/FileGetTime.htm"
else if clipboard=FileGetVersion
clipboard:="http://ahkscript.org/docs/commands/FileGetVersion.htm"
else if clipboard=FileInstall
clipboard:="http://ahkscript.org/docs/commands/FileInstall.htm"
else if clipboard=FileMove
clipboard:="http://ahkscript.org/docs/commands/FileMove.htm"
else if clipboard=FileMoveDir
clipboard:="http://ahkscript.org/docs/commands/FileMoveDir.htm"
else if clipboard=FileOpen
clipboard:="http://ahkscript.org/docs/commands/FileOpen.htm"
else if clipboard=FileRead
clipboard:="http://ahkscript.org/docs/commands/FileRead.htm"
else if clipboard=FileReadLine
clipboard:="http://ahkscript.org/docs/commands/FileReadLine.htm"
else if clipboard=FileRecycle
clipboard:="http://ahkscript.org/docs/commands/FileRecycle.htm"
else if clipboard=FileRecycleEmpty
clipboard:="http://ahkscript.org/docs/commands/FileRecycleEmpty.htm"
else if clipboard=FileRemoveDir
clipboard:="http://ahkscript.org/docs/commands/FileRemoveDir.htm"
else if clipboard=FileSelectFile
clipboard:="http://ahkscript.org/docs/commands/FileSelectFile.htm"
else if clipboard=FileSelectFolder
clipboard:="http://ahkscript.org/docs/commands/FileSelectFolder.htm"
else if clipboard=FileSetAttrib
clipboard:="http://ahkscript.org/docs/commands/FileSetAttrib.htm"
else if clipboard=FileSetTime
clipboard:="http://ahkscript.org/docs/commands/FileSetTime.htm"
else if clipboard=Finally
clipboard:="http://ahkscript.org/docs/commands/Finally.htm"
else if clipboard=focus
clipboard:="http://ahkscript.org/docs/commands/ControlFocus.htm"
else if clipboard=Fonts
clipboard:="http://ahkscript.org/docs/misc/FontsStandard.htm"
else if clipboard=FormatTime
clipboard:="http://ahkscript.org/docs/commands/FormatTime.htm"
else if clipboard=GetKeyState
clipboard:="http://ahkscript.org/docs/commands/GetKeyState.htm"
else if clipboard=Gosub
clipboard:="http://ahkscript.org/docs/commands/Gosub.htm"
else if clipboard=Goto
clipboard:="http://ahkscript.org/docs/commands/Goto.htm"
else if clipboard=group
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm#ahk_group"
else if clipboard=GroupActivate
clipboard:="http://ahkscript.org/docs/commands/GroupActivate.htm"
else if clipboard=GroupAdd
clipboard:="http://ahkscript.org/docs/commands/GroupAdd.htm"
else if clipboard=GroupClose
clipboard:="http://ahkscript.org/docs/commands/GroupClose.htm"
else if clipboard=GroupDeactivate
clipboard:="http://ahkscript.org/docs/commands/GroupDeactivate.htm"
else if clipboard=Gui
clipboard:="http://ahkscript.org/docs/commands/Gui.htm"
else if clipboard=GuiControlGet
clipboard:="http://ahkscript.org/docs/commands/GuiControlGet.htm"
else if clipboard=hook
clipboard:="http://ahkscript.org/docs/commands/_InstallKeybdHook.htm"
else if clipboard=Hotkey
clipboard:="http://ahkscript.org/docs/Hotkeys.htm"
else if clipboard=HotkeyInterval
clipboard:="http://ahkscript.org/docs/commands/_HotkeyInterval.htm"
else if clipboard=HotkeyModifierTimeout
clipboard:="http://ahkscript.org/docs/commands/_HotkeyModifierTimeout.htm"
else if clipboard=If
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfEqual
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfExist
clipboard:="http://ahkscript.org/docs/commands/IfExist.htm"
else if clipboard=IfGreater
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfGreaterOrEqual
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfInString
clipboard:="http://ahkscript.org/docs/commands/IfInString.htm"
else if clipboard=IfLess
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfLessOrEqual
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfMsgBox
clipboard:="http://ahkscript.org/docs/commands/IfMsgBox.htm"
else if clipboard=IfNotEqual
clipboard:="http://ahkscript.org/docs/commands/IfEqual.htm"
else if clipboard=IfNotExist
clipboard:="http://ahkscript.org/docs/commands/IfExist.htm"
else if clipboard=IfNotInString
clipboard:="http://ahkscript.org/docs/commands/IfInString.htm"
else if clipboard=IfWinActive
clipboard:="http://ahkscript.org/docs/commands/WinActive.htm"
else if clipboard=IfWinExist
clipboard:="http://ahkscript.org/docs/commands/WinExist.htm"
else if clipboard=IfWinNotActive
clipboard:="http://ahkscript.org/docs/commands/WinActive.htm"
else if clipboard=IfWinNotExist
{
SetTimer, ChangeControlsIWNE, -50
MsgBox,4,CCIWNE, Would you like #IfWinNotExist or IfWinNotExist?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/commands/_IfWinActive.htm"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/commands/WinExist.htm"
}
else if clipboard=ImageSearch
clipboard:="http://ahkscript.org/docs/commands/ImageSearch.htm"
else if clipboard=Include
clipboard:="http://ahkscript.org/docs/commands/_Include.htm"
else if clipboard=IniDelete
clipboard:="http://ahkscript.org/docs/commands/IniDelete.htm"
else if clipboard=IniRead
clipboard:="http://ahkscript.org/docs/commands/IniRead.htm"
else if clipboard=IniWrite
clipboard:="http://ahkscript.org/docs/commands/IniWrite.htm"
else if clipboard=Input
clipboard:="http://ahkscript.org/docs/commands/Input.htm"
else if clipboard=InputBox
clipboard:="http://ahkscript.org/docs/commands/InputBox.htm"
else if clipboard=Install
clipboard:="http://ahkscript.org/docs/commands/FileInstall.htm"
else if clipboard=InstallKeybdHook
clipboard:="http://ahkscript.org/docs/commands/_InstallKeybdHook.htm"
else if clipboard=InstallMouseHook
clipboard:="http://ahkscript.org/docs/commands/_InstallMouseHook.htm"
else if clipboard=Interrupt
clipboard:="http://ahkscript.org/docs/commands/Thread.htm"
else if clipboard=Joystick
clipboard:="http://ahkscript.org/docs/KeyList.htm#Joystick"
else if clipboard=KeyHistory
clipboard:="http://ahkscript.org/docs/commands/KeyHistory.htm"
else if clipboard=KeyWait
clipboard:="http://ahkscript.org/docs/commands/KeyWait.htm"
else if (clipboard="labels" || clipboard="label")
clipboard:="http://ahkscript.org/docs/misc/Labels.htm"
else if clipboard=license
clipboard:="http://ahkscript.org/docs/license.htm"
else if clipboard=ListHotkeys
clipboard:="http://ahkscript.org/docs/commands/ListHotkeys.htm"
else if clipboard=ListLines
clipboard:="http://ahkscript.org/docs/commands/ListLines.htm"
else if clipboard=ListVars
clipboard:="http://ahkscript.org/docs/commands/ListVars.htm"
else if clipboard=Locale
clipboard:="http://ahkscript.org/docs/commands/StringCaseSense.htm#Locale"
else if clipboard=logoff
clipboard:="http://ahkscript.org/docs/commands/Shutdown.htm"
else if clipboard=Loop
clipboard:="http://ahkscript.org/docs/commands/Loop.htm"
else if clipboard=lParam
clipboard:="http://ahkscript.org/docs/commands/PostMessage.htm"
else if clipboard=macro
clipboard:="http://ahkscript.org/docs/misc/Macros.htm"
else if clipboard=MaxHotkeysPerInterval
clipboard:="http://ahkscript.org/docs/commands/_MaxHotkeysPerInterval.htm"
else if clipboard=MaxThreads
clipboard:="http://ahkscript.org/docs/commands/_MaxThreads.htm"
else if clipboard=MaxThreadsBuffer
clipboard:="http://ahkscript.org/docs/commands/_MaxThreadsBuffer.htm"
else if clipboard=MaxThreadsPerHotkey
clipboard:="http://ahkscript.org/docs/commands/_MaxThreadsPerHotkey.htm"
else if clipboard=Menu
clipboard:="http://ahkscript.org/docs/commands/Menu.htm"
else if clipboard=MenuMaskKey
clipboard:="http://ahkscript.org/docs/commands/_MenuMaskKey.htm"
else if clipboard=MouseClick
clipboard:="http://ahkscript.org/docs/commands/MouseClick.htm"
else if clipboard=MouseClickDrag
clipboard:="http://ahkscript.org/docs/commands/MouseClickDrag.htm"
else if clipboard=MouseGetPos
clipboard:="http://ahkscript.org/docs/commands/MouseGetPos.htm"
else if clipboard=MouseMove
clipboard:="http://ahkscript.org/docs/commands/MouseMove.htm"
else if clipboard=MsgBox
clipboard:="http://ahkscript.org/docs/commands/MsgBox.htm"
else if clipboard=multiply
clipboard:="http://ahkscript.org/docs/commands/EnvMult.htm"
else if clipboard=NoTimers
clipboard:="http://ahkscript.org/docs/commands/Thread.htm"
else if clipboard=NoTrayIcon
clipboard:="http://ahkscript.org/docs/commands/_NoTrayIcon.htm"
else if clipboard=number
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=NumGet
clipboard:="http://ahkscript.org/docs/commands/NumGet.htm"
else if clipboard=NumPut
clipboard:="http://ahkscript.org/docs/commands/NumPut.htm"
else if (clipboard="Objects" || clipboard="Object")
clipboard:="http://autohotkey.com/docs/Objects.htm"
else if clipboard=OnClipboardChange
clipboard:="http://ahkscript.org/docs/commands/OnClipboardChange.htm"
else if clipboard=OnExit
clipboard:="http://ahkscript.org/docs/commands/OnExit.htm"
else if clipboard=OutputDebug
clipboard:="http://ahkscript.org/docs/commands/OutputDebug.htm"
else if clipboard=Pause
clipboard:="http://ahkscript.org/docs/commands/Pause.htm"
else if clipboard=PixelGetColor
clipboard:="http://ahkscript.org/docs/commands/PixelGetColor.htm"
else if clipboard=PixelSearch
clipboard:="http://ahkscript.org/docs/commands/PixelSearch.htm"
else if clipboard=PostMessage
clipboard:="http://ahkscript.org/docs/commands/PostMessage.htm"
else if clipboard=Process
clipboard:="http://ahkscript.org/docs/commands/Process.htm"
else if clipboard=ProgramFiles
clipboard:="http://ahkscript.org/docs/Variables.htm#ProgramFiles"
else if clipboard=Progress
clipboard:="http://ahkscript.org/docs/commands/Progress.htm"
else if clipboard=Random
clipboard:="http://ahkscript.org/docs/commands/Random.htm"
else if clipboard=READONLY
clipboard:="http://ahkscript.org/docs/commands/FileGetAttrib.htm"
else if clipboard=reboot
clipboard:="http://ahkscript.org/docs/commands/Shutdown.htm"
else if clipboard=RegDelete
clipboard:="http://ahkscript.org/docs/commands/RegDelete.htm"
else if clipboard=RegRead
clipboard:="http://ahkscript.org/docs/commands/RegRead.htm"
else if clipboard=RegWrite
clipboard:="http://ahkscript.org/docs/commands/RegWrite.htm"
else if clipboard=Reload
clipboard:="http://ahkscript.org/docs/commands/Reload.htm"
else if clipboard=Return
clipboard:="http://ahkscript.org/docs/commands/Return.htm"
else if clipboard=Run
clipboard:="http://ahkscript.org/docs/commands/Run.htm"
else if clipboard=RunAs
clipboard:="http://ahkscript.org/docs/commands/RunAs.htm"
else if clipboard=RunWait
clipboard:="http://ahkscript.org/docs/commands/Run.htm"
else if clipboard=Scripts
clipboard:="http://ahkscript.org/docs/Scripts.htm"
else if clipboard=Send
clipboard:="http://ahkscript.org/docs/commands/Send.htm"
else if clipboard=SendEvent
clipboard:="http://ahkscript.org/docs/commands/Send.htm#SendEvent"
else if clipboard=SendInput
clipboard:="http://ahkscript.org/docs/commands/Send.htm#SendInputDetail"
else if clipboard=SendLevel
clipboard:="http://ahkscript.org/docs/commands/SendLevel.htm"
else if clipboard=SendMessage
clipboard:="http://ahkscript.org/docs/commands/PostMessage.htm"
else if clipboard=SendMode
clipboard:="http://ahkscript.org/docs/commands/SendMode.htm"
else if clipboard=SendPlay
clipboard:="http://ahkscript.org/docs/commands/Send.htm#SendPlayDetail"
else if clipboard=SendRaw
clipboard:="http://ahkscript.org/docs/commands/Send.htm"
else if clipboard=SetBatchLines
clipboard:="http://ahkscript.org/docs/commands/SetBatchLines.htm"
else if clipboard=SetCapsLockState
clipboard:="http://ahkscript.org/docs/commands/SetNumScrollCapsLockState.htm"
else if clipboard=SetControlDelay
clipboard:="http://ahkscript.org/docs/commands/SetControlDelay.htm"
else if clipboard=SetDefaultMouseSpeed
clipboard:="http://ahkscript.org/docs/commands/SetDefaultMouseSpeed.htm"
else if clipboard=SetEnv
clipboard:="http://ahkscript.org/docs/commands/SetEnv.htm"
else if clipboard=SetFormat
clipboard:="http://ahkscript.org/docs/commands/SetFormat.htm"
else if clipboard=SetKeyDelay
clipboard:="http://ahkscript.org/docs/commands/SetKeyDelay.htm"
else if clipboard=SetMouseDelay
clipboard:="http://ahkscript.org/docs/commands/SetMouseDelay.htm"
else if clipboard=SetNumLockState
clipboard:="http://ahkscript.org/docs/commands/SetNumScrollCapsLockState.htm"
else if clipboard=SetRegView
clipboard:="http://ahkscript.org/docs/commands/SetRegView.htm"
else if clipboard=SetScrollLockState
clipboard:="http://ahkscript.org/docs/commands/SetNumScrollCapsLockState.htm"
else if clipboard=SetStoreCapslockMode
clipboard:="http://ahkscript.org/docs/commands/SetStoreCapslockMode.htm"
else if clipboard=SetTimer
clipboard:="http://ahkscript.org/docs/commands/SetTimer.htm"
else if clipboard=SetTitleMatchMode
clipboard:="http://ahkscript.org/docs/commands/SetTitleMatchMode.htm"
else if clipboard=SetWinDelay
clipboard:="http://ahkscript.org/docs/commands/SetWinDelay.htm"
else if clipboard=SetWorkingDir
clipboard:="http://ahkscript.org/docs/commands/SetWorkingDir.htm"
else if clipboard=Shutdown
clipboard:="http://ahkscript.org/docs/commands/Shutdown.htm"
else if clipboard=SingleInstance
clipboard:="http://ahkscript.org/docs/commands/_SingleInstance.htm"
else if clipboard=Sleep
clipboard:="http://ahkscript.org/docs/commands/Sleep.htm"
else if clipboard=Sort
clipboard:="http://ahkscript.org/docs/commands/Sort.htm"
else if clipboard=SoundBeep
clipboard:="http://ahkscript.org/docs/commands/SoundBeep.htm"
else if clipboard=SoundGet
clipboard:="http://ahkscript.org/docs/commands/SoundGet.htm"
else if clipboard=SoundGetWaveVolume
clipboard:="http://ahkscript.org/docs/commands/SoundGetWaveVolume.htm"
else if clipboard=SoundPlay
clipboard:="http://ahkscript.org/docs/commands/SoundPlay.htm"
else if clipboard=SoundSet
clipboard:="http://ahkscript.org/docs/commands/SoundSet.htm"
else if clipboard=SoundSetWaveVolume
clipboard:="http://ahkscript.org/docs/commands/SoundSetWaveVolume.htm"
else if clipboard=space
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=SplashImage
clipboard:="http://ahkscript.org/docs/commands/Progress.htm"
else if clipboard=SplashTextOff
clipboard:="http://ahkscript.org/docs/commands/SplashTextOn.htm"
else if clipboard=SplashTextOn
clipboard:="http://ahkscript.org/docs/commands/SplashTextOn.htm"
else if clipboard=SplitPath
clipboard:="http://ahkscript.org/docs/commands/SplitPath.htm"
else if clipboard=StatusBarGetText
clipboard:="http://ahkscript.org/docs/commands/StatusBarGetText.htm"
else if clipboard=StatusBarWait
clipboard:="http://ahkscript.org/docs/commands/StatusBarWait.htm"
else if clipboard=StringCaseSense
clipboard:="http://ahkscript.org/docs/commands/StringCaseSense.htm"
else if clipboard=StringGetPos
clipboard:="http://ahkscript.org/docs/commands/StringGetPos.htm"
else if clipboard=StringLeft
clipboard:="http://ahkscript.org/docs/commands/StringLeft.htm"
else if clipboard=StringLen
clipboard:="http://ahkscript.org/docs/commands/StringLen.htm"
else if clipboard=StringLower
clipboard:="http://ahkscript.org/docs/commands/StringLower.htm"
else if clipboard=StringMid
clipboard:="http://ahkscript.org/docs/commands/StringMid.htm"
else if clipboard=StringReplace
clipboard:="http://ahkscript.org/docs/commands/StringReplace.htm"
else if clipboard=StringRight
clipboard:="http://ahkscript.org/docs/commands/StringLeft.htm"
else if clipboard=StringSplit
clipboard:="http://ahkscript.org/docs/commands/StringSplit.htm"
else if clipboard=StringTrimLeft
clipboard:="http://ahkscript.org/docs/commands/StringTrimLeft.htm"
else if clipboard=StringTrimRight
clipboard:="http://ahkscript.org/docs/commands/StringTrimLeft.htm"
else if clipboard=StringUpper
clipboard:="http://ahkscript.org/docs/commands/StringLower.htm"
else if clipboard=subtract
clipboard:="http://ahkscript.org/docs/commands/EnvSub.htm"
else if clipboard=Suspend
clipboard:="http://ahkscript.org/docs/commands/Suspend.htm"
else if clipboard=SysGet
clipboard:="http://ahkscript.org/docs/commands/SysGet.htm"
else if clipboard=Thread
clipboard:="http://ahkscript.org/docs/commands/Thread.htm"
else if clipboard=threads
clipboard:="http://ahkscript.org/docs/misc/Threads.htm"
else if clipboard=Throw
clipboard:="http://ahkscript.org/docs/commands/Throw.htm"
else if clipboard=time
clipboard:="http://ahkscript.org/docs/commands/IfIs.htm"
else if clipboard=ToolTip
clipboard:="http://ahkscript.org/docs/commands/ToolTip.htm"
else if clipboard=Transform
clipboard:="http://ahkscript.org/docs/commands/Transform.htm"
else if clipboard=TrayTip
clipboard:="http://ahkscript.org/docs/commands/TrayTip.htm"
else if clipboard=Trim
clipboard:="http://ahkscript.org/docs/commands/AutoTrim.htm"
else if clipboard=True
clipboard:="http://ahkscript.org/docs/Variables.htm#Boolean"
else if clipboard=Try
clipboard:="http://ahkscript.org/docs/commands/Try.htm"
else if clipboard=Tutorial
clipboard:="http://ahkscript.org/docs/Tutorial.htm"
else if clipboard=Until
clipboard:="http://ahkscript.org/docs/commands/Until.htm"
else if clipboard=URLDownloadToFile
clipboard:="http://ahkscript.org/docs/commands/URLDownloadToFile.htm"
else if clipboard=UseHook
clipboard:="http://ahkscript.org/docs/commands/_UseHook.htm"
else if clipboard=whitespace
clipboard:="http://ahkscript.org/docs/commands/AutoTrim.htm"
else if clipboard=WinActivate
clipboard:="http://ahkscript.org/docs/commands/WinActivate.htm"
else if clipboard=WinActivateBottom
clipboard:="http://ahkscript.org/docs/commands/WinActivateBottom.htm"
else if clipboard=WinActivateForce
clipboard:="http://ahkscript.org/docs/commands/_WinActivateForce.htm"
else if clipboard=WinClose
clipboard:="http://ahkscript.org/docs/commands/WinClose.htm"
else if clipboard=WinGet
clipboard:="http://ahkscript.org/docs/commands/WinGet.htm"
else if clipboard=WinGetActiveStats
clipboard:="http://ahkscript.org/docs/commands/WinGetActiveStats.htm"
else if clipboard=WinGetActiveTitle
clipboard:="http://ahkscript.org/docs/commands/WinGetActiveTitle.htm"
else if clipboard=WinGetClass
clipboard:="http://ahkscript.org/docs/commands/WinGetClass.htm"
else if clipboard=WinGetPos
clipboard:="http://ahkscript.org/docs/commands/WinGetPos.htm"
else if clipboard=WinGetText
clipboard:="http://ahkscript.org/docs/commands/WinGetText.htm"
else if clipboard=WinGetTitle
clipboard:="http://ahkscript.org/docs/commands/WinGetTitle.htm"
else if clipboard=WinHide
clipboard:="http://ahkscript.org/docs/commands/WinHide.htm"
else if clipboard=WinKill
clipboard:="http://ahkscript.org/docs/commands/WinKill.htm"
else if clipboard=WinMaximize
clipboard:="http://ahkscript.org/docs/commands/WinMaximize.htm"
else if clipboard=WinMenuSelectItem
clipboard:="http://ahkscript.org/docs/commands/WinMenuSelectItem.htm"
else if clipboard=WinMinimize
clipboard:="http://ahkscript.org/docs/commands/WinMinimize.htm"
else if clipboard=WinMinimizeAll
clipboard:="http://ahkscript.org/docs/commands/WinMinimizeAll.htm"
else if clipboard=WinMinimizeAllUndo
clipboard:="http://ahkscript.org/docs/commands/WinMinimizeAll.htm"
else if clipboard=WinMove
clipboard:="http://ahkscript.org/docs/commands/WinMove.htm"
else if clipboard=WinRestore
clipboard:="http://ahkscript.org/docs/commands/WinRestore.htm"
else if clipboard=WinSet
clipboard:="http://ahkscript.org/docs/commands/WinSet.htm"
else if clipboard=WinSetTitle
clipboard:="http://ahkscript.org/docs/commands/WinSetTitle.htm"
else if clipboard=WinShow
clipboard:="http://ahkscript.org/docs/commands/WinShow.htm"
else if clipboard=WinTitle
clipboard:="http://ahkscript.org/docs/misc/WinTitle.htm"
else if clipboard=WinWait
clipboard:="http://ahkscript.org/docs/commands/WinWait.htm"
else if clipboard=WinWaitActive
clipboard:="http://ahkscript.org/docs/commands/WinWaitActive.htm"
else if clipboard=WinWaitClose
clipboard:="http://ahkscript.org/docs/commands/WinWaitClose.htm"
else if clipboard=WinWaitNotActive
clipboard:="http://ahkscript.org/docs/commands/WinWaitActive.htm"
else if clipboard=wParam
clipboard:="http://ahkscript.org/docs/commands/PostMessage.htm"
else if clipboard=XButton
clipboard:="http://ahkscript.org/docs/commands/Click.htm"
else if clipboard=YYYYMMDDHH24MISS
clipboard:="http://ahkscript.org/docs/commands/FileSetTime.htm#YYYYMMDD"
else if clipboard=Abs
clipboard:="http://ahkscript.org/docs/Functions.htm#Abs"
else if clipboard=ACos
clipboard:="http://ahkscript.org/docs/Functions.htm#ACos"
else if clipboard=Asc
clipboard:="http://ahkscript.org/docs/Functions.htm#Asc"
else if clipboard=ASin
clipboard:="http://ahkscript.org/docs/Functions.htm#ASin"
else if clipboard=ATan
clipboard:="http://ahkscript.org/docs/Functions.htm#ATan"
else if clipboard=Bind
clipboard:="http://ahkscript.org/docs/objects/Func.htm#Bind"
else if clipboard=Call
clipboard:="http://ahkscript.org/docs/objects/Func.htm#Call"
else if clipboard=Ceil
clipboard:="http://ahkscript.org/docs/Functions.htm#Ceil"
else if clipboard=Chr
clipboard:="http://ahkscript.org/docs/Functions.htm#Chr"
else if clipboard=Clone
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Clone"
else if clipboard=ComObjActive
clipboard:="http://ahkscript.org/docs/commands/ComObjActive.htm"
else if clipboard=ComObjArray
clipboard:="http://ahkscript.org/docs/commands/ComObjArray.htm"
else if clipboard=ComObjConnect
clipboard:="http://ahkscript.org/docs/commands/ComObjConnect.htm"
else if clipboard=ComObjCreate
clipboard:="http://ahkscript.org/docs/commands/ComObjCreate.htm"
else if clipboard=ComObjError
clipboard:="http://ahkscript.org/docs/commands/ComObjError.htm"
else if clipboard=ComObjFlags
clipboard:="http://ahkscript.org/docs/commands/ComObjFlags.htm"
else if clipboard=ComObjGet
clipboard:="http://ahkscript.org/docs/commands/ComObjGet.htm"
else if clipboard=ComObjQuery
clipboard:="http://ahkscript.org/docs/commands/ComObjQuery.htm"
else if clipboard=ComObjType
clipboard:="http://ahkscript.org/docs/commands/ComObjType.htm"
else if clipboard=ComObjValue
clipboard:="http://ahkscript.org/docs/commands/ComObjValue.htm"
else if clipboard=Cos
clipboard:="http://ahkscript.org/docs/Functions.htm#Cos"
else if clipboard=Delete
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Delete"
else if clipboard=DllCall
clipboard:="http://ahkscript.org/docs/commands/DllCall.htm"
else if clipboard=Exception
clipboard:="http://ahkscript.org/docs/commands/Throw.htm#Exception"
else if clipboard=Exp
clipboard:="http://ahkscript.org/docs/Functions.htm#Exp"
else if clipboard=FileExist
clipboard:="http://ahkscript.org/docs/Functions.htm#FileExist"
else if clipboard=Floor
clipboard:="http://ahkscript.org/docs/Functions.htm#Floor"
else if clipboard=Format
clipboard:="http://ahkscript.org/docs/commands/Format.htm"
else if clipboard=Func
clipboard:="http://ahkscript.org/docs/Objects.htm#Function_References"
else if clipboard=GetAddress
clipboard:="http://ahkscript.org/docs/objects/Object.htm#GetAddress"
else if clipboard=GetCapacity
clipboard:="http://ahkscript.org/docs/objects/Object.htm#GetCapacity"
else if clipboard=GetKeyName
clipboard:="http://ahkscript.org/docs/Functions.htm#GetKeyName"
else if clipboard=GetKeySC
clipboard:="http://ahkscript.org/docs/Functions.htm#GetKeyName"
else if clipboard=GetKeyState
clipboard:="http://ahkscript.org/docs/Functions.htm#GetKeyState"
else if clipboard=GetKeyVK
clipboard:="http://ahkscript.org/docs/Functions.htm#GetKeyName"
else if clipboard=HasKey
clipboard:="http://ahkscript.org/docs/objects/Object.htm#HasKey"
else if clipboard=Insert
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Insert"
else if clipboard=InsertAt
clipboard:="http://ahkscript.org/docs/objects/Object.htm#InsertAt"
else if clipboard=InStr
clipboard:="http://ahkscript.org/docs/Functions.htm#InStr"
else if clipboard=IsByRef
clipboard:="http://ahkscript.org/docs/Functions.htm#IsByRef"
else if clipboard=IsFunc
clipboard:="http://ahkscript.org/docs/Functions.htm#IsFunc"
else if clipboard=IsLabel
clipboard:="http://ahkscript.org/docs/Functions.htm#IsLabel"
else if clipboard=IsObject
clipboard:="http://ahkscript.org/docs/Objects.htm"
else if clipboard=Length
{
SetTimer, ChangeControlsL, -50
MsgBox,4,CCIWNE, Would you like File Object Length or Object Length?
IfMsgBox, Yes
clipboard:="http://ahkscript.org/docs/objects/File.htm#Length"
IfMsgBox, No
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Length"
}
else if clipboard=Ln
clipboard:="http://ahkscript.org/docs/Functions.htm#Ln"
else if clipboard=Log
clipboard:="http://ahkscript.org/docs/Functions.htm#Log"
else if clipboard=LTrim
clipboard:="http://ahkscript.org/docs/commands/Trim.htm"
else if clipboard=MaxIndex
clipboard:="http://ahkscript.org/docs/objects/Object.htm#MinMaxIndex"
else if clipboard=MinIndex
clipboard:="http://ahkscript.org/docs/objects/Object.htm#MinMaxIndex"
else if clipboard=Mod
clipboard:="http://ahkscript.org/docs/Functions.htm#Mod"
else if clipboard=NewEnum
clipboard:="http://ahkscript.org/docs/objects/Object.htm#NewEnum"
else if clipboard=ObjAddRef
clipboard:="http://ahkscript.org/docs/commands/ObjAddRef.htm"
else if clipboard=ObjBindMethod
clipboard:="http://ahkscript.org/docs/commands/ObjBindMethod.htm"
else if clipboard=ObjClone
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Clone"
else if clipboard=ObjDelete
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Delete"
else if clipboard=ObjGetAddress
clipboard:="http://ahkscript.org/docs/objects/Object.htm#GetAddress"
else if clipboard=ObjGetCapacity
clipboard:="http://ahkscript.org/docs/objects/Object.htm#GetCapacity"
else if clipboard=ObjHasKey
clipboard:="http://ahkscript.org/docs/objects/Object.htm#HasKey"
else if clipboard=ObjInsert
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Insert"
else if clipboard=ObjInsertAt
clipboard:="http://ahkscript.org/docs/objects/Object.htm#InsertAt"
else if clipboard=ObjLength
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Length"
else if clipboard=ObjMaxIndex
clipboard:="http://ahkscript.org/docs/objects/Object.htm#MinMaxIndex"
else if clipboard=ObjMinIndex
clipboard:="http://ahkscript.org/docs/objects/Object.htm#MinMaxIndex"
else if clipboard=ObjNewEnum
clipboard:="http://ahkscript.org/docs/objects/Object.htm#NewEnum"
else if clipboard=ObjPop
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Pop"
else if clipboard=ObjPush
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Push"
else if clipboard=ObjRawSet
clipboard:="http://ahkscript.org/docs/objects/Object.htm#RawSet"
else if clipboard=ObjRelease
clipboard:="http://ahkscript.org/docs/commands/ObjAddRef.htm"
else if clipboard=ObjRemove
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Remove"
else if clipboard=ObjRemoveAt
clipboard:="http://ahkscript.org/docs/objects/Object.htm#RemoveAt"
else if clipboard=ObjSetCapacity
clipboard:="http://ahkscript.org/docs/objects/Object.htm#SetCapacity"
else if clipboard=OnMessage
clipboard:="http://ahkscript.org/docs/commands/OnMessage.htm"
else if clipboard=Ord
clipboard:="http://ahkscript.org/docs/Functions.htm#Ord"
else if clipboard=Pop
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Pop"
else if clipboard=Push
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Push"
else if clipboard=RegExMatch
clipboard:="http://ahkscript.org/docs/commands/RegExMatch.htm"
else if clipboard=RegExReplace
clipboard:="http://ahkscript.org/docs/commands/RegExReplace.htm"
else if clipboard=RegEx
clipboard:="http://autohotkey.com/docs/misc/RegEx-QuickRef.htm"
else if clipboard=RegisterCallback
clipboard:="http://ahkscript.org/docs/commands/RegisterCallback.htm"
else if clipboard=Remove
clipboard:="http://ahkscript.org/docs/objects/Object.htm#Remove"
else if clipboard=RemoveAt
clipboard:="http://ahkscript.org/docs/objects/Object.htm#RemoveAt"
else if clipboard=Round
clipboard:="http://ahkscript.org/docs/Functions.htm#Round"
else if clipboard=RTrim
clipboard:="http://ahkscript.org/docs/commands/Trim.htm"
else if clipboard=SetCapacity
clipboard:="http://ahkscript.org/docs/objects/Object.htm#SetCapacity"
else if clipboard=Sin
clipboard:="http://ahkscript.org/docs/Functions.htm#Sin"
else if clipboard=Sqrt
clipboard:="http://ahkscript.org/docs/Functions.htm#Sqrt"
else if clipboard=StrGet
clipboard:="http://ahkscript.org/docs/commands/StrPutGet.htm"
else if clipboard=StrLen
clipboard:="http://ahkscript.org/docs/commands/StringLen.htm"
else if clipboard=StrPut
clipboard:="http://ahkscript.org/docs/commands/StrPutGet.htm"
else if clipboard=StrReplace
clipboard:="http://ahkscript.org/docs/commands/StringReplace.htm"
else if clipboard=StrSplit
clipboard:="http://ahkscript.org/docs/commands/StringSplit.htm"
else if clipboard=SubStr
clipboard:="http://ahkscript.org/docs/Functions.htm#SubStr"
else if clipboard=Tan
clipboard:="http://ahkscript.org/docs/Functions.htm#Tan"
else if clipboard=Trim
clipboard:="http://ahkscript.org/docs/commands/Trim.htm"
else if clipboard=VarSetCapacity
clipboard:="http://ahkscript.org/docs/commands/VarSetCapacity.htm"
else if clipboard=WinActive
clipboard:="http://ahkscript.org/docs/commands/WinActive.htm"
else if clipboard=WinExist
clipboard:="http://ahkscript.org/docs/commands/WinExist.htm"
else if (clipboard="comment" || clipboard="comments")
clipboard:="http://ahkscript.org/docs/Scripts.htm#Comments"
else if clipboard=InputLevel
clipboard:="http://ahkscript.org/docs/commands/_InputLevel.htm"
else if (clipboard="gLabel" || clipboard="gLabels")
clipboard:="http://ahkscript.org/docs/commands/Gui.htm#Events"

; Added from the 909
else if clipboard=Blind ; else if clipboard={Blind}
clipboard:="http://ahkscript.org/docs/commands/Send.html#blind"
else if clipboard=For ; else if clipboard=For-loop
clipboard:="http://ahkscript.org/docs/commands/For.htm"
else if clipboard=coordinates
clipboard:="htto://ahkscript.org/docs/commands/CoordMode.htm"
else if clipboard=Compatibility
clipboard:="http://ahkscript.org/docs/Compat.htm"
else if clipboard=CommentFlag
clipboard:="http://ahkscript.org/docs/commands/_CommentFlag.htm"
else if clipboard=Changelog
clipboard:="http://ahkscript.org/docs/AHKL_ChangeLog.htm"
else if clipboard=callbacks
clipboard:="http://ahkscript.org/docs/commands/RegisterCallback.htm"
else if clipboard=ByRef
clipboard:="http://ahkscript.org/docs/Functions.htm#ByRef"
else if clipboard=AltGr
clipboard:="http://ahkscript.org/docs/Hotkeys.htm#AltGr"
else if clipboard=AltTab
clipboard:="http://ahkscript.org/docs/Hotkeys.htm#alttab"
else if clipboard=AllowSameLineComments
clipboard:="http://ahkscript.org/docs/commands/_AllowSameLineComments.htm"
else if clipboard=ahk2exe
clipboard:="http://ahkscript.org/docs/Scripts.htm#ahk2exe"
; if clipboard=add ; if clipboard=Acknowledgements ; if clipboard=:=
else if clipboard=Warn
clipboard:="http://ahkscript.org/docs/commands/_Warn.htm"
else if clipboard=NoEnv
clipboard:="http://ahkscript.org/docs/commands/_NoEnv.htm"
else if clipboard=MenuMaskKey
clipboard:="http://ahkscript.org/docs/commands/_MenuMaskKey.htm"
else if clipboard=MaxMem
clipboard:="http://ahkscript.org/docs/commands/_MaxMem.htm"
else if clipboard=IncludeAgain
clipboard:="http://ahkscript.org/docs/commands/_Include.htm"
else if clipboard=IfTimeout
clipboard:="http://ahkscript.org/docs/commands/_IfTimeout.htm"
else if clipboard=CommentFlag
clipboard:="http://ahkscript.org/docs/commands/_CommentFlag.htm"
else if clipboard=ClipboardTimeout
clipboard:="http://ahkscript.org/docs/commands/_ClipboardTimeout.htm"
else if clipboard=AllowSameLineComments
clipboard:="http://ahkscript.org/docs/commands/_AllowSameLineComments.htm"
; else if clipboard=Reference-Counting
else if (clipboard="function" || clipboard="functions")
clipboard:="http://autohotkey.com/docs/Functions.htm"
else if clipboard=custom
clipboard:="http://autohotkey.com/docs/Hotkeys.htm#Features"
else if ((clipboard="HBITMAP") || (clipboard="HICON"))
clipboard:="http://autohotkey.com/docs/misc/ImageHandles.htm"
else if clipboard=LoadPicture
clipboard:="http://autohotkey.com/docs/commands/LoadPicture.htm"
else if clipboard=MenuGetHandle
clipboard:="http://autohotkey.com/docs/commands/MenuGetHandle.htm"
else if clipboard=MenuGetName
clipboard:="http://autohotkey.com/docs/commands/MenuGetName.htm"
else if clipboard=RawRead
clipboard:="http://autohotkey.com/docs/objects/File.htm#RawRead"
else if clipboard=RawWrite
clipboard:="http://autohotkey.com/docs/objects/File.htm#RawWrite"
else if clipboard=Write
clipboard:="http://autohotkey.com/docs/objects/File.htm#Write"







StringLeft, url, clipboard, 4
If url=http
{
KeyWait,LWin
SendInput {Raw}[url=%clipboard%]%wrappee%[/url]
If (SubStr(wrappee,0)=" ")
SendInput %A_Space%
Exit
}
return

TooltipOff:
Tooltip
return

ChangeControlsIWA:
ChangeMsgBoxBinary("CCIWA",A_ThisLabel,"#IfWinActive","IfWinActive")
return

ChangeControlsIWE:
ChangeMsgBoxBinary("CCIWE",A_ThisLabel,"#IfWinExist","IfWinExist")
return

ChangeControlsIWNE:
ChangeMsgBoxBinary("CCIWNE",A_ThisLabel,"#IfWinNotExist","IfWinNotExist")
return

ChangeControlsIf: ; Quick set of buttons for the MsgBox that appears when I get a reminder
ChangeMsgBoxBinary("CCIF",A_ThisLabel,"#If","If")
return

ChangeControlsHK:
ChangeMsgBoxBinary("CCHK",A_ThisLabel,"Common Hotkeys","Hotkey Command")
return

ChangeControlsHS:
ChangeMsgBoxBinary("CCHS",A_ThisLabel,"#Hotstring","Hotstring/s")
return

ChangeControlsCM:
ChangeMsgBoxBinary("CCCM",A_ThisLabel,"CoordMode","A_CoordMode")
return

ChangeControlsL:
ChangeMsgBoxBinary("CCL",A_ThisLabel,"File Object","Object")
return

ChangeControlsR:
ChangeMsgBoxBinary("CCR",A_ThisLabel,"Loop Read","Read Method")
return
/*
IfWinNotExist, CCIF
   return
SetTimer, ChangeControlsIf, Off
WinActivate
ControlSetText, Button1, #If
ControlSetText, Button2, If
return
*/

ChangeControlsVar:
ChangeMsgBoxBinary("CCVar",A_ThisLabel,"General Variables","Built-In Variables")
return

ChangeControlsGUIC:
ChangeMsgBoxBinary("GUIC",A_ThisLabel,"Command","A_Variable")
return


ChangeMsgBoxBinary(Title,Label,Option1,Option2){
IfWinNotExist, %Title%
   return
SetTimer, %Label%, Off
WinMove, %Title%,,800, 450, 300, 140
ControlSetText, Button1, %Option1%
ControlSetText, Button2, %Option2%
ControlMove, Button1, 10, 110, 140, 25
ControlMove, Button2, 150, 110, 140, 25
WinActivate
return
}

#If
; well, some hotstrings

::gui-text::
::gui-edit::
::gui-updown::
::gui-picture::
::gui-button::
::gui-checkbox::
::gui-radio::
::gui-dropdownlist::
::gui-combobox::
::gui-listbox::
::gui-listview::
::gui-treeview::
::gui-link::
::gui-hotkey::
::gui-datetime::
::gui-monthcal::
::gui-slider::
::gui-progress::
::gui-groupbox::
::gui-tab::
::gui-statusbar::
::gui-activex::
::gui-custom::
name:=extension:=SubStr(A_ThisLabel,7)
StringUpper, name, name, T
SendInput {Raw}[url=http://autohotkey.com/docs/commands/GuiControls.htm#%extension%]Gui, %name%[/url] control%A_EndChar%
return

::gui-new::
::gui-add::
::gui-show::
::gui-submit::
::gui-cancel::
::gui-hide::
::gui-destroy::
::gui-font::
::gui-color::
::gui-margin::
;   ::gui-options::
;   ::gui-styles::
::gui-menu::
::gui-minimize::
::gui-maximize::
::gui-restore::
::gui-flash::
::gui-default::
::gui-position::
::gui-events::
::gui-guiclose::
::gui-guiescape::
::gui-guisize::
::gui-guicontextmenu::
::gui-guidropfiles::
::gui-multiple::
name:=SubStr(A_ThisLabel,7)
If name=Hide
extension=Cancel
;else if name=styles
;extension=options
else if name=maximize
extension=Minimize
else if name=restore
extension=Minimize
else if name=multiple
extension=MultiWin
else
extension:=name
StringUpper, name, name, T
SendInput {Raw}[url=http://autohotkey.com/docs/commands/Gui.htm#%name%]Gui, %name%[/url] command%A_EndChar%
return

::gui-options::
::gui-styles::
name:=SubStr(A_ThisLabel,7)
SetTimer, ChangeControlsGUIO, 500
MsgBox,4, GUIO,Is this for Windows or Controls?
IfMsgBox Yes
SendInput {Raw}[url=http://autohotkey.com/docs/commands/Gui.htm#Options]Gui %name%[/url]%A_EndChar%
else
SendInput {Raw}[url=http://autohotkey.com/docs/commands/Gui.htm#OtherOptions]Gui control %name%[/url]%A_EndChar%
return

ChangeControlsGUIO:
ChangeMsgBoxBinary("GUIO",A_ThisLabel,"Windows","Controls")
return

User avatar
jmeneses
Posts: 450
Joined: 28 Oct 2014, 11:09
Location: Catalan Republic

Re: Docs Labels

Post by jmeneses » 31 Aug 2016, 10:29

My script based on the MasonJar13

Code: Select all

#NoEnv
#SingleInstance force
#Persistent
#include <commandList>

for i,a in commandList        
	ComBoList .= a[1] "|"

Gui, Font, cBlue S12, Tahoma Bold 
Gui, Add, Text, , Previous Text
Gui, Add, Edit, w750 h25 R3 Limit80 gAct vpreTEXT
Gui, Add, ComboBox, vSel w320 r5 gAC, %ComBoList%
Gui, Add, Text, , URL
Gui, Add, Edit, ReadOnly w700 h25 R1 Limit80 gAct vURL
Gui, Add, Text, , Later Text
Gui, Add, Edit, w750 h25 R3 Limit80 gAct vpostTEXT   

Gui, Font, cRed S12, Tahoma Bold 
Gui, Add, Text, y+50 cRed, Result
Gui, Add, Edit, w750 h25 R3 cNavy Limit80 vTEXT
Gui, Add, Button, xp+260  y+30 0x8000 w55 h25 gOK Default, &OK
Gui, Show, AutoSize, AHK Forum URL
Return

AC:                                     
Sel := CbAutoComplete()    
If Sel	    
 for i,a in commandList{
    if(a[1]=Sel){
       URL:="[url=https://autohotkey.com/docs/" a[2] "]" Sel "[/url]"    
       ControlSetText, Edit3, % URL , AHK Forum URL
       break
    }
} 

Return

act:
OK:
Gui, Submit, Nohide
ControlGetText, TEXT    , Edit1, AHK Forum URL
ControlGetText, URL     , Edit3, AHK Forum URL
ControlGetText, postTEXT, Edit4, AHK Forum URL

;oTEXT:=  opreTEXT " [url=" oURL "]" opostTEXT "[/url]"
TEXT:=  preTEXT
/*
If (URL) 	
   TEXT .=  " [url=" URL "]" 
If (postTEXT)
   TEXT .=  postTEXT "[/url]"
*/
If (URL) 	
   TEXT .=  " " URL
If (postTEXT)
   TEXT .=  " " postTEXT 

ControlSetText, Edit5, % TEXT, AHK Forum URL
If (A_ThisLabel=="OK")     {
   ClipBoard := TEXT
   ExitApp
}
Return

GuiEscape:
GuiClose:
ExitApp
Credits !!!
Use a script CbAutoComplete of Pulover

Code: Select all

;=======================================================================================
;
; Function:      CbAutoComplete
; Description:   Auto-completes typed values in a ComboBox.
;
; Author:        Pulover [Rodolfo U. Batista]
; Usage:         Call the function from the Combobox's gLabel.
;
;=======================================================================================
CbAutoComplete()
{	; CB_GETEDITSEL = 0x0140, CB_SETEDITSEL = 0x0142
	If ((GetKeyState("Delete", "P")) || (GetKeyState("Backspace", "P")))
		Return
	GuiControlGet, lHwnd, Hwnd, %A_GuiControl%
	SendMessage, 0x0140, 0, 0,, ahk_id %lHwnd%
	MakeShort(ErrorLevel, Start, End)
	GuiControlGet, CurContent,, %lHwnd%
	GuiControl, ChooseString, %A_GuiControl%, %CurContent%
	If (ErrorLevel)
	{
		ControlSetText,, %CurContent%, ahk_id %lHwnd%
		PostMessage, 0x0142, 0, MakeLong(Start, End),, ahk_id %lHwnd%  
		Return CurContent
	}
	GuiControlGet, CurContent,, %lHwnd%
	PostMessage, 0x0142, 0, MakeLong(Start, StrLen(CurContent)),, ahk_id %lHwnd%
  Return CurContent
}

MakeLong(LoWord, HiWord)
{
	return (HiWord << 16) | (LoWord & 0xffff)
}

MakeShort(Long, ByRef LoWord, ByRef HiWord)
{
    LoWord := Long & 0xffff
,   HiWord := Long >> 16
}
Donec Perficiam
JJohnston2
Posts: 193
Joined: 24 Jun 2015, 23:38

Re: Docs Labels

Post by JJohnston2 » 16 Dec 2016, 19:44

Got this to run... thanks for posting. I like the auto-fill combo-box.
Post Reply

Return to “Forum Issues”