Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert a string to a numeric in autohotkey?

FormatTime, CurrentMinute , , m assigns the current minute to variable %CurrentMinute%, and its value is a string, not a numeric. I wanna do some calculations on the value of %CurrentMinute%, so how could I convert it to numeric?

Thanks for any help in advance!

like image 626
fall Avatar asked Sep 15 '25 05:09

fall


1 Answers

AutoHotkey automatically converts numbers and strings as needed.

FormatTime, CurrentMinute,, m
NextMinute := CurrentMinute + 1
like image 98
Brigand Avatar answered Sep 17 '25 04:09

Brigand