keashdoc Posted December 8, 2017 Posted December 8, 2017 Hi, I am trying to send a CTRL B command to enable bold typing to an electronic medical record program. When I type something in the EMR and click the left CTRL button and B simultaneously, the subsequent test is bold which is what I want. However, when I use an Autoit Script that does not happen. I have tried Send ("^B") and also Send ('{CTRLDOWN}B{CTRLUP}') and neither of them produce the desired result. I was wondering if anyone had any other suggestions. Why would the CTRL B command work when I type manually but not work with Autoit which I understand is simulating the keystrokes similar to typing? Thanks
ajag Posted December 8, 2017 Posted December 8, 2017 From autoit help: "N.B. Some programs are very choosy about capital letters and CTRL keys, i.e., "^A" is different from "^a". The first says CTRL+SHIFT+A, the second is CTRL+a. If in doubt, use lowercase!" So maybe Send ("^b") will work? A-Jay Rule #1: Always do a backup Rule #2: Always do a backup (backup of rule #1)
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