Jump to content
Sign in to follow this  
ViciousXUSMC

ControlSend sometimes reversing case of text

Recommended Posts

ViciousXUSMC

In some simple automation I have a few input boxes to declare as a variable and then later call those variables as my string in a ControlSend 

Example:

$desc = Inputbox("BMI", "What do you want as the Computer Description?")
ControlSend("System Properties", "", 122, $desc)

For me it seems like it always works, but for some of the techs using my script to work on computers they say it randomly does not get the uppercase/lowercase correct almost like doing the total opposite of what it should be with upper as lower and lower as upper.

Is anybody aware of what can cause an issue similar to this and what the proper remedy is?

 

Share this post


Link to post
Share on other sites
ViciousXUSMC

Hmm so nobody else has ever seen this sort of behavior?

Share this post


Link to post
Share on other sites
MikahS

Have a look at ControlSetText..


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites
MikahS

I looked at this article that had some suggestions that was similar to your case - >link


Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Share this post


Link to post
Share on other sites
ViciousXUSMC

Going to implement ControlSetText now, I'l have them test it out and let you guys know if that solves the issue.

When I used to use AHK that is the type of input I would use normally anyways rather than a "send" type as its faster and more reliable. 

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  

×