sharrakor Posted March 16, 2009 Posted March 16, 2009 I'm trying to get controlClick to work in a web browser, to even just controlSend, but neither are working for me. I've tried IE, FireFox, Google Chrome and OffByOne. How can I tell what applications these will work for?
foster74 Posted March 16, 2009 Posted March 16, 2009 (edited) "Note: AutoIt only works with standard Microsoft controls - some applications write their own custom controls which may look like a standard MS control but may resist automation. " I have always used these for message box type windows, such as when IE errors out and I need to click close. To automate a browser look at the _IE functions in the help file. Edited March 16, 2009 by foster74
BinaryBrother Posted March 16, 2009 Posted March 16, 2009 The 'AutoIt Window Information Tool' will help you there, if that tool can get ControlID's, so can AutoIt... It is included with AutoIt. As far as clicking inside a browser, look at the IE UDF... Under _IE in the help file. Happy coding. SIGNATURE_0X800007D NOT FOUND
sharrakor Posted March 16, 2009 Author Posted March 16, 2009 (edited) Thank you both. Much appreciated! Sorry if this is a stupid question, but can these _IE commands be executed on a minimized/hidden IE window? Edited March 16, 2009 by sharrakor
foster74 Posted March 16, 2009 Posted March 16, 2009 Thank you both. Much appreciated!Sorry if this is a stupid question, but can these _IE commands be executed on a minimized/hidden IE window?Yes they can.
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