This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# 1. To patch dll in a protected folder like "c:\program files" run this script as Administrator. | |
| 2. If your Windows isn't configured to run ps1 files, you can run it from command prompt like this: | |
| powershell -ep bypass -noprofile "patch-chrome-mv2.ps1" | |
| #> | |
| param([string]$dll, [string]$dir = $pwd) | |
| function doPatch([string]$path, [string]$pathLabel = '') { | |
| $dll = $script:dll = if ($path.EndsWith('\')) { Join-Path $path chrome.dll } else { $path } | |
| if (!(Test-Path -literal $dll)) { return } | |
| $localAppData = [Environment]::GetFolderPath('LocalApplicationData') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Map a hotkey (ctrl+win+i) to a dialog for sending stuff quickly to your dynalist inbox | |
| write/paste -> Ctrl+Enter to submit | |
| Two modes of operation: | |
| One Bullet: All text will be sent to one bullet in the inbox (dafault) | |
| Multi Bullet: Every row will get its own bullet | |
| */ | |
| ; Get your secret API token here: https://dynalist.io/developer | |
| global DynalistToken := "YOUR TOKEN HERE" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WinWait, ahk_class Shell_TrayWnd, | |
| IfWinNotActive, ahk_class Shell_TrayWnd, , WinActivate, ahk_class Shell_TrayWnd, | |
| WinWaitActive, ahk_class Shell_TrayWnd, | |
| Send, {APPSKEY}r | |
| WinWait, Taskbar and Start Menu Properties, | |
| IfWinNotActive, Taskbar and Start Menu Properties, , WinActivate, Taskbar and Start Menu Properties, | |
| WinWaitActive, Taskbar and Start Menu Properties, | |
| Send, {ALTDOWN}u{ALTUP}{ENTER} |