Skip to content

Commit

Permalink
Update watch.ahk
Browse files Browse the repository at this point in the history
For #2
  • Loading branch information
mxro authored Dec 25, 2024
1 parent d12d91a commit 96e8364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions watch.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ F8::
NotRecording := !NotRecording
If NotRecording
{
Run %A_WorkingDir%\bin\fmedia-1.31-windows-x64\fmedia\fmedia.exe --record --overwrite --mpeg-quality=16 --rate=12000 --out=rec.mp3 --globcmd=listen,, Hide
Run %A_ScriptDir%\bin\fmedia-1.31-windows-x64\fmedia\fmedia.exe --record --overwrite --mpeg-quality=16 --rate=12000 --out=rec.mp3 --globcmd=listen,, Hide
}
Else
{
Run %A_WorkingDir%\bin\fmedia-1.31-windows-x64\fmedia\fmedia.exe --globcmd=stop,, Hide
Run %A_ScriptDir%\bin\fmedia-1.31-windows-x64\fmedia\fmedia.exe --globcmd=stop,, Hide
Sleep, 100
Run %A_WorkingDir%\bin\whisper-autohotkey\whisper-autohotkey.exe,, Hide
Run %A_ScriptDir%\bin\whisper-autohotkey\whisper-autohotkey.exe,, Hide
}
return

0 comments on commit 96e8364

Please sign in to comment.