Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global TargetFile := "D:\Program Files\EqualizerAPO\config\config.txt"
- global SoundGet, CurVol
- global Gain := (CurVol-100)/2
- Loop
- {
- SoundGet, CurVol
- if CurVol = Gain*2+100
- {
- break
- }
- {
- if CurVol < Gain*2+99 and CurVol > Gain*2+101
- {
- Gain := (CurVol-100)/2
- WriteConfig()
- }
- }
- continue
- }
- $Volume_Up::
- Send {Volume_Up}
- {
- SoundGet, CurVol
- Gain := (CurVol-100)/2
- WriteConfig()
- }
- return
- $Volume_Down::
- Send {Volume_Down}
- {
- SoundGet, CurVol
- Gain := (CurVol-100)/2
- WriteConfig()
- }
- return
- $Browser_Refresh::
- Send {Browser_Refresh}
- {
- Run "D:\Downloads\Soft\EQ APO Preamp\Infrasonic Quartet Restart.lnk"
- }
- return
- WriteConfig() {
- FileDelete, %TargetFile%.tmp.txt
- FileAppend, Preamp: %Gain% dB`nInclude: example.txt`nVSTPlugin: Library "D:\Soft\AV\VST\w1limiter-win\George Yohng's W1 Limiter x64.dll" ChunkData "DAAAgXRocmVzaAAAGF9xPwwAAIFjZWlsaW5nAO7wcD8MAACBcmVsZWFzZQAu9SU/FAAAgWFkYXB0UmVsZWFzZQAAAAAAAIA/AAAAgA==", %TargetFile%.tmp.txt
- FileCopy, %TargetFile%.tmp.txt, %TargetFile%, 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement