summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ahk-assistant.ahk11
1 files changed, 10 insertions, 1 deletions
diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk
index c56b708..85ce9b1 100644
--- a/ahk-assistant.ahk
+++ b/ahk-assistant.ahk
@@ -47,7 +47,7 @@ RWin::AppsKey ; remap key for Rosewill keyboards
#c::Run calc
^+v::pasteClipboard()
^!m::ControlSend, , {Space}, ahk_exe mpv.exe ; global hotkey to toggle mpv pause/play
-^!n::ControlSend, , {Space}, ahk_exe firefox.exe ; global hotkey to toggle firefox pause/play
+^!n::dailyNotes()
^!Space::toggleAudioDevice()
RAlt & j::ShiftAltTab
RAlt & k::AltTab
@@ -727,6 +727,15 @@ searchCustomer() {
Return
}
+dailyNotes() {
+ global workAddress
+ companyName := SubStr(workAddress,1,InStr(workAddress,"`n")-1) . " Limited"
+ formattime, todaysDate,, yyyy-MM-dd
+ noteFilename := A_WorkingDir . "\OneDrive - " . companyName . "\Notes\wfh\notes " . todaysDate . ".txt"
+ Run notepad "%noteFilename%"
+ Return
+ }
+
toggleAudioDevice() { ;toggle between default audio output (http://ml.pe/optimizing/2013/changing-the-default-sound-device-using-autohotkey/)
switch := !switch
If (switch)