putnum 0 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 Share this post Link to post Share on other sites
putnum 0 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 Share this post Link to post Share on other sites
JohnOne 1,603 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. Share this post Link to post Share on other sites