quentin Posted December 5, 2005 Posted December 5, 2005 Hi all, I've wrote a macro with excel witch launch a userform when it is activated. My problem is that i want my autoit script to click in a window an then click on a button of the userform. I've tried ControlFocus on Micrsoft Excel but it's only working when the macro isn't launched. Do you know what i can do ? What are the second ant the third options in the ControlFocus for ? Thx
Nuffilein805 Posted December 5, 2005 Posted December 5, 2005 have you ever tried autoitwindowinfo to get the control-id of your control? the second thing in the ControlFocus is for the text of the window (never used it - always "") the third is the control-id as returned by autoitwindowinfo my little chatmy little encryption toolmy little hidermy unsafe clickbot
quentin Posted December 5, 2005 Author Posted December 5, 2005 Ok, thx for the explanation. It seems to be working.
Nuffilein805 Posted December 5, 2005 Posted December 5, 2005 no problem glad i could help my little chatmy little encryption toolmy little hidermy unsafe clickbot
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