MikePainter Posted September 18, 2008 Posted September 18, 2008 I have a program that uses radio buttons to create a filename based on the date and the time. E.G. 091808Wed-7PM.csv. I use ControlSend("Enter name of file to save to", "", "[CLASS:Edit; INSTANCE:1]","{HOME} {DEL 15}" & $BroadcastName) to write the name. {HOME} {INS} was sticking odd characters on the end. The program works exactly as I want it to but every once in a while the "PM" or "AM" gets written in lower case, "pm" or "am" Any ideas on why this happens.
Moderators SmOke_N Posted September 18, 2008 Moderators Posted September 18, 2008 I have a program that uses radio buttons to create a filename based on the date and the time. E.G. 091808Wed-7PM.csv. I use ControlSend("Enter name of file to save to", "", "[CLASS:Edit; INSTANCE:1]","{HOME} {DEL 15}" & $BroadcastName) to write the name. {HOME} {INS} was sticking odd characters on the end. The program works exactly as I want it to but every once in a while the "PM" or "AM" gets written in lower case, "pm" or "am" Any ideas on why this happens.Use controlsettext() instead. It's possible something is holding the shift down (you or another app) at the exact instance it's sending. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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