This file contains 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
On Error Resume Next | |
' 1. Change this to your Visual Studio Code file path. | |
path = "D:\Program Files\VSCode\Code.exe" | |
' 2. Optional - Change keyboard shortcut here, for example: "F" if you like. | |
shortcut = "F" | |
Sub ElevateUAC | |
If Not WScript.Arguments.Named.Exists("elevated") Then |
This file contains 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
class EventEmitter | |
{ | |
constructor() | |
{ | |
this._listeners = new Map(); | |
} | |
addListener(p_eventName, p_listener) | |
{ | |
if (p_listener && typeof p_listener === "function") |
This file contains 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
On Error Resume Next | |
' 1. Change this to your Sublime Text file path. | |
path = "C:\Program Files\Sublime Text\sublime_text.exe" | |
' 2. Optional - Change keyboard shortcut here, for example: "F" if you like. | |
shortcut = "Q" | |
Sub ElevateUAC | |
If Not WScript.Arguments.Named.Exists("elevated") Then |