{"id":13590287,"url":"https://github.com/GorvGoyl/Autohotkey-Scripts-Windows","last_synced_at":"2025-04-08T13:30:51.164Z","repository":{"id":38251250,"uuid":"133549104","full_name":"GorvGoyl/Autohotkey-Scripts-Windows","owner":"GorvGoyl","description":"Autohotkey scripts to make you more productive when using Windows.","archived":false,"fork":false,"pushed_at":"2023-08-06T19:21:48.000Z","size":1997,"stargazers_count":130,"open_issues_count":3,"forks_count":17,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-07T01:42:13.214Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GorvGoyl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-15T17:15:31.000Z","updated_at":"2025-03-23T04:35:27.000Z","dependencies_parsed_at":"2024-11-02T04:22:28.357Z","dependency_job_id":"34cb6395-a8cc-4354-ad25-71de99d2c484","html_url":"https://github.com/GorvGoyl/Autohotkey-Scripts-Windows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GorvGoyl%2FAutohotkey-Scripts-Windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GorvGoyl%2FAutohotkey-Scripts-Windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GorvGoyl%2FAutohotkey-Scripts-Windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GorvGoyl%2FAutohotkey-Scripts-Windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GorvGoyl","download_url":"https://codeload.github.com/GorvGoyl/Autohotkey-Scripts-Windows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247851454,"owners_count":21006762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:00:42.876Z","updated_at":"2025-04-08T13:30:51.136Z","avatar_url":"https://github.com/GorvGoyl.png","language":"AutoHotkey","funding_links":[],"categories":["AutoHotkey"],"sub_categories":[],"readme":"# Top [AutoHotkey](https://www.autohotkey.com) scripts to get more out of Windows\n\nUseful AutoHotkey scripts (Windows) for quick lookup, in-line calculator, remap keys, battery alert, and more.\n\n## Explanation\n\nhttp://gourav.io/blog/autohotkey-scripts-windows\n\n## How to run script\n\n- Download and install main program (one-time step) https://www.autohotkey.com\n- Download a script (`*.ahk`) or copy paste script content in a text file and then rename it with `.ahk` extension e.g. `my-script.ahk`\n- Right-click -\u003e `Run script`.  \n  You can also run scripts by double-click, or do right-click -\u003e`Open with` -\u003e `AutoHotkey`\n- Bonus: you can right-click and `Compile script` to make it a standalone `*.exe` program which would run without needing to install AutoHotkey first.\n\n_scripts inside /drafts folder are not tested properly and might not work. The rest of the scripts should work fine._\n\n### Run script at startup\n\nMethod 1:\n\n- Open startup folder: open `Run` window by `Win+R` and then write `shell:startup` and enter.\n- It'll open explorer at something like this path: `C:\\Users\\{username}\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup`\n- Copy script (`*.ahk`) -\u003e go to that `Startup` folder -\u003e right-click and select `Paste shortcut`.\n\nOR\n\nMethod 2:\n\n- Put `script_autorun_startup.vbs` at startup folder. Make sure to put the correct path of your ahk scripts in that file first.\n\n### Run script as Admin\n\nPut it at the beginning of the script:\n\n```\n; check if it is running as Admin, if not reload as Admin. put at top\nif not A_IsAdmin\n{\n   Run *RunAs \"%A_ScriptFullPath%\"\n   ExitApp\n}\n```\n\nOR\n\nCheck `Run this program as administrator` in:\n\n\u003e autohothey.exe \u003e properties \u003e compatibility \u003e settings\n\n## Docs\n\n- Official docs  \n  https://www.autohotkey.com/docs/AutoHotkey.htm\n\n- AutoHotkey Expression Examples  \n  http://daviddeley.com/autohotkey/xprxmp/autohotkey_expression_examples.htm\n\n### Keys and their symbols\n\n- https://www.autohotkey.com/docs/Hotkeys.htm#Symbols\n\n### Common things often found at the beginning of AutoHotkey scripts\n\n```\n#NoTrayIcon              ;if you don't want a tray icon for this AutoHotkey program.\n#NoEnv                   ;Recommended for performance and compatibility with future AutoHotkey releases.\n#SingleInstance force    ;Skips the dialog box and replaces the old instance automatically\n;;SendMode Input           ;I discovered this causes MouseMove to jump as if Speed was 0. (was Recommended for new scripts due to its superior speed and reliability.)\nSetKeyDelay, 90          ;Any number you want (milliseconds)\nCoordMode,Mouse,Screen   ;Initial state is Relative\nCoordMode,Pixel,Screen   ;Initial state is Relative. Frustration awaits if you set Mouse to Screen and then use GetPixelColor because you forgot this line. There are separate ones for: Mouse, Pixel, ToolTip, Menu, Caret\nMouseGetPos, xpos, ypos  ;Save initial position of mouse\nWinGet, SavedWinId, ID, A     ;Save our current active window\n\n;Set Up a Log File:\nSetWorkingDir, %A_ScriptDir%  ;Set default directory to where this script file is located. (Note %% because it's expecting and unquoted string)\nLogFile := \"MyLog.txt\"\nFileAppend, This is a message`n, %LogFile%  ;Note the trailing (`n) to start a new line. This could instead be a leading (`n) if you want. (Note %% because it's expecting and unquoted string)\n```\n\n## Community\n\n- https://www.reddit.com/r/AutoHotkey/\n- https://www.autohotkey.com/boards/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGorvGoyl%2FAutohotkey-Scripts-Windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGorvGoyl%2FAutohotkey-Scripts-Windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGorvGoyl%2FAutohotkey-Scripts-Windows/lists"}