project restructure with Rust workspaces
This commit is contained in:
parent
3ffbe876f3
commit
09f72622bc
428 changed files with 19372 additions and 6061 deletions
19
resources/commands/browser/ahk/Close browser.ahk
Normal file
19
resources/commands/browser/ahk/Close browser.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
; Rerun as admin, if required
|
||||
If Not A_IsAdmin
|
||||
{
|
||||
Run *RunAs "%A_ScriptFullPath%"
|
||||
ExitApp
|
||||
}
|
||||
|
||||
; set partial title matching mode
|
||||
SetTitleMatchMode, 2
|
||||
|
||||
; list of all browsers to close
|
||||
GroupAdd, browsers, ahk_class MozillaWindowClass
|
||||
GroupAdd, browsers, ahk_class IEFrame
|
||||
GroupAdd, browsers, ahk_exe msedge.exe
|
||||
GroupAdd, browsers, ahk_exe chrome.exe
|
||||
GroupAdd, browsers, ahk_exe firefox.exe
|
||||
|
||||
; kill them all
|
||||
Winclose, ahk_group browsers
|
||||
11
resources/commands/browser/ahk/Run browser.ahk
Normal file
11
resources/commands/browser/ahk/Run browser.ahk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#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.
|
||||
|
||||
RegRead, BrowserKeyName, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice, Progid
|
||||
RegRead, BrowserFullCommand, HKEY_CLASSES_ROOT, %BrowserKeyName%\shell\open\command
|
||||
StringGetPos, pos, BrowserFullCommand, ",,1
|
||||
pos := --pos
|
||||
StringMid, BrowserPathandEXE, BrowserFullCommand, 2, %pos%
|
||||
Run, % BrowserPathandEXE
|
||||
11
resources/commands/browser/ahk/Run website.ahk
Normal file
11
resources/commands/browser/ahk/Run website.ahk
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#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.
|
||||
|
||||
#Include _include.ahk
|
||||
|
||||
args = %1%
|
||||
path := DefaultBrowser()
|
||||
|
||||
Run, %path% %args%
|
||||
19
resources/commands/browser/ahk/_include.ahk
Normal file
19
resources/commands/browser/ahk/_include.ahk
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
DefaultBrowser() {
|
||||
; Find the Registry key name for the default browser
|
||||
RegRead, BrowserKeyName, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.html\UserChoice, Progid
|
||||
|
||||
; Find the executable command associated with the above Registry key
|
||||
RegRead, BrowserFullCommand, HKEY_CLASSES_ROOT, %BrowserKeyName%\shell\open\command
|
||||
|
||||
; The above RegRead will return the path and executable name of the brower contained within quotes and optional parameters
|
||||
; We only want the text contained inside the first set of quotes which is the path and executable
|
||||
; Find the ending quote position (we know the beginning quote is in position 0 so start searching at position 1)
|
||||
StringGetPos, pos, BrowserFullCommand, ",,1
|
||||
|
||||
; Decrement the found position by one to work correctly with the StringMid function
|
||||
pos := --pos
|
||||
|
||||
; Extract and return the path and executable of the browser
|
||||
StringMid, BrowserPathandEXE, BrowserFullCommand, 2, %pos%
|
||||
Return BrowserPathandEXE
|
||||
}
|
||||
76
resources/commands/browser/command.yaml
Normal file
76
resources/commands/browser/command.yaml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
list:
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Run browser.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- открой браузер
|
||||
- открой хром
|
||||
- гугл хром
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Close browser.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- закрой все браузеры
|
||||
- закрой браузер
|
||||
- выключи браузер
|
||||
- убери браузер
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Run website.exe
|
||||
exe_args:
|
||||
- http://google.com
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- открой гугл
|
||||
- запусти гугл
|
||||
- перейди в гугл
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Run website.exe
|
||||
exe_args:
|
||||
- http://youtube.com
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- открой ютуб
|
||||
- ютуб
|
||||
- запусти ютуб
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Run website.exe
|
||||
exe_args:
|
||||
- https://translate.google.com
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- открой переводчик
|
||||
- переводчик
|
||||
- запусти переводчик
|
||||
33
resources/commands/calculator/command.yaml
Normal file
33
resources/commands/calculator/command.yaml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
list:
|
||||
- command:
|
||||
action: cli
|
||||
cli_cmd: calc
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- включи калькулятор
|
||||
- открой калькулятор
|
||||
- покажи калькулятор
|
||||
- запусти калькулятор
|
||||
- калькулятор
|
||||
|
||||
- command:
|
||||
action: cli
|
||||
cli_cmd: taskkill
|
||||
cli_args:
|
||||
- /f
|
||||
- /im
|
||||
- CalculatorApp.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- закрой калькулятор
|
||||
- отключи калькулятор
|
||||
- выключи калькулятор
|
||||
- убери калькулятор
|
||||
7
resources/commands/jarvis/ahk/reboot.ahk
Normal file
7
resources/commands/jarvis/ahk/reboot.ahk
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
WinKill, AHK_exe jarvis-app.exe
|
||||
Process, Close, jarvis-app.exe
|
||||
sleep 3000
|
||||
Run shell:AppsFolder\com.priler.jarvis
|
||||
sleep 2000
|
||||
WinMinimize jarvis-app
|
||||
WinMinimize Jarvis Voice Assistant
|
||||
89
resources/commands/jarvis/command.yaml
Normal file
89
resources/commands/jarvis/command.yaml
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
list:
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/reboot.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- перезагрузись
|
||||
- перезагрузи себя
|
||||
- выполни перезагрузку
|
||||
|
||||
- command:
|
||||
action: voice
|
||||
voice:
|
||||
sounds:
|
||||
- stupid
|
||||
phrases:
|
||||
- ты дурак
|
||||
- ты дебил
|
||||
- ты глупый
|
||||
- ты тупой
|
||||
|
||||
- command:
|
||||
action: voice
|
||||
voice:
|
||||
sounds:
|
||||
- thanks
|
||||
phrases:
|
||||
- спасибо
|
||||
- молодец
|
||||
- респект
|
||||
- ты супер
|
||||
- отличная работа
|
||||
- ты крут
|
||||
- ты большой молодец
|
||||
- ты реально крут
|
||||
- ты афигенный
|
||||
|
||||
- command:
|
||||
action: voice
|
||||
voice:
|
||||
sounds:
|
||||
- joke1
|
||||
- joke2
|
||||
- joke3
|
||||
- joke4
|
||||
- joke5
|
||||
phrases:
|
||||
- расскажи анекдот
|
||||
- рассмеши
|
||||
- пошути
|
||||
- шутка
|
||||
- расскажи шутку
|
||||
- развесели меня
|
||||
- что нибудь смешное
|
||||
- подними мне настроение
|
||||
- мне скучно
|
||||
- хочу шутку
|
||||
- хочу анекдот
|
||||
- пошути
|
||||
- расскажи что нибудь смешное
|
||||
- расскажи смешное что нибудь
|
||||
- хочу посмеяться
|
||||
|
||||
- command:
|
||||
action: voice
|
||||
voice:
|
||||
sounds:
|
||||
- thanks
|
||||
phrases:
|
||||
- спасибо
|
||||
- молодец
|
||||
- респект
|
||||
- ты супер
|
||||
- отличная работа
|
||||
- ты крут
|
||||
- ты большой молодец
|
||||
- ты реально крут
|
||||
- ты афигенный
|
||||
- классная шутка
|
||||
- очень смешно
|
||||
- ты меня рассмешил
|
||||
- веселая шутка
|
||||
- смешной анекдот
|
||||
- это было весело
|
||||
- интересная шутка
|
||||
2
resources/commands/steam/ahk/Close steam.ahk
Normal file
2
resources/commands/steam/ahk/Close steam.ahk
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
WinKill, AHK_exe Steam.exe
|
||||
Process, Close, Steam.exe
|
||||
4
resources/commands/steam/ahk/Open steam.ahk
Normal file
4
resources/commands/steam/ahk/Open steam.ahk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
WinKill, AHK_exe Steam.exe
|
||||
Process, Close, Steam.exe
|
||||
|
||||
Run, steam://open/bigpicture
|
||||
36
resources/commands/steam/command.yaml
Normal file
36
resources/commands/steam/command.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
list:
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Open steam.exe
|
||||
voice:
|
||||
sounds:
|
||||
- game_mode
|
||||
phrases:
|
||||
- включи игровой режим
|
||||
- перейди в игровой режим
|
||||
- я хочу поиграть
|
||||
- включи стим
|
||||
- запусти стим
|
||||
- открой стим
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Close steam.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- рабочий режим
|
||||
- вернись в рабочий режим
|
||||
- отключи игровой режим
|
||||
- выйди из игрового режима
|
||||
- выход с игрового режима
|
||||
- рабочее пространство
|
||||
- выключи игровой режим
|
||||
- выключи стим
|
||||
- отключи стим
|
||||
- выйди из стима
|
||||
- закрой стим
|
||||
17
resources/commands/stop/command.yaml
Normal file
17
resources/commands/stop/command.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
list:
|
||||
- command:
|
||||
action: stop_chaining
|
||||
voice:
|
||||
sounds:
|
||||
- thanks
|
||||
- ok1
|
||||
phrases:
|
||||
- всё
|
||||
- хватит
|
||||
- отмена
|
||||
- не слушай
|
||||
- перестань слушать
|
||||
- отдыхай
|
||||
- на этом всё
|
||||
- хватит слушать
|
||||
- на этом всё
|
||||
17
resources/commands/terminate/command.yaml
Normal file
17
resources/commands/terminate/command.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
list:
|
||||
- command:
|
||||
action: terminate
|
||||
voice:
|
||||
sounds:
|
||||
- off
|
||||
phrases:
|
||||
- выключись
|
||||
- вырубись
|
||||
- закройся
|
||||
- отключись
|
||||
- заверши свою работу
|
||||
- на сегодня хватит
|
||||
- выгрузи себя из памяти
|
||||
- ты мне надоел
|
||||
- пора спать
|
||||
- бай бай
|
||||
6
resources/commands/volume/ahk/Mute volume.ahk
Normal file
6
resources/commands/volume/ahk/Mute volume.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.
|
||||
|
||||
Send {Volume_Mute} ; Mute/unmute the master volume.
|
||||
1
resources/commands/volume/ahk/Set sound.ahk
Normal file
1
resources/commands/volume/ahk/Set sound.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
SoundSet, %1%
|
||||
100
resources/commands/volume/command.yaml
Normal file
100
resources/commands/volume/command.yaml
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
list:
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Mute volume.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- выключи звук
|
||||
- беззвучный режим
|
||||
- режим без звука
|
||||
- отключи звук
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Mute volume.exe
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- включи звук
|
||||
- режим со звуком
|
||||
- верни звук
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Set sound.exe
|
||||
exe_args:
|
||||
- 25
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- звук на минимум
|
||||
- громкость на минимум
|
||||
- убавь звук
|
||||
- сделай потише
|
||||
- убавь громоксть
|
||||
- поставь звук на минимум
|
||||
- поставь громкость на минимум
|
||||
- установи звук на минимум
|
||||
- установи громкость на минимум
|
||||
- минимальный уровень громкости
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Set sound.exe
|
||||
exe_args:
|
||||
- 50
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- звук пятьдесят
|
||||
- громкость пятьдесят
|
||||
- поставь звук на пятьдесят
|
||||
- поставь громкость на пятьдесят
|
||||
- установи звук на пятьдесят
|
||||
- установи громкость на пятьдесят
|
||||
- громкость на середину
|
||||
- средний уровень громкости
|
||||
- поставь звук на середину
|
||||
- установи громкость на середину
|
||||
- средний уровень громкости
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Set sound.exe
|
||||
exe_args:
|
||||
- 100
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- звук сто
|
||||
- громкость сто
|
||||
- поставь звук на сто
|
||||
- поставь громкость на сто
|
||||
- установи звук на сто
|
||||
- установи громкость на сто
|
||||
- громкость на максимум
|
||||
- установи громкость на максимум
|
||||
- звук на максимум
|
||||
- полная громкость
|
||||
- полный уровень громкости
|
||||
1
resources/commands/windows/ahk/Empty trash.ahk
Normal file
1
resources/commands/windows/ahk/Empty trash.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
FileRecycleEmpty,
|
||||
1
resources/commands/windows/ahk/Roll up windows.ahk
Normal file
1
resources/commands/windows/ahk/Roll up windows.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
WinMinimizeAll
|
||||
1
resources/commands/windows/ahk/Set language.ahk
Normal file
1
resources/commands/windows/ahk/Set language.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
Send, {Shift down}{Alt}{Shift up}
|
||||
1
resources/commands/windows/ahk/Task manager open.ahk
Normal file
1
resources/commands/windows/ahk/Task manager open.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
Run taskmgr.exe
|
||||
1
resources/commands/windows/ahk/blocking.ahk
Normal file
1
resources/commands/windows/ahk/blocking.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
DllCall("LockWorkStation")
|
||||
1
resources/commands/windows/ahk/clipboard.ahk
Normal file
1
resources/commands/windows/ahk/clipboard.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
Send #v
|
||||
3
resources/commands/windows/ahk/screenshot.ahk
Normal file
3
resources/commands/windows/ahk/screenshot.ahk
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Send {PrintScreen down} ; Press down the PrintScreen key.
|
||||
Sleep 500 ; Keep it down
|
||||
Send {Up PrintScreen} ; Release the PrintScreen key.
|
||||
1
resources/commands/windows/ahk/sleep.ahk
Normal file
1
resources/commands/windows/ahk/sleep.ahk
Normal file
|
|
@ -0,0 +1 @@
|
|||
DllCall("PowrProf\SetSuspendState", "int", 1, "int", 1, "int", 1)
|
||||
124
resources/commands/windows/command.yaml
Normal file
124
resources/commands/windows/command.yaml
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
list:
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Roll up windows.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- сверни все окна
|
||||
- сверни окна
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Empty trash.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- очисти корзину
|
||||
- почисти корзину
|
||||
- очистка корзины
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Task manager open.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- запусти диспетчер задач
|
||||
- открой диспетчер задач
|
||||
- диспетчер задач
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/screenshot.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- сделай скриншот
|
||||
- сделай снимок экрана
|
||||
- сними экран
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/blocking.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- заблокируй компьютер
|
||||
- заблокируй комп
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/sleep.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
- ok4
|
||||
phrases:
|
||||
- спящий режим
|
||||
- ждущий режим
|
||||
- иди поспи
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/clipboard.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- открой буфер обмена
|
||||
- покажи буфер обмена
|
||||
- запусти буфер обмена
|
||||
- буфер обмена
|
||||
|
||||
- command:
|
||||
action: ahk
|
||||
exe_path: ahk/Set language.exe
|
||||
exe_args:
|
||||
voice:
|
||||
sounds:
|
||||
- ok1
|
||||
- ok2
|
||||
- ok3
|
||||
phrases:
|
||||
- смени раскладку
|
||||
- поменяй раскладку
|
||||
- смени язык
|
||||
- поменяй язык
|
||||
- переключи на русский
|
||||
- переключи на английский
|
||||
- смени раскладку на русскую
|
||||
- поменяй раскладку на русскую
|
||||
- поменяй раскладку на английскую
|
||||
- смени раскладку на английскую
|
||||
- смени язык на русский
|
||||
- поменяй язык на русский
|
||||
- смени язык на английский
|
||||
- поменяй язык на английский
|
||||
Loading…
Add table
Add a link
Reference in a new issue