Code: Select all
#ins::
clipboard =
dt_st := a_now
FormatTime, dt_st, yyyy-MM-dd HH:mm
sendinput, %dt_st%
return
Code: Select all
#ins::
clipboard =
dt_st := a_now
FormatTime, dt_st, yyyy-MM-dd HH:mm
sendinput, %dt_st%
return
Code: Select all
formattime,x,,yyyy-MM-dd HH:mm
msgbox,%x%
Code: Select all
formattime,x,the syntax sometimes goes strange ways,yyyy-MM-dd HH:mm
msgbox,%x%
Code: Select all
run,%a_programfiles%\AutoHotkey\AutoHotkey.chm
Thanks for the reminder, and I say this smilingly, AutoHotkey.chm is directly accessible from Quick launch on my taskbar and I always consult before posting. The problem is not the documentation, it's me. The simple example given above is the light at the end of the tunnel. It helps me to decipher the parameters and how AHK commands are structured. I use AHK constantly but what I know is restricted to my simple needs . . . . which are all related to managing text.garry wrote: ↑22 Aug 2020, 07:03The ahk help is very good
but I learned from many other users with their complex scripts , dll , regex, other good ideas ... etc
Autohotkey help :
"C:\Program Files\AutoHotkey\AutoHotkey.chm"FormatTime, OutputVar [, YYYYMMDDHH24MISS, Format]Code: Select all
run,%a_programfiles%\AutoHotkey\AutoHotkey.chm
Users browsing this forum: Bing [Bot], peter_ahk and 338 guests