-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add base libs, sample buttons, sample images, sample sounds, sample c…
…onfigs and plugins folder. Signed-off-by: elModo7 <[email protected]>
- Loading branch information
Showing
102 changed files
with
1,037 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#NotrayIcon | ||
Run, C:\ProgramData\Nova Macros |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
SetWorkingDir C:\Windows\System32 | ||
|
||
global Ejecutable := "mspaint.exe" | ||
|
||
IfWinExist, ahk_exe %Ejecutable% | ||
{ | ||
WinActivate, ahk_exe %Ejecutable% | ||
} | ||
else | ||
{ | ||
Run, C:\Windows\System32\mspaint.exe | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
SetWorkingDir C:\Windows\System32 | ||
Run, C:\Windows\System32\cmd.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
SetWorkingDir C:\Users\victo\Desktop | ||
Run, https://github.com/elmodo7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#NoEnv | ||
#NoTrayIcon | ||
Msgbox, League of Legends Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#NoEnv | ||
#NoTrayIcon | ||
Msgbox, Apex Legends Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#NoEnv | ||
#NoTrayIcon | ||
Msgbox, Minecraft Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#NoEnv | ||
#NoTrayIcon | ||
Msgbox, 7Days2Die Button |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
SetWorkingDir C:\Users\victo\Desktop | ||
Run, C:\Users\%A_UserName%\Videos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
SetWorkingDir C:\Program Files\obs-studio\bin\64bit | ||
|
||
global Ejecutable := "obs64.exe" | ||
|
||
IfWinExist, ahk_exe %Ejecutable% | ||
{ | ||
WinActivate, ahk_exe %Ejecutable% | ||
} | ||
else | ||
{ | ||
Run, C:\Program Files\obs-studio\bin\64bit\obs64.exe | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ahk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
games|1|5 | ||
games|Game|OBS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
obs64.exe|explorer.exe|chrome.exe | ||
0|3|1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:\Windows\System32\notepad.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
127.0.0.1:7778 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
global txtNMMsg | ||
nmMsg(nmMsg,time,rainbow:=1) | ||
{ | ||
WinGetPos,X,Y,,,Nova Macros Client | ||
nfX := X | ||
nfY := Y + 500 | ||
Gui nmMsg:+ToolWindow -Caption +AlwaysOnTop | ||
Gui nmMsg:Color, Black | ||
Gui nmMsg:Font, s24 cWhite, Press Start 2P | ||
Gui nmMsg:Add, Text, vtxtNMMsg x24 y48 w1024 h60 +0x200 +Center +BackgroundTrans, % nmMsg | ||
Gui nmMsg:Show, x%nfX% y%nfY% w1024 h159,msgNovaMacros | ||
WinSet, TransColor, Black,msgNovaMacros | ||
if(rainbow) | ||
{ | ||
Loop, % time | ||
{ | ||
GuiControl, nmMsg: +cfb0505 +Redraw, txtNMMsg | ||
Sleep, 100 | ||
GuiControl, nmMsg: +cfb7607 +Redraw, txtNMMsg | ||
Sleep, 100 | ||
GuiControl, nmMsg: +cf4ea07 +Redraw, txtNMMsg | ||
Sleep, 100 | ||
GuiControl, nmMsg: +c61f205 +Redraw, txtNMMsg | ||
Sleep, 100 | ||
GuiControl, nmMsg: +c00f6cb +Redraw, txtNMMsg | ||
Sleep, 100 | ||
} | ||
} | ||
else | ||
{ | ||
Sleep, 1000 * time | ||
} | ||
Gui, nmMsg: Destroy | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
#NoEnv | ||
#SingleInstance,Force | ||
global WindowsKey, Edt1, Edt2 | ||
global buttonName = %0% | ||
global buttonPath := "C:\ProgramData\Nova Macros\" buttonName ".ahk" | ||
WindowsKey := 0 | ||
|
||
Gui, +hwndHw | ||
Gui, Color, , 4444444 | ||
Gui, Font, s14 cffff00 TAhoma | ||
Gui,Add,Hotkey, W280 x-990 y6 vEdt1 gEdt1 hwndHedt1 | ||
Gui,Add,Edit, x10 y6 w280 vEdt2 hwndHedt2 Background00ffff, None | ||
Gui, Font, s10 c000000 TAhoma | ||
Gui Add, CheckBox, x16 y48 w190 h23 gWindowsKey vWindowsKey, Windows Key Pressed | ||
Gui Font, Bold | ||
Gui Add, Button, x200 y72 w95 h30 gCreate, APPLY | ||
Gui,Show, w300 h108, Generate Macro | ||
|
||
OnMessage(0x133, "Focus_Hk") | ||
SetTimer, FcEdt, 250 | ||
return | ||
|
||
Focus_Hk() { | ||
GuiControl, Focus, Edt1 | ||
} | ||
|
||
FcEdt: | ||
if !WinActive("ahk_id " Hw) | ||
GuiControl, Focus, Edt2 | ||
return | ||
|
||
Edt1: | ||
GuiControlGet, Ehk,, Edt1 | ||
StringUpper, Ehk, Ehk , T | ||
Ehk:=StrReplace(Ehk, "`+", "Shift + "), Ehk:=StrReplace(Ehk, "`!", "Alt + "), Ehk:=StrReplace(Ehk, "`^", "Ctrl + ") | ||
if Ehk | ||
GuiControl,, Edt2, % Ehk | ||
else GuiControl,, Edt2, None | ||
Return | ||
|
||
WindowsKey: | ||
WindowsKey := !WindowsKey | ||
return | ||
|
||
Create: | ||
if FileExist(buttonPath) | ||
{ | ||
OnMessage(0x44, "OnMsgBox") | ||
MsgBox 0x34, Overwrite?, This button already has a macro file`, do you want to overwrite it?`n`nPrevious function will be lost! | ||
OnMessage(0x44, "") | ||
|
||
IfMsgBox Yes, { | ||
Generar() | ||
} | ||
} | ||
else | ||
{ | ||
Generar() | ||
} | ||
return | ||
|
||
Generar() | ||
{ | ||
Gui, Submit, NoHide | ||
Key := SubStr(Edt1, StrLen(Edt1), 1) | ||
if(Key = "+") | ||
{ | ||
StringTrimRight, EdtNoPlusKey, Edt, 1 | ||
plusKey := 1 | ||
} | ||
else | ||
{ | ||
plusKey := 0 | ||
} | ||
if(!plusKey) | ||
{ | ||
mas := InStr(Edt1,"+",0,0) | ||
acento := InStr(Edt1,"^",0,0) | ||
admiracion := InStr(Edt1,"!",0,0) | ||
if(mas > acento && mas > admiracion) | ||
{ | ||
Modificadores := SubStr(Edt1, 1, mas) | ||
} | ||
else if(acento > mas && acento > admiracion) | ||
{ | ||
Modificadores := SubStr(Edt1, 1, acento) | ||
} | ||
else if(admiracion > acento && admiracion > mas) | ||
{ | ||
Modificadores := SubStr(Edt1, 1, admiracion) | ||
} | ||
if(mas = 0 && acento = 0 && admiracion = 0 && WindowsKey = 0) | ||
{ | ||
hayModificadores := 0 | ||
}else | ||
{ | ||
hayModificadores := 1 | ||
} | ||
StringReplace, Key, Edt1, %Modificadores%,,All | ||
Key = {%Key%} | ||
} | ||
else | ||
{ | ||
mas := InStr(EdtNoPlusKey,"+",0,0) | ||
acento := InStr(EdtNoPlusKey,"^",0,0) | ||
admiracion := InStr(EdtNoPlusKey,"!",0,0) | ||
if(mas > acento && mas > admiracion) | ||
{ | ||
Modificadores := SubStr(EdtNoPlusKey, 1, mas) | ||
} | ||
else if(acento > mas && acento > admiracion) | ||
{ | ||
Modificadores := SubStr(EdtNoPlusKey, 1, acento) | ||
} | ||
else if(admiracion > acento && admiracion > mas) | ||
{ | ||
Modificadores := SubStr(EdtNoPlusKey, 1, admiracion) | ||
} | ||
if(mas = 0 && acento = 0 && admiracion = 0 && WindowsKey = 0) | ||
{ | ||
hayModificadores := 0 | ||
}else | ||
{ | ||
hayModificadores := 1 | ||
} | ||
Key := "+" | ||
} | ||
|
||
strModificadoresDown := "" | ||
strModificadoresUp := "" | ||
if(Instr(Modificadores, "!")) | ||
{ | ||
alt := 1 | ||
strModificadoresDown := strModificadoresDown "{Alt Down}" | ||
strModificadoresUp := strModificadoresUp "{Alt Up}" | ||
} | ||
else | ||
{ | ||
alt := 0 | ||
} | ||
if(Instr(Modificadores, "^")) | ||
{ | ||
control := 1 | ||
strModificadoresDown := strModificadoresDown "{Control Down}" | ||
strModificadoresUp := strModificadoresUp "{Control Up}" | ||
} | ||
else | ||
{ | ||
control := 0 | ||
} | ||
if(Instr(Modificadores, "+")) | ||
{ | ||
shift := 1 | ||
strModificadoresDown := strModificadoresDown "{Shift Down}" | ||
strModificadoresUp := strModificadoresUp "{Shift Up}" | ||
} | ||
else | ||
{ | ||
shift := 0 | ||
} | ||
if(WindowsKey) | ||
{ | ||
strModificadoresDown := strModificadoresDown "{LWin Down}" | ||
strModificadoresUp := strModificadoresUp "{LWin Up}" | ||
} | ||
if(!hayModificadores) | ||
{ | ||
src = | ||
(Ltrim | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
Send, %Key% | ||
) | ||
} | ||
else | ||
{ | ||
src = | ||
(Ltrim | ||
#NoEnv | ||
#SingleInstance, Force | ||
SetBatchLines, -1 | ||
#NoTrayIcon | ||
Send, %strModificadoresDown% | ||
Sleep, 30 | ||
Send, %Key% | ||
Sleep, 30 | ||
Send, %strModificadoresUp% | ||
Sleep, 30 | ||
) | ||
} | ||
FileDelete, % buttonPath | ||
FileAppend, %src%, % buttonPath | ||
ExitApp | ||
} | ||
|
||
GuiClose: | ||
ExitApp |
Oops, something went wrong.