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

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.
rwilson522Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

matrixnzCommented:
Is it specific to the left or right control keys?  i.e. have you tried Send('{LCTRL}L') or Send('{RCTRL}L') also just to test, if you send other keys to the program do they work?

Cheers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
matrixnzCommented:
Oh and also have a look at Opt('SendKeyDelay'...) your system might be sending the keys to fast for the program to recognise it especially if you're using mulitle send commands, you can even test by putting a sleep(100) between your Ctrl L and the previous command.

Cheers
0
TheGorbyCommented:
Also try using a lowercase 'L' instead of a capital one, some programs only work with one or the other.

The {CTRLDOWN}{CTRLUP} method always works best for me. Something I noticed in your post that would fail your script if it's the same, is that you spelled these with an 'N' as in {CNTRLDOWN} and {CNTRLUP}. You may want to double check that it's not that way in your script.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Shell Scripting

From novice to tech pro — start learning today.