if winc_presses > 0 ; SetTimer already started, so we log the keypress instead. The AutoHotkey Community forum is the primary source of support for AutoHotkey. The script will open a GUI where you can select the AHK v1 script to convert. exe on the command line and pass the script's filename as a command-line parameter. com/playlist?list=PLQBdjw2QsRzMsASp There are several ways to do this, including: Right-click the script in Explorer and select Run with UI access. AutoHotkey V2 documentation; V2 tutorial by tidbit Nov 26, 2020 · AutoHotkey Foundation; ↳ About This Community; ↳ Forum Issues; AutoHotkey (v2, current version) ↳ Ask for Help (v2) ↳ Gaming; ↳ Scripts and Functions (v2) ↳ Gaming; ↳ Tutorials (v2) ↳ Tips and Tricks; ↳ Wish List; ↳ Suggestions on Documentation Improvements; ↳ Bug Reports; ↳ AutoHotkey Development; ↳ AutoHotkey_H Documentation & Tutorials Documentation (de - 帮助 - 한국어) Community tutorials (Forums) Community tutorials (Archive forum) YouTube AutoHotkey tutorials Book (work in progress) Rosettacode (code examples) 日本語 AutoHotkey Wiki (Japanese, ahkwiki. 01:43 The vscode extension you should be using: https://youtu. It supports not only the popular imperative-procedural paradigm, but also object-oriented and command-based programming. This script makes Ctrl+2 (or another hotkey of your choice) show the help file page for the selected AutoHotkey function or keyword. AutoHotkey provides a simple, flexible syntax allowing you to focus more on the task at hand rather than every single little technicality. Examples: MyGui. Changes from v1.1 to v2.0. Presses down the left mouse button and holds it. AutoHotkey_H v1 - download v1 zip package. 0 to 1. youtube. Description. If is used in Expression, it contains the index of the iteration which has just finished. png'. Oct 2, 2023 · Resources for AHK v2 Conversion Official AHK Documentation. I’m trying to understand syntax for a switch block. exe might be a good alternative as that seems noob-friendly and runs everywhere as far as I know. A special thanks to Jonathan Bennett, whose generosity in releasing AutoIt v2 as free software in 1999 served as an inspiration and time-saver for myself and many others worldwide. The following only applies to . AutoHotkey is a free, open-source scripting language for Windows that allows users to easily create small to complex scripts for all kinds of tasks such as: form fillers, auto-clicking, macros, etc. AutoHotkey 94. 0_setup. For example: The function, method or object to call when the event is raised. documentation. WinActive. The same compiler is used for v1. Type: String, Integer or Object. Click "Up Right". Click "AutoHotkey Script" inside the "New" menu. Extending: add your own AutoHotkey code (beta) Sep 30, 2013 · AutoHotkey Foundation About This Community Forum Issues; AutoHotkey (v2, current version) Ask for Help (v2) Gaming Scripts and Functions (v2) Gaming Tutorials (v2) Tips and Tricks Wish List Suggestions on Documentation Improvements Bug Reports AutoHotkey Development AutoHotkey_H Ask for Help Development Editors Adventure IDE Old Topics AHK Introduction and Simple Examples. After creating the default script, launch AutoHotkey via the shortcut in the Start menu to run it. What is AutoHotkey. txt"'. Returns the path of the specified process. Create "pass-through" hotkeys. The These downloads include AutoHotkey. For users of v1: AutoHotkey v2 includes a launcher which Make the mouse wheel perform alt-tabbing. Ability to add resources to the compiled script. As someone who recently dove back into AHK, I must say v2 has been fantastic! So many great quality of life improvements and overall the documentation is top notch. Off: Disables the hotkey if it is currently enabled. 0-alpha - AutoHotkey_H v2 Documentation and Downloads. non-blocking modes. Posts: 14. Run the file: Once you have the code in a script (. 0. WinTitle, WinText, ExcludeTitle, ExcludeText. Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys. . . By default, the AHK script that opened the viewer is paused until the viewer is closed, but this can be changed by a passing a TRUE argument. By contrast, #IncludeAgain allows multiple inclusions of the same file, while being the same as #Include in all other respects. Examples. MonitorGet. Using things like ahk_exe notepad. See full list on autohotkey. Method 2: Enclose the command line in single quotes instead of double quotes. *ScrollLock::Run "notepad" ; Pressing ScrollLock will trigger this hotkey even when modifier key(s) are down. Storing values in variables: To store a string or number in a variable, there are two methods: legacy and expression. exe for v1 or C:\Program Files\AutoHotkey\v2\AutoHotkey64. b[c] := d to invoke the getter for a. MonitorGetPrimary. Acknowledgements. exe and AutoHotkey. ahk) Creating a new file extension such as . try _enum := _enum. 8%. Jun 5, 2024 · Changes from v1. exe. This is often used in conjunction with remapping keys or buttons. The first hour is below, you can see hour 2 of the ahk V2 webinar here. The main download has a filename like AutoHotkey_2. 1 and v2 scripts. Send is the command, anything after the comma (,) will be typed. To associate your repository with the autohotkey-v2 topic, visit your repo's landing page and select "manage topics. 2 = Clipboard contains something entirely non-text such as a picture. For example, !A presses Alt + Shift + A and !a presses Alt + A. A string of zero or more of the following options with optional spaces in between. Reports the position of the mouse cursor. I know I didnt Although the following control names cannot be used as hotkeys, they can be used with GetKeyState: JoyX, JoyY, and JoyZ: The X (horizontal), Y (vertical), and Z (altitude/depth) axes of the stick. " WinActivate "ahk_pid " PID ; Show the result. Microsoft Visual C++ 2013 has been used to build these executables Call AutoHotkey. ErrorLevel was removed. Last edited by Blackholyman on Thu Jun 30, 2016 6:11 am, edited 2 times in total. Introduction and Simple Examples. For example the ControlGetText() function. 2 posts • Page 1 of 1. If in doubt, use lowercase. Once the file has been created, open it for editing and copy-paste the code. For example: *#c::Run "calc. Installation; Launcher; Dash; New Script; See the comments at the top of each . Source Code - download via git or click the "ZIP" button at github. Find "New" in the menu. Only a direct function call such as MyFunc() can cause a library to be auto-included. Joined: Thu Jan 14, 2021 12:52 am. JoyU and JoyV: The 5th and 6th axes of the stick. [AHK_L 42+]: The local library is supported and is searched before the user library and standard library. Plain words in expressions are interpreted as variable names. HTML 5. Log: Returns the logarithm (base 10) of a number. Returns the process ID (PID) of the process which created the specified process. /* CTRL + Z Block */. you need to use the := Operator AutoHotkey Scripting: Operators. You can use the AHK Docs dropdown at the top of every forum page and choose 'AutoHotkey v2 Help'. This page Jun 12, 2023 · 1. WinGetClass. Going forward, v2 will be actively developed and v1 will be considered deprecated. Quick Reference; Basic Usage and Syntax. 2%. ahk to contain both the function MyPrefix_MyFunc and other related functions whose names start with MyPrefix_. 01 We would like to show you a description here but the site won’t allow us. exe "C:\Program Files\AutoHotkey\license. Type: Integer. Floor: Returns a number rounded down to the nearest integer. Note: AutoHotkey v2 natively uses Unicode and does not have an ANSI version. Otherwise, specify for WinTitle a window title or other criteria to identify the target window and/or for WinText a substring from a single text element of the target window (as revealed by the Jul 10, 2023 · Home Board index AutoHotkey (v2, current version) Wish List Suggestions on Documentation Improvements List of rules used by v2 parser Share your ideas as to how the documentation can be improved. The Click function clicks a mouse button at the specified coordinates. aut files, and only on [v1. Jul 24, 2016 · What I basically have is a list of commands to block various key combinations and I want to be able to freely move the comment in and out of the main comments section. This is typically used to create a hotkey in an initially-disabled state. The compilation process creates an executable file which contains the following: the AutoHotkey interpreter, the script, any files it includes, and any files it has incorporated via the FileInstall function. Exp: Returns the result of raising e to the N th power. Expressions are used to perform one or more operations upon a series of variables, literal strings, and/or literal numbers. If the function is In addition, many of AutoHotkey's enhancements to the AutoIt v2 command set, as well as the Window Spy and the old script compiler, were adapted directly from the AutoIt v3 source code. Consider the following simple function that accepts two numbers and returns their sum: Add(x, y) {. KeyWinC(ThisHotkey) ; This is a named function hotkey. See notes below. If you are not the administrator of your computer, you may need to select the Current user option. It can also hold down a mouse button, turn the mouse wheel, or move the mouse. Closes the specified window. 0-a033 - v2. Non-Python dependencies. Dec 31, 2011 · Page 3 of 3 - AutoHotkey v2 Documentation - posted in Offtopic: That wont solve the problem that the code does not run in non-English OS. {Enter}", "Edit1" ControlSendText "Notice that {Enter} is not sent as an Enter keystroke with ControlSendText. This page Type: String. ahk) file, running it is usually just a case of double-clicking the file; but there are other Oct 30, 2019 · Sure there is v2 documentation. Finally, AutoHotkey would not be what it is today without these other individuals. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects. Say, I want to assign some different functions for the time when I press ‘a’ and ‘b’ on my keyboard. The characters {} are used to enclose key names and other options, and to send special characters Other controls which are not directly supported by AutoHotkey can be also embedded into a GUI window. AHKDb includes a database viewer, which can be opened using DatabaseView( "database. I'm trying to find an explanation of how to work with objects (now called maps) but I couldn't find anything. In addition, many of AutoHotkey's enhancements to the AutoIt v2 command set, as well as the Window Spy and the old script compiler, were adapted directly from the AutoIt v3 source code. It must end with a . Run 'wordpad. WinExist. Define abbreviations that expand as you type them. For practical reasons, the length of a string and positions within a string are Feb 24, 2023 · Instead of a mouse click, you can MouseMove in your test. Using AHK v2. be/QPl1sla67Bo11:37 Registers playlist: https://www. The file path may optionally be preceded by *i and a single space, which causes the program to ignore any failure to read the file. Scripts not working: For assistance getting code AutoHotkey scripts to work the way you want, start a topic in the Ask for Help (v2) or Ask for Help (v1) subforum, depending on your AutoHotkey version. Most of the content of this repository ends up in the UX subdirectory of an AutoHotkey installation. Files in the root directory are Copy the code into a file. Gaming. Contribute to AutoHotkey/AutoHotkeyDocs development by creating an account on GitHub. For full technical details of changes, refer to GitHub. exe is. Use a command line such as "AutoHotkey32_UIA. 2) Specify the string NA anywhere in the sixth parameter ( Options) as shown below: SetControlDelay -1. Within this documentation, the word "class" on its own usually means a class object constructed with the class keyword. Checks if the specified process exists. will all trigger this hotkey. ProcessGetParent. An instance variable is one that each instance of the class has its own copy of. N := Random(9) Generates a random floating point number in the range 0. Create mouse hotkeys. In addition, many of AutoHotkey's enhancements to the AutoIt v2 command set, as well as the Window Spy and the old script compiler, were adapted Send {DEL 4} ; Presses the Delete key 4 times. net) Jack Dunning's AHK Page (Scripts, examples) Pnal's AutoHotkey tutorials v1 Function. If each of these is blank or omitted, the Last Found Window will be used. MonitorGetCount. ProcessGetName. exe for v2) AutoHotkey v1 and v2 are both fully supported, though some behavioral differences will occur depending on which version you use. 1) Use SetControlDelay -1 prior to ControlClick. WinClose. by Blackholyman » Thu Jun 30, 2016 6:00 am. For example: MyScript. Code: Select all - Download - Toggle Line numbers. Hide: Hides the window. JoyR: The rudder or 4th axis of the stick. It's usually best to create a new file, so existing code won't interfere with the example code. net) Jack Dunning's AHK Page (Scripts, examples) Pnal's AutoHotkey tutorials v1 ControlSend "This is a line of text in the notepad window. com AutoHotkey v1 Scripts and Functions Forum; Context Sensitive Help in Any Editor. The legacy method uses the equal sign operator (=) to assign unquoted literal strings or variables enclosed in percent signs. AutoHotkey - a scripting language for desktop automation. ProcessGetPath. Database Viewer. If the sound card is not available, the sound is generated using the speaker. We encourage everyone to create and improve existing pages. Same as WinActivate except that it activates the bottommost matching window rather than the topmost. ah2 vs. The second line: Send, My First Script is how you send keystrokes. I've seen in the documentation expressions like {call: thing_test} I want to use that syntax because the one used in "Map()" leaves things unpaired and I get lost. 0-a136), the new code should be InStr (a, b, -2, -2). You can omit the callback's parameter if the corresponding information is not needed, but in this case an asterisk must be specified, e. Although not exactly equivalent to a for-loop, the following demonstrates this process: _enum := Expression. A function can optionally accept parameters (inputs) and return a value (output). Documentation for AutoHotkey. winc_presses += 1. Checks if the specified window exists. Automate game actions on the screen. In addition, it would greatly complicate the documentation during the transition period. Most of the changes made by the alpha releases are reflected in the Detects single, double, and triple-presses of a hotkey. Anything to the left of :: are the keys you need to press. Returns the name of the specified process. The Quick Reference included in the installation download only refers to the depricated command syntax, and not to what parameters the functions that have replaced them expect. After this, select the v2 platform using the platform selector (), and . This allows MyPrefix. Otherwise, specify references to the output variables in which to store the bounding Generates a random integer in the range 0 to 9 and stores it in N. nkoss. KeyWait now returns 0 (false) if the wait period expires, otherwise 1 (true). To hold down or release a key: Enclose in braces the name of the key followed by the word Down or Up. 🛠️ Skrommel's One Hour Software – More useful scripts and utilities. But they should be as simple a possible to illustrate its usage too. 1 and v2. AutoHotkey_H v2 alpha - download v2 alpha zip package. how can I do this? Languages. GetPos: Retrieves the position and size of the window. It is recommended that users begin to transition to v2 for new scripts. HELP! Auto Hotkey Documentation AutoHotkey_H v2 Help. ahk"'. If omitted, the corresponding value will not be stored. This page contains information which has been removed from other pages in the documentation. MyGui. Returns the operating system's name of the specified monitor. Sleep MyVar ; Sleep for 30 minutes. Fixed A_Clipboard silently exiting when GetClipboardData returns NULL. This allows a hotkey to perform a different operation depending on how many times you press it. MyCallback(*). ProcessExist. In this respect, they are similar to hotkeys except that they are typically composed of more than one character (that is, a string). "`n". 2. 0 covers the differences between v1. I cobbled together a launcher app and modal-hotkey system from scratch in a couple of afternoons of enjoyable work. Supports hotkeys for keyboard, mouse, and joystick. Additional files can be included using compiler directives. Until can be used with any Loop or For. /* (Appears on line 1) My Comments. This avoids holding the mouse button down during the click, which in turn reduces interference from the user's physical movement of the mouse. 6 milliseconds. This document has been integrated into the v2 documentation. Fixed a. tools is excluded. Welcome to the AutoHotkey Wiki! The AutoHotkey Wiki is a place for everything relating to the usage, community, and knowledge of AutoHotkey. Here are some helpful links & videos we’ve done around AutoHotkey V2. lines . V2 documentation. The viewer can display up to 50 columns and practically unlimited rows. 📄 md2pdf by @realdennis - Offline markdown to PDF converter. Give the script a new name. Table of contents. Jun 30, 2016 · Re: Concatenate operator. Otherwise, specify the monitor number, between 1 and the number returned by MonitorGetCount. Class definitions can contain variable declarations, method definitions and nested class definitions. #Requires AutoHotkey v2. However, the download includes a HTML Help Workshop project file from which a help file can be built. GetClientPos: Retrieves the position and size of the window's client area. Send +{TAB 4} ; Presses Shift-Tab 4 times. Flash: Blinks the window and its taskbar button. For users of v1: AutoHotkey v2 includes a launcher which Waits for a key or mouse/controller button to be released or pressed down. Checks if the specified monitor exists and optionally retrieves its bounding coordinates. Send "#e" holds down Win and presses E. Shows the HWND, class name, title and controls of the window currently under the mouse cursor. Click "Down". The MouseGetPos function retrieves the current position of the mouse cursor, and optionally which window and control it is hovering over. I’m new to AutoHotKey. Checks if the specified window exists and is currently active (foremost). On: Enables the hotkey if it is currently disabled. *16 = Hand (stop/error) *32 = Question. Consequently, literal strings must be enclosed in double quotes to distinguish them from variables. Currently users can log in using a GitHub account via an integration. and the dot is the right concatenated Operator but AutoHotkey with also do it if there is only white space. Reduce wear and tear on your fingers. Older versions of AutoHotkey supported AutoIt v2 scripts by changing the default settings and behaviour of some commands. Sleep 1000. txt" ). Run this file to begin installing AutoHotkey. Documentation & Tutorials Documentation (de - 帮助 - 한국어) Community tutorials (Forums) Community tutorials (Archive forum) YouTube AutoHotkey tutorials Book (work in progress) Rosettacode (code examples) 日本語 AutoHotkey Wiki (Japanese, ahkwiki. 0 and stores it in fraction. Returns the total number of monitors. ahk This script is a GUI for the AHK v1 -> v2 Script Converter. ahk" (but include full paths where necessary). Aug 12, 2017 · I started paying attention to ahk v2 since it seems to be going forward. In order to do so, include in Options the word Class followed by the Win32 class name of the desired control. ahk extension. net) Jack Dunning's AHK Page (Scripts, examples) Pnal's AutoHotkey tutorials v1 Jan 14, 2021 · V2 documentation - AutoHotkey Community. 09+] do not support AutoIt v2 (. Until x > y. exe" "Your script. Otherwise, the recommended options are already filled in, so just click Install. For details about the parameters, return value, naming, and more, see x *= 2. Free and Open Source software, licensed under the GNU GPLv2. b if there is no setter. Dec 31, 2011 · Page 1 of 3 - AutoHotkey v2 Documentation - posted in Offtopic: Documentation for v2 can now be viewed or downloaded via github. If AutoHotkey is pinned to the taskbar or Start menu on Windows 7 or later, recent or pinned scripts can be launched via the program's Jump List. Note: As capital letters are produced by sending Shift, A produces a different effect in some programs than a. Ability to tweak several miscellaneous aspects of compilation. Otherwise, this parameter must be a function object. 1 to v2. &Left, &Top, &Right, &Bottom. AutoHotkey_H v2. For example: "On B0". aut) scripts. Created by Chris Mallett and others. RCtrl::RButton ), the hotkeys above use SetMouseDelay in place of SetKeyDelay. The update of the codeboxes (so that they link to the v2 docs) is still in the works, though. LEARN MORE. ahk2 seems desirable if v2 will have a fairly long alpha/beta-test period. txt`"". static winc_presses := 0. Find the newly created file on your desktop and right-click it. Run arbitrary AutoHotkey scripts. The third line: return. If the example above came from v1 (rather than v2. Usage To use the script, simply run it. Character: Generally, other parts of this documentation use the term "character" to mean a string's smallest unit; bytes for ANSI strings and 16-bit code units for Unicode (UTF-16) strings. Refer to Changes from v1. Forum rules. Hotkeys; Hotstrings & auto-replace . MsgBox lines. When a keyboard key is being remapped to become a mouse button (e. Click "Edit Script". Contribute to AutoHotkey/AHKv2_releases development by creating an account on GitHub. 0) fraction := Random() ; Equivalent to the line above. " GitHub is where people build software. For example: Loop Read, A_ScriptFullPath. ahk. Waits 30 minutes before continuing execution. Some of the features are: Ability to change the version information (such as the name, description, version). Demonstrates how to sleep for less time than the normal 10 or 15. AutoHotkey_H v1. A function is a reusable block of code that can be executed by calling it. This will become your best friend. Async API (asyncio) type-hints and mypy. MonitorGetName. 18 - July 6, 2024. If it returns false (zero or an empty string), the loop terminates. In addition, the first hotkey above is replaced by the following, which prevents the keyboard's auto-repeat feature from generating repeated mouse clicks: *RCtrl:: The Download function downloads a file from the Internet. Although hotstrings are mainly used to expand abbreviations as you type them (auto-replace), they can also be used to launch any scripted action. Click 2. Whether to Introduce a New File Extension (. Registry methods. return x + y. Differences when using AutoHotkey v1 vs AutoHotkey v2. g. As there is still a lot of work to be done, I wont be providing a compiled help file (chm). 0, 1. Can expand abbreviations as you type them (AutoText). Type: String This can be just about any single character from the keyboard or one of the key names from the key list, such as a mouse/controller button. 1 - AutoHotkey_H v1 Documentation and Downloads. Based on the v1 script by Rajat. Use the UIAccess shell verb with Run, as in Run '*UIAccess "Your script. If omitted, the primary monitor will be used. Make your hotkeys context-sensitive. Not everyone knows what notepad. This setting takes immediate effect and does not require restarting the editor. If nothing is selected, the function name will be extracted from the beginning of the current line. WinActivateBottom. Of course, in that case any literal single quotes (or apostrophes) in the text would need to be escaped ( `' ). 08. __Enum(2) while _enum(&Value1, &Value2) {. If the GUI has an event sink (that is, if Gui () 's EventObj parameter was specified), this parameter may be the name of a method belonging to the event sink. fraction := Random(0. ", "Edit1" Msgbox "Press OK to activate the window to see the result. Changes from v1. ah2 or . ahk file for a brief description. For example: MyNumber = 123 MyString = This is a literal string. Jan 1, 2008 · [AutoHotkey v1. Releases the right mouse button. When it comes to converting your AHK v1 scripts to v2, the official AHK documentation is an invaluable resource. Dimitri Geerts led an AutoHotkey webinar on AHK version 2. At the beginning of each iteration, the enumerator is called to retrieve the next value or pair of values. For instance, ‘a’ key shows a msg box saying, “you pressed A” and for ‘b’ it just shows “now you pressed B”. ahk files will now be detected as AutoHotkey v2 files. image := A_ScriptDir '\SAP need PDF. Add("Custom", "ClassScintilla") ; Adds a Sep 2, 2018 · Repository for the releases of AHK v2. So thanks to Jon and the other AutoIt authors for those as well. It's expected to be on PATH by default OR in a default installation location (C:\Program Files\AutoHotkey\AutoHotkey. = A_LoopReadLine . KeyWait KeyName , Options Parameters KeyName. Free keyboard macro program. Ceil: Returns a number rounded up to the nearest integer. It allows you to select an AHK v1 script and convert it to AHK v2 with a single click. This option should be used only when Jul 13, 2022 · 🔍 AutoHotKey Documentation; 📜 AutoHotkey Script Showcase – Discover scripts created by different authors that showcase AutoHotkey's capabilities. Text instructions: Right-Click on your desktop. Sep 29, 2013 · A big thanks to all contributors and the AHK community! We are happy to announce that AutoHotkey v2 is now the official primary version, providing many improvements over prior versions. In addition to moving the mouse, find out whether the search succeeded by displaying the value of the ImageSearch function. Until A_Index=5 ; Read the first five lines. Note that a StartingPos of -1 means the last character in v2, but the second last character in v1. What you need to know to get started in AutoHotkey Version 2. dll, Documentation and some miscellaneous function scripts. Add("Custom", "ClassComboBoxEx32") ; Adds a ComboBoxEx control. Make a keyboard key become a mouse button. Ln: Returns the natural logarithm (base e) of a number. MyVar := 30 * 60000 ; 30 means minutes and times 60000 gives the time in milliseconds. exe `"C:\Program Files\AutoHotkey\license. AutoHotkey v1 is not being maintained, but support is provided by community members. ahk". Run "wordpad. Introduction. Script compiler directives allow the user to specify details of how a script is to be compiled via Ahk2Exe. Instance Variables. For example: #Include "*i SpecialOptions. I find no documentation anywhere online for the functions used in AHK v2 scripts. ^ means Ctrl, j is the letter J. *48 = Exclamation. Destroy: Deletes the window. General Math : Abs: Returns the absolute value of a number. 17 - June 5, 2024 1 = Clipboard contains something that can be expressed as text (this includes files copied from an Explorer window). The Random function generates a pseudo-random number. 1. The first line: ^j:: is the hotkey. It serves as a comprehensive guide, providing detailed information on the syntax changes, command changes, and function changes introduced in v2. See eg ControlGetText (v2). To produce standard system sounds, specify an asterisk followed by a number as shown below (note that the Wait parameter has no effect in this mode): *-1 = Simple beep. Type: VarRef. exe" ; Win+C, Shift+Win+C, Ctrl+Win+C, etc. From any v1 docs page header you can also switch to v2 (click v1 and choose v2), and vice versa. Forces the first matching process to close. For example: Send {Up down} ; Press down the up-arrow key. Wildcard hotkeys always use the keyboard hook, as do any hotkeys Source - mmikeww/AHK-v2-script-converter; QuickConvertorV2. Send {S 30} ; Sends 30 uppercase S characters. Methods : Add: Creates a new control and adds it to the window. Documentation for users is included with AutoHotkey v2, under Using the Program. Waits 1 second before continuing execution. Therefore, option #2 is looking like a much better choice. pw aj fn cl ja pf or ts pk hd