{"commit":"ce90a9959965de8ecf3935090d0f16b18716a216","old_file":"autohotkey\/shortcuts_compilation.ahk","new_file":"autohotkey\/shortcuts_compilation.ahk","old_contents":"#NoTrayIcon\n#Persistent\n#SingleInstance force\n#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.\n; #Warn ; Enable warnings to assist with detecting common errors.\nSendMode Input ; Recommended for new scripts due to its superior speed and reliability.\nSetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.\n\n\n;;*******************************************************\n; CUSTOM SHORTCUTS\n;*******************************************************\n\n;-------------------------------------------------------\n; Keep window on top\n;-------------------------------------------------------\n!+^T:: Winset, Alwaysontop, , A\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Replace default calculator\n;-------------------------------------------------------\n^NumpadEnter::Run \"C:\\Program Files (x86)\\Moffsoft FreeCalc\\MoffFreeCalc.exe\"\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Call Listary\n;-------------------------------------------------------\n; With Alt + Space\n!Space::Send !+^{=}\n; With the down button of the mouse\nXButton1::Send !+^{)}\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Switch between the desktops\n;-------------------------------------------------------\n; With the up button of the mouse\n^XButton1:: switchDesktop() ;\nXButton2:: switchDesktop() ;\n\n; Function to switch between the desktops\nswitchedDesktop := false\nswitchDesktop() \n{\n\tglobal switchedDesktop\n if switchedDesktop\n {\n SendEvent ^#{Right}\n switchedDesktop := false\n }\n else\n {\n SendEvent ^#{Left}\n switchedDesktop := true\n }\n}\n;-------------------------------------------------------","new_contents":"#NoTrayIcon\n#Persistent\n#SingleInstance force\n#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.\n; #Warn ; Enable warnings to assist with detecting common errors.\nSendMode Input ; Recommended for new scripts due to its superior speed and reliability.\nSetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.\n\n\n;;*******************************************************\n; CUSTOM SHORTCUTS\n;*******************************************************\n\n;-------------------------------------------------------\n; Keep window on top\n;-------------------------------------------------------\n!+^T:: Winset, Alwaysontop, , A\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Replace default calculator\n;-------------------------------------------------------\n^NumpadEnter::Run \"C:\\Program Files (x86)\\Moffsoft FreeCalc\\MoffFreeCalc.exe\"\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Call Listary\n;-------------------------------------------------------\n; With Alt + Space\n!Space::Send !+^{=}\n; With the down button of the mouse\nXButton1::Send !+^{)}\n^RButton::Send !+^{)}\n;-------------------------------------------------------\n\n;-------------------------------------------------------\n; Switch between the desktops\n;-------------------------------------------------------\n; With the up button of the mouse\n^XButton1:: switchDesktop() ;\nXButton2:: switchDesktop() ;\n\n; Function to switch between the desktops\nswitchedDesktop := false\nswitchDesktop() \n{\n\tglobal switchedDesktop\n if switchedDesktop\n {\n SendEvent ^#{Right}\n switchedDesktop := false\n }\n else\n {\n SendEvent ^#{Left}\n switchedDesktop := true\n }\n}\n;-------------------------------------------------------","subject":"Add another shortcut for Listary","message":"Add another shortcut for Listary\n\n","lang":"AutoHotkey","license":"mit","repos":"teddy-gustiaux\/scripts,teddy-gustiaux\/scripts"} {"commit":"0f447ba1140fb2991bdd1a4de8a6d135d9f4dcc5","old_file":"main.ahk","new_file":"main.ahk","old_contents":"email = %1%\npasswrd = %2%\n\nCheckd()\n{\n WinWait Blizzard App Login, ,3\n WinMove 0, 0\n WinActivate\n \n IfWinNotActive\n {\n Checkd()\n }\n if ErrorLevel\n {\n MsgBox unable to find Battle.net login window. Please record trying to login and report it at j20.pw\/bnethelp\n exit\n }\n}\nCheckd()\nSleep 2000\nCheckd()\nWinActivate\nCheckd()\nClickFromTopRight(42,200)\nSend ^a\nSend {BS}\nsend %email%\nsleep 20\nSleep 100\nClickFromTopRight(42,250)\nSleep 20\nClickFromTopRight(42,250)\nSend ^a\nSend {BS}\nsend %passwrd%\nSend {Enter}\nexit\n\n\nClickFromTopRight(_X,_Y){\n\nCoordMode, mouse, Relative\n\nWinGetActiveStats, Title, width, height, x,y\n\n_X := width - _X\n\nClick %_X%, %_Y%\n\n}\n\n","new_contents":"email = %1%\npasswrd = %2%\n\nCheckd()\n{\n WinWait Blizzard Battle.net Login, ,3\n WinMove 0, 0\n WinActivate\n \n IfWinNotActive\n {\n Checkd()\n }\n if ErrorLevel\n {\n MsgBox unable to find Battle.net login window. Please record trying to login and report it at j20.pw\/bnethelp\n exit\n }\n}\nCheckd()\nSleep 2000\nCheckd()\nWinActivate\nCheckd()\nClickFromTopRight(42,200)\nSend ^a\nSend {BS}\nsend %email%\nsleep 20\nSleep 100\nClickFromTopRight(42,250)\nSleep 20\nClickFromTopRight(42,250)\nSend ^a\nSend {BS}\nsend %passwrd%\nSend {Enter}\nexit\n\n\nClickFromTopRight(_X,_Y){\n\nCoordMode, mouse, Relative\n\nWinGetActiveStats, Title, width, height, x,y\n\n_X := width - _X\n\nClick %_X%, %_Y%\n\n}\n\n","subject":"Update for new bnet title scheme","message":"Update for new bnet title scheme","lang":"AutoHotkey","license":"mit","repos":"judge2020\/Battle.net-Switcher"} {"commit":"1fba5bc9c7987bab764c59df54707aac76f03e76","old_file":"AutoHotkeyScript.ahk","new_file":"AutoHotkeyScript.ahk","old_contents":"; ahk_class PotPlayer\n\n#SC01F::Send {Media_Play_Pause}\n\n$+1::Send {!}\n$+2::Send {@}\n$+3::Send {#}\n$+4::Send {$}\n$+5::Send {`%}\n$+6::Send {^}\n;$+7::Send {&}\n$+8::Send {*}\n","new_contents":"#InstallKeybdHook\n#SingleInstance Force\n\n; ahk_class PotPlayer\n\n#SC01F::Send {Media_Play_Pause}\n\n$+1::Send {!}\n$+2::Send {@}\n$+3::Send {#}\n$+4::Send {$}\n$+5::Send {`%}\n$+6::Send {^}\n;$+7::Send {&}\n$+8::Send {*}\n\nGetKeyboardLayout()\n{\n\tHKL := DllCall(\"GetKeyboardLayout\", \"UInt\", 0, \"Ptr\")\n\tReturn HKL\n}\n\nGetKeyboardLayoutName()\n{\n\tVarSetCapacity(Str, 1000)\n\tDllCall(\"GetKeyboardLayoutName\", \"Str\", Str, \"Int\")\n\tReturn Str\n}\n\nActivateKeyboardLayout(HKL) ; This does not work.\n{\n\t; For initialization, necessary to run only once.\n\tDllCall(\"Ole32.dll\\OleInitialize\", \"Ptr\", 0, \"Int\")\n\tDllCall(\"LoadKeyboardLayout\", \"Str\", \"00020409\", \"Int\")\n\n\n\tT := DllCall(\"ActivateKeyboardLayout\", \"UInt\", HKL, \"UInt\", 0x00000000, \"PTR\")\n\tIf (!T)\n\t{\n\t\tMsgBox, Error\n\t}\n}\n\nCapslock::\n\tSetCapsLockState, Off\n\tIf (Lang = 0)\n\t{\n\t\tPostMessage, 0x50, 0, 0xF0020409,, A\n\t\tLang := 1\n\t}\n\tElse\n\t{\n\t\tPostMessage, 0x50, 0, 0xF03A0429,, A\n\t\tLang := 0\n\t}\n\tReturn\n\n<^Capslock::\n\tSetCapsLockState, Off\n\tPostMessage, 0x50, 0, 0xF01A0409,, A\n\tReturn\n\n>^Capslock::\n\tSetCapsLockState, Off\n\tPostMessage, 0x50, 0, 0xF01B0409,, A\n\tReturn\n\n!Capslock::\n\tT := GetKeyboardLayout()\n\tH := Format(\"{1:X}\", T)\n\tMsgBox, %T% %H%\n\tReturn\n\nTemp()\n{\n\t;^1:: ; This line is commented out.\n\t\tT := GetKeyboardLayout()\n\t\tH := Format(\"{1:X}\", T)\n\t\tMsgBox, %T% %H%\n\t\tReturn\n\n\t;^2:: ; This line is commented out.\n\t\t;ActivateKeyboardLayout(0xF0020409)\n\t\tPostMessage, 0x50, 0, 0xF0020409,, A\n\t\tMsgBox, Done.\n\t\tReturn\n}\n","subject":"Add hotkeys for changing keyboard language.","message":"Add hotkeys for changing keyboard language.\n","lang":"AutoHotkey","license":"mit","repos":"Shayan-To\/AutoHotkeyScripts"} {"commit":"610930bc76facbcd851bc50ffff05e39a3b91646","old_file":"AutoHotkeyScript.ahk","new_file":"AutoHotkeyScript.ahk","old_contents":"; ahk_class PotPlayer\n\n#SC01F::Send {Media_Play_Pause}","new_contents":"; ahk_class PotPlayer\n\n#SC01F::Send {Media_Play_Pause}\n\n$+1::Send {!}\n$+2::Send {@}\n$+3::Send {#}\n$+4::Send {$}\n$+5::Send {`%}\n$+6::Send {^}\n;$+7::Send {&}\n$+8::Send {*}\n","subject":"Add special characters for Persian keyboard.","message":"Add special characters for Persian keyboard.\n","lang":"AutoHotkey","license":"mit","repos":"Shayan-To\/AutoHotkeyScripts"} {"commit":"cc4e9cb7ab374fd7462f291930e33c412ee6652c","old_file":"autohotkey.ahk","new_file":"autohotkey.ahk","old_contents":"FileEncoding, UTF-8 ; This file needs to be saved\/encoded with \"UTF-8 with BOM\"\n\n; Use Swedish characters on US-English keyboard\n![:: Send, å\n!+{:: Send, Å\n!':: Send, ä\n!+':: Send, Ä\n!;:: Send, ö\n!+;:: Send, Ö ; does not work\n\n; HHKB settings to mimic macOS behavior on Windows\n; Lwin = <^\nLWin::LCtrl\n<^Right:: Send, {End}\n<^Left:: Send, {Home}\n<^Up:: Send, {PgUp}\n<^Down:: Send, {PgDn}\n<^Tab::Send {LWin down}{Tab}{LWin up}","new_contents":"FileEncoding, UTF-8 ; This file needs to be saved\/encoded with \"UTF-8 with BOM\"\n\n; Use Swedish characters on US-English keyboard\n![:: Send, å\n!+{:: Send, Å\n!':: Send, ä\n!+':: Send, Ä\n!;:: Send, ö\n!+;:: Send, Ö ; does not work\n\n; HHKB settings to mimic macOS behavior on Windows\nLWin::LCtrl ; this one is better to use SharpKeys for, as it is unreliable here\n<^Right:: Send, {End}\n<^Left:: Send, {Home}\n<^Up:: Send, {PgUp}\n<^Down:: Send, {PgDn}\n<+^Up:: Send, {LShift down}{PgUp}{LShift up}\n<+^Down:: Send, {LShift down}{PgDn}{LShift up}\n<^Tab::Send {LWin down}{Tab}{LWin up}","subject":"Add reliable setup in conjunction with SharpKeys","message":"Add reliable setup in conjunction with SharpKeys\n","lang":"AutoHotkey","license":"mit","repos":"fredrikaverpil\/dotfiles,fredrikaverpil\/dotfiles,fredrikaverpil\/dotfiles"} {"commit":"6a67773a950a9b9e2cfe9215f470bef903173864","old_file":"autohotkey.ahk","new_file":"autohotkey.ahk","old_contents":"FileEncoding, UTF-8 ; This file needs to be saved\/encoded with \"UTF-8 with BOM\"\n\n; Use Swedish characters on US-English keyboard\n![:: Send, å\n!+{:: Send, Å\n!':: Send, ä\n!+':: Send, Ä\n!;:: Send, ö\n!+;:: Send, Ö\n\n; HHKB settings to mimic macOS behavior on Windows\nLWin::LCtrl ; this one is better to use SharpKeys for, as it is unreliable here\n<^Right:: Send, {End}\n<^Left:: Send, {Home}\n<^Up:: Send, {PgUp}\n<^Down:: Send, {PgDn}\n<+^Right:: Send, {LShift down}{End}{LShift up}\n<+^Left:: Send, {LShift down}{Home}{LShift up}\n<+^Up:: Send, {LShift down}{PgUp}{LShift up}\n<+^Down:: Send, {LShift down}{PgDn}{LShift up}\n\n; Windows laptop\nAppsKey:: Send, {RWin}\n","new_contents":"; Put this file in\n; %APPDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\n\nFileEncoding, UTF-8 ; This file needs to be saved\/encoded with \"UTF-8 with BOM\"\n\n; Use Swedish characters on US-English keyboard\n![:: Send, å\n!+{:: Send, Å\n!':: Send, ä\n!+':: Send, Ä\n!;:: Send, ö\n!+;:: Send, Ö\n\n; HHKB settings to mimic macOS behavior on Windows\nLWin::LCtrl ; this one is better to use SharpKeys for, as it is unreliable here\n<^Right:: Send, {End}\n<^Left:: Send, {Home}\n<^Up:: Send, {PgUp}\n<^Down:: Send, {PgDn}\n<+^Right:: Send, {LShift down}{End}{LShift up}\n<+^Left:: Send, {LShift down}{Home}{LShift up}\n<+^Up:: Send, {LShift down}{PgUp}{LShift up}\n<+^Down:: Send, {LShift down}{PgDn}{LShift up}\n\n; Windows laptop\nAppsKey:: Send, {RWin}\n","subject":"Add path onto which to store this file","message":"Add path onto which to store this file\n","lang":"AutoHotkey","license":"mit","repos":"fredrikaverpil\/dotfiles,fredrikaverpil\/dotfiles,fredrikaverpil\/dotfiles"} {"commit":"849883612dd7aa9c5373b1b067a369ed6c729dc9","old_file":"HpEliteBook820.ahk","new_file":"HpEliteBook820.ahk","old_contents":"","new_contents":"#Include, %A_ScriptDir%\n#InstallKeybdHook\n#SingleInstance, Force\n\nCapslock & ScrollLock:: Send, {ScrollLock}\nCapslock & Pause:: Send, {Pause}\nScrollLock::Home\nPause::End\n\nInsert & Backspace::Send, {AppsKey}\n","subject":"Add some device specific keyboard modifications.","message":"Add some device specific keyboard modifications.\n","lang":"AutoHotkey","license":"mit","repos":"Shayan-To\/AutoHotkeyScripts"} {"commit":"4584f12f6e9aed5207d9ea0bd5bca00bda41ea2f","old_file":"conf\/autohotkey\/duplicate-window-width.ahk","new_file":"conf\/autohotkey\/duplicate-window-width.ahk","old_contents":"","new_contents":"+#Up::\n WinGetActiveTitle, Title\n WinRestore, %Title%\n SysGet, X1, 76\n SysGet, Y1, 77\n SysGet, Width, 78\n SysGet, Height, 79\n WinMove, %Title%,, X1, Y1, Width, Height\nreturn\n","subject":"Add ahk-script to duplicate window width (useful with vertical monitors)","message":"WIP: Add ahk-script to duplicate window width (useful with vertical monitors)\n","lang":"AutoHotkey","license":"mit","repos":"monsendag\/dotfiles,monsendag\/dotfiles,monsendag\/dotfiles,monsendag\/dotfiles,monsendag\/dotfiles,monsendag\/dotfiles"} {"commit":"165314f7dc4072fa056d21e20581db4541f9dcae","old_file":"autohotkey\/mouse_wheel_jumping_test.ahk","new_file":"autohotkey\/mouse_wheel_jumping_test.ahk","old_contents":"","new_contents":"~WheelDown::\nGoingDown := True\nif GoingUp\n{\n MsgBox, , Problem, Mouse wheel is jumping\n VarSetCapacity(GoingDown,0)\n}\nreturn\n\n~WheelUp::\nGoingUp := True\nif GoingDown\n{\n MsgBox, , Problem, Mouse wheel is jumping\n VarSetCapacity(GoingUp,0)\n}\nreturn","subject":"Add simple AHK script to test mouse wheel jumping","message":"Add simple AHK script to test mouse wheel jumping\n\n","lang":"AutoHotkey","license":"mit","repos":"teddy-gustiaux\/scripts,teddy-gustiaux\/scripts"} {"commit":"260d5b324c8b1d2f43344296e0155fa2dd10566d","old_file":"main.ahk","new_file":"main.ahk","old_contents":"","new_contents":"email = %1%\npasswrd = %2%\n\nCheckd()\n{\n WinWait Blizzard App Login, ,3\n WinMove 0, 0\n WinActivate\n \n IfWinNotActive\n {\n Checkd()\n }\n if ErrorLevel\n {\n MsgBox unable to find Battle.net login window. Please record trying to login and report it at j20.pw\/bnethelp\n exit\n }\n}\nCheckd()\nSleep 2000\nCheckd()\nWinActivate\nCheckd()\nClickFromTopRight(42,200)\nSend ^a\nSend {BS}\nsend %email%\nsleep 20\nSleep 100\nClickFromTopRight(42,250)\nSleep 20\nClickFromTopRight(42,250)\nSend ^a\nSend {BS}\nsend %passwrd%\nSend {Enter}\nexit\n\n\nClickFromTopRight(_X,_Y){\n\nCoordMode, mouse, Relative\n\nWinGetActiveStats, Title, width, height, x,y\n\n_X := width - _X\n\nClick %_X%, %_Y%\n\n}\n\n","subject":"Update for new login window","message":"Update for new login window","lang":"AutoHotkey","license":"mit","repos":"judge2020\/Battle.net-Switcher"} {"commit":"e3c87d619a23cc08a111d0c8420a7f56651e6462","old_file":"automatic\/sandboxie.install\/tools\/sandboxie.ahk","new_file":"automatic\/sandboxie.install\/tools\/sandboxie.ahk","old_contents":"","new_contents":"#NoEnv\nSendMode Input\nSetWorkingDir %A_ScriptDir%\nSetTitleMatchMode, 1 ;matches if title begins with string\nDetectHiddenText, off ;will not search hidden window text\nDetectHiddenWindows, off ;will not detect hidden windows\nWinWait, Sandboxie ahk_class #32770, DONE, 120\nWinActivate\nSend,{Enter}\nExitApp","subject":"Add AHK for leftover debug dialog at completion of install\/uninstall","message":"Add AHK for leftover debug dialog at completion of install\/uninstall\n","lang":"AutoHotkey","license":"apache-2.0","repos":"maharishi\/chocolatey-packages,dtgm\/chocolatey-packages,dtgm\/chocolatey-packages"} {"commit":"561b04fc4f3379932287b467d303ab944fcd3ee3","old_file":"autohotkey\/keep_window_on_top.ahk","new_file":"autohotkey\/keep_window_on_top.ahk","old_contents":"","new_contents":"#NoTrayIcon\n#Persistent\n#SingleInstance force\n#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.\n; #Warn ; Enable warnings to assist with detecting common errors.\nSendMode Input ; Recommended for new scripts due to its superior speed and reliability.\nSetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.\n\nSend !+^{T}","subject":"Add a script to launch the 'keep window on top' from other programs","message":"Add a script to launch the 'keep window on top' from other programs\n\n","lang":"AutoHotkey","license":"mit","repos":"teddy-gustiaux\/scripts,teddy-gustiaux\/scripts"} {"commit":"10b2742472454d3107fd3f2c1bbafd2db09fda5a","old_file":"onenote\/OneNote.ahk","new_file":"onenote\/OneNote.ahk","old_contents":"","new_contents":"#NoEnv\n#NoTrayIcon\n#SingleInstance force\n#Warn\n\nSendMode Input\nSetTitleMatchMode, 3\nSetWorkingDir, %A_ScriptDir%\n\nprocName := \"ONENOTE.EXE\"\n\n; Set cursor to page title for all pages in the current section\n!q::\nIfWinActive, ahk_exe %ProcName%\n{\n Send !{Home}\n Loop, 31 {\n Send ^+T\n Send {Home}\n Send ^{PgDn}\n }\n}\n","subject":"Add AHK script to reset cursor position for all pages in a section","message":"Add AHK script to reset cursor position for all pages in a section\n","lang":"AutoHotkey","license":"unlicense","repos":"ralish\/dotfiles,ralish\/dotfiles,ralish\/dotfiles"} {"commit":"c4f895372394c757593c331033bb6fb9ed5dee8f","old_file":"PC98\/AutoHotkeyU64.ahk","new_file":"PC98\/AutoHotkeyU64.ahk","old_contents":"","new_contents":"; Muhenkan (PC98 NFER key)\nLWin::Send {vk1D}\n\n; Henkan (PC98 XFER key)\n;RWin::Send {vk1C}\n;^RWin::Send {vk1C}\nAppsKey::Send {vk1C}\n^AppsKey::Send ^{vk1C}\n\n;Muhenkan \/ 無変換 -> {vk1D}\n;Henkan \/ 変換 -> {vk1C}\n;Kana \/ かな -> {vkF2}\n;IME ON\/OF -> {vkF3}, {vkF4}\n\n","subject":"Add AutoHotkey configuration for np2","message":"Add AutoHotkey configuration for np2\n","lang":"AutoHotkey","license":"mit","repos":"frank-deng\/retro-works,frank-deng\/retro-works,frank-deng\/retro-works,frank-deng\/retro-works,frank-deng\/retro-works,frank-deng\/retro-works"} {"commit":"a45c092ca8c51c853861149822b428796dcfcc77","old_file":"remapWinArrow.ahk","new_file":"remapWinArrow.ahk","old_contents":"","new_contents":"Capslock::Ctrl\n\n; Window management\n\n#h::SendEvent #{Left}\n#l::SendEvent #{Right}\n#j::SendEvent #{Down}\n#k::SendEvent #{Up}\n\n; Windows Explorer Navigation\n\n#IfWinActive, ahk_class CabinetWClass\n^h::\n ControlGet renamestatus,Visible,,Edit1,A\n ControlGetFocus focussed, A\n if(renamestatus!=1&&(focussed=DirectUIHWND3?||focussed=SysTreeView321))\n {\n SendInput {Alt Left}\n }else{\n Send {Backspace}\n }\n#IfWinActive","subject":"Add small windows autohotkey script.","message":"Add small windows autohotkey script.\n","lang":"AutoHotkey","license":"mit","repos":"NathanMH\/scripts,NathanMH\/scripts,NathanMH\/scripts"}