Revert "Поменял архитектуру, сильно уменьшил кол-во зависимостей, убрал pyaduio, porcupine"
This commit is contained in:
parent
7f18975148
commit
3fca0a4166
179 changed files with 1365 additions and 609 deletions
19
custom-commands/Next music.ahk
Normal file
19
custom-commands/Next music.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Process, Exist, Y.Music.exe
|
||||
If ErrorLevel = 0
|
||||
{
|
||||
; APP IS NOT RUNNING
|
||||
}
|
||||
Else
|
||||
{
|
||||
; APP IS RUNNING
|
||||
;MsgBox, Already running
|
||||
Run C:\Users\Abraham\Documents\WinStoreApps\YandexMusic
|
||||
sleep 100
|
||||
Send, {Ctrl down}f{Ctrl up}
|
||||
}
|
||||
Return
|
||||
BIN
custom-commands/Next music.exe
Normal file
BIN
custom-commands/Next music.exe
Normal file
Binary file not shown.
19
custom-commands/Prev music.ahk
Normal file
19
custom-commands/Prev music.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Process, Exist, Y.Music.exe
|
||||
If ErrorLevel = 0
|
||||
{
|
||||
; APP IS NOT RUNNING
|
||||
}
|
||||
Else
|
||||
{
|
||||
; APP IS RUNNING
|
||||
;MsgBox, Already running
|
||||
Run C:\Users\Abraham\Documents\WinStoreApps\YandexMusic
|
||||
sleep 100
|
||||
Send, {Ctrl down}b{Ctrl up}
|
||||
}
|
||||
Return
|
||||
BIN
custom-commands/Prev music.exe
Normal file
BIN
custom-commands/Prev music.exe
Normal file
Binary file not shown.
6
custom-commands/Run browser.ahk
Normal file
6
custom-commands/Run browser.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Run C:/Program Files (x86)/Google/Chrome/Application/chrome.exe
|
||||
BIN
custom-commands/Run browser.exe
Normal file
BIN
custom-commands/Run browser.exe
Normal file
Binary file not shown.
6
custom-commands/Run google.ahk
Normal file
6
custom-commands/Run google.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Run C:/Program Files (x86)/Google/Chrome/Application/chrome.exe "https://google.com"
|
||||
BIN
custom-commands/Run google.exe
Normal file
BIN
custom-commands/Run google.exe
Normal file
Binary file not shown.
41
custom-commands/Run music.ahk
Normal file
41
custom-commands/Run music.ahk
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Process, Exist, Y.Music.exe
|
||||
If ErrorLevel = 0
|
||||
{
|
||||
; APP IS NOT RUNNING
|
||||
; Run https://music.yandex.ru/home
|
||||
Run C:\Users\Abraham\Documents\WinStoreApps\YandexMusic
|
||||
; Autoplay
|
||||
sleep 3000
|
||||
Send, {Ctrl down}p{Ctrl up}
|
||||
sleep 10
|
||||
|
||||
; Open full
|
||||
Loop, 4
|
||||
{
|
||||
Send, {Tab}
|
||||
sleep 10
|
||||
}
|
||||
|
||||
Send, {Enter}
|
||||
sleep 1500
|
||||
|
||||
Loop, 7
|
||||
{
|
||||
Send, {Down}
|
||||
sleep 50
|
||||
}
|
||||
|
||||
sleep 1000
|
||||
Send, {Enter}
|
||||
}
|
||||
Else
|
||||
{
|
||||
; APP IS RUNNING
|
||||
;MsgBox, Already running
|
||||
}
|
||||
Return
|
||||
BIN
custom-commands/Run music.exe
Normal file
BIN
custom-commands/Run music.exe
Normal file
Binary file not shown.
6
custom-commands/Run youtube.ahk
Normal file
6
custom-commands/Run youtube.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Run C:/Program Files (x86)/Google/Chrome/Application/chrome.exe "https://youtube.com"
|
||||
BIN
custom-commands/Run youtube.exe
Normal file
BIN
custom-commands/Run youtube.exe
Normal file
Binary file not shown.
19
custom-commands/Save music.ahk
Normal file
19
custom-commands/Save music.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Process, Exist, Y.Music.exe
|
||||
If ErrorLevel = 0
|
||||
{
|
||||
; APP IS NOT RUNNING
|
||||
}
|
||||
Else
|
||||
{
|
||||
; APP IS RUNNING
|
||||
;MsgBox, Already running
|
||||
Run C:\Users\Abraham\Documents\WinStoreApps\YandexMusic
|
||||
sleep 100
|
||||
Send, {Ctrl down}l{Ctrl up}
|
||||
}
|
||||
Return
|
||||
BIN
custom-commands/Save music.exe
Normal file
BIN
custom-commands/Save music.exe
Normal file
Binary file not shown.
6
custom-commands/Stop music.ahk
Normal file
6
custom-commands/Stop music.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Process, Close, Y.Music.exe
|
||||
BIN
custom-commands/Stop music.exe
Normal file
BIN
custom-commands/Stop music.exe
Normal file
Binary file not shown.
16
custom-commands/Switch back to workspace.ahk
Normal file
16
custom-commands/Switch back to workspace.ahk
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
; Step 1. Close steam.
|
||||
WinKill, AHK_exe Steam.exe
|
||||
Process, Close, Steam.exe
|
||||
|
||||
; Step 2. Switch monitor profile.
|
||||
RunWait C:\MonitorProfileSwitcher\MonitorSwitcher.exe -load:"C:\Users\Abraham\AppData\Roaming\MonitorSwitcher\Profiles\Workspace.xml"
|
||||
|
||||
Sleep, 7000
|
||||
|
||||
; Step 3. Switch audio device to Luna Edifier.
|
||||
Run, nircmd setdefaultsounddevice "Luna Edifier" 1
|
||||
BIN
custom-commands/Switch back to workspace.exe
Normal file
BIN
custom-commands/Switch back to workspace.exe
Normal file
Binary file not shown.
6
custom-commands/Switch to dynamics.ahk
Normal file
6
custom-commands/Switch to dynamics.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Run, nircmd setdefaultsounddevice "Luna Edifier" 1
|
||||
BIN
custom-commands/Switch to dynamics.exe
Normal file
BIN
custom-commands/Switch to dynamics.exe
Normal file
Binary file not shown.
19
custom-commands/Switch to gaming mode.ahk
Normal file
19
custom-commands/Switch to gaming mode.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
; Step 1. Close steam.
|
||||
WinKill, AHK_exe Steam.exe
|
||||
Process, Close, Steam.exe
|
||||
|
||||
; Step 2. Switch monitor profile.
|
||||
RunWait C:\MonitorProfileSwitcher\MonitorSwitcher.exe -load:"C:\Users\Abraham\AppData\Roaming\MonitorSwitcher\Profiles\Gaming.xml"
|
||||
|
||||
Sleep, 7000
|
||||
|
||||
; Step 3. Switch audio device to LG TV.
|
||||
Run, nircmd setdefaultsounddevice "LG TV" 1
|
||||
|
||||
; Step 4. Run Steam big picture.
|
||||
Run, steam://open/bigpicture
|
||||
BIN
custom-commands/Switch to gaming mode.exe
Normal file
BIN
custom-commands/Switch to gaming mode.exe
Normal file
Binary file not shown.
6
custom-commands/Switch to headphones.ahk
Normal file
6
custom-commands/Switch to headphones.ahk
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
|
||||
; #Warn ; Enable warnings to assist with detecting common errors.
|
||||
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
|
||||
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
|
||||
|
||||
Run, nircmd setdefaultsounddevice "Razer Kraken" 1
|
||||
BIN
custom-commands/Switch to headphones.exe
Normal file
BIN
custom-commands/Switch to headphones.exe
Normal file
Binary file not shown.
BIN
custom-commands/nircmd.exe
Normal file
BIN
custom-commands/nircmd.exe
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue