Sign in to follow this  
Followers 0
MikePainter

upper case to lower?

2 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

[center]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.[/center]

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