Skip to content

Instantly share code, notes, and snippets.

@Rainyan
Last active December 23, 2023 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rainyan/cdb90f8079ca03aa146349064538f76a to your computer and use it in GitHub Desktop.
Save Rainyan/cdb90f8079ca03aa146349064538f76a to your computer and use it in GitHub Desktop.
AutoHotkey hotkey for killing cs2, for recovering from GPU driver failures without needing a restart. Press CTRL+P to activate.
; THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
; INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
; PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
; List of apps to kill on hotkey
^p::
Process,Close,cs2.exe
Process,Close,hl2.exe
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment