putnum Posted July 19, 2010 Share 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 Link to comment Share on other sites More sharing options...
putnum Posted July 19, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
JohnOne Posted July 19, 2010 Share 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. Link to comment Share on other sites More sharing options...
putnum Posted July 19, 2010 Author Share Posted July 19, 2010 i got it thanks! Link to comment Share on other sites More sharing options...
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