Code: Select all
str := " %B1111222233334444^LastName/FirstName"
RegExMatch(str, ".*\^\K(.+)/", &m)
MsgBox(m[1])
Code: Select all
str := " %B1111222233334444^LastName/FirstName"
RegExMatch(str, ".*\^\K(.+)/", &m)
MsgBox(m[1])
Code: Select all
Run, notepad.exe
WinWaitActive, Sin título: Bloc de notas ; cambia por el título de la ventana del juego
Send, {Enter}
Code: Select all
RunWait chrome.exe
send #{Left}
Code: Select all
#If GetKeyState("c", "P")
c::
send {s Down}
send {j Down}
send {j Up}
send {s Up}
sleep 650
send {w Down}
send {w Up}
send {j Down}
send {s Up}
send {j Up}
send {w Up}
return
#If
Code: Select all
ImageSearch, x, y, 0, 0, 1919, 1079, *32 test.jpg
Code: Select all
TrimMessageAfterAtNumber(message) {
match := RegExMatch(message, "^.*@[ .\d]+", m)
if match
return m
return message
}
Code: Select all
f1::
FileRead, output, curl2.txt
RegExMatch(output, "links"": \[\s*""(.*?)""\s*\]", result)
MsgBox, % RegExReplace(result1, "\\")
return