putnum Posted July 19, 2010 Posted July 19, 2010 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
putnum Posted July 19, 2010 Author Posted July 19, 2010 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
JohnOne Posted July 19, 2010 Posted July 19, 2010 Hi, you can find the information you need using @Macros, HotKeySet() Function, and maybe taking a look at the _Date_Time UDF functions, all of which can be found in the helpfiles. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now