Skip to content

Commit

Permalink
Alt+PrintScreen to suspend and resume q-dir_ahk
Browse files Browse the repository at this point in the history
  • Loading branch information
bushnerd committed Jan 5, 2023
1 parent 9a4c692 commit a1bc77e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Compile with Ahk2Exe
uses: nekocodeX/GitHub-Action-Ahk2Exe@main
with:
in: q-dir_ahk.ahk

in: q-dir_ahk.ahk
- uses: actions/upload-artifact@v2
with:
name: app
path: q-dir_ahk.exe

- name: create release
id: create_release
uses: actions/create-release@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
q-dir_ahk.exe
.idea
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
SET AHKPath=D:\Program Files\AutoHotkey
SET AHKPath=D:\scoop\apps\autohotkey\current\
REM Takes a simple optional command parameter, /t, which starts testing before build.
SET Param1=%1

Expand Down
4 changes: 2 additions & 2 deletions q-dir_ahk.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Return
Return

#IfWinActive ahk_exe Q-Dir_x64.exe
; F1 as the hotkey to suspend and resume q-dir_ahk
F1::
; Alt+PrintScreen as the hotkey to suspend and resume q-dir_ahk
!PrintScreen::
Suspend
Pause,,1
Return
Expand Down

0 comments on commit a1bc77e

Please sign in to comment.