Sign in to follow this  
Followers 0
RonW

Control -L problem

2 posts in this topic

How to log out of Amazing Charts with AutoIT script - Control-L fails.

Question:

Amazing Charts is a EMR that uses a ThunderRT6FormDC.

When user on console is in the application "CTRL-L" logs the user out bringing back to log in screen and not having to reload the program. Very cool.

In AutoIT controlsend, controlsettext or send fails to log out the user. Keys tried included "^L", {CNTRLDOWN}L{CNTRLUP}, {ASC 012}.

eg:

ControlSetText("Amazing Charts","",36,"^L")

ControlSend("Amazing Charts","",1,"ASC 012")

Send("^L")

OS: Windows7;64

Does anyone know the "secret handshake" that will make this work?

Thank you.

Share this post


Link to post
Share on other sites



The L is case-sensitive. ^L is actually ctrl+shift+l which is different from ^l. Keep that in mind.

This usage:

ControlSetText("Amazing Charts","",36,"^L")
ControlSend("Amazing Charts","",1,"ASC 012")

Is incorrect. Maybe you just tried all the wrong things.

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