Sign in to follow this  
Followers 0
putnum

How to insert the current time

4 posts in this topic

All I need to know is how to create a script to insert the current time via a hotkey F12. Time format should be in this format 6:45:00 AM.

Many Thanks!

Adam

Share this post


Link to post
Share on other sites



I tried the below code and it did not compile. I got it from auto hot script.

$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad++
{
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return

Share this post


Link to post
Share on other sites

i got it thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0