Configure button used to Decrement counter. Configure button used to Increment counter. IniRead, DisableZeros, %iniLocation%, Settings, DisableZeros Turns those ugly 0's into Nothing! (When enabled) You should have something like this at this point : Check the deaths.txt to see that it has been updated :) You can now try out for yourself, execute your newly created AHK script, and try pressing F12 ou F11 (note that you cannot go below zero w/ the decremention key). ahk extension stands for AutoHotKey, you'll be able to launch it directly with the software =) Now, change deathCounterScript.txt's extension to deathCounterScript.ahk (the name can be different if you chose a different name). Note : as for me, I use the F12 key to increment and the F11 key to decrement, you can use any key so feel free to change =)ĭont forget to change "filePath = PATHTOdeaths.txt" to the path of your choice, in my case it is : "filePath = C:\Users\Kevin\Documents\YOUTUBE\PRODUCTION\darksoulsDeathCounter\deaths.txt" When you press F11 it will decrement and update the death counter in the. Inputs number of deaths in deathVar variable. When you press F12 it will increment and update the death counter in the. FilePath = C:\Users\Kevin\Documents\YOUTUBE\PRODUCTION\darksoulsDeathCounter\deaths.txt
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |