Browse Source

delete old scripts

master
Mar Alegre 3 years ago
parent
commit
b9f2675743
  1. 23
      src/AutoSave.ahk
  2. 33
      src/MuteMic.ahk

23
src/AutoSave.ahk

@ -1,23 +0,0 @@
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey
; https://www.autohotkey.com
;
; Front Matter
;
; Include general library
#Include ../lib/Prelude.ahk
; Keep script running
#Persistent
SetTimer, Autosave, 300000
Autosave:
Send {Ctrl down}
Sleep 50
Send {s down}
Sleep 50
Send {s up}
Sleep 50
Send {Ctrl up}

33
src/MuteMic.ahk

@ -1,33 +0,0 @@
; Include general library
#Include ../lib/Prelude.ahk
; Don't show a tray icon
#NoTrayIcon
; Which device the microphone is
; Use third party AudioFinder script to figure this out
Device := 9
MuteMic() {
local MM
SoundSet, +1, MASTER, MUTE, %Device%
If ( ErrorLevel != 0 ) {
MsgBox, Error: %ErrorLevel%
}
SoundGet, MM, MASTER, MUTE, %Device%
#Persistent
ToolTip, % (MM == "On" ? "Microphone muted" : "Microphone online")
SetTimer, RemoveMuteMicTooltip, 700
return
}
RemoveMuteMicTooltip:
SetTimer, RemoveMuteMicTooltip, Off
ToolTip
return
;
; Hotkey
;
^Home::MuteMic()
Loading…
Cancel
Save