Code: Select all
FileAppend,
(
!%SecondKeyNotes%::Send %Notes%{Enter}%Notes2%{Enter}%Notes3%{Enter}%Notes4%
), %A_MyDocuments%\Keyboard2.ahk
MsgBox, 64, Attention, Double click on the file, "Keyboard" after the window opens.
Gui, Notes: Destroy
Run, %A_MyDocuments%
Sleep 100
Return
}
else
{
FileAppend,
(
%DHK%`r
!%SecondKeyNotes%::Send %Notes%{Enter}%Notes2%{Enter}%Notes3%{Enter}%Notes4%`r1
), %A_MyDocuments%\Keyboard2.ahk
MsgBox, 64, Attention, Double click on the file, "Keyboard" after the window opens.
Gui, Notes: Destroy
Run, %A_MyDocuments%
Sleep 100
Return