Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f1::
- ;add them all
- IfNotExist C:\Users\%A_USERNAME%\Desktop\initest.ini
- {
- FileAppend, [Hotkeys]`nhk1`nhk2`nhk3`nhk4`nhk5`nhk6=, C:\Users\%A_USERNAME%\Desktop\initest.ini
- }
- FileRead, invar, C:\Users\%A_USERNAME%\Desktop\initest.ini
- sleep 500
- ;RegExMatch(filetocheck,"is)(?<=hk15=)\S+",invar) ;grabs next word
- filetocheck := RegExMatch(invar, "i)^hk15=")
- If (filetocheck= "") ;check if 15 is blank
- {
- msgbox, need to make hotkeys!
- Return
- }
- msgbox, good to go
- ;other code if not blank
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement