mcbuddah Posted November 8, 2004 Share Posted November 8, 2004 I checked the help file and I believe I have the correct syntax of code and am not spelling anything incorrectly. I'm missing something basic but I need some more eyes to take a look at what I'm doing wrong. I am attempting to simply uncheck these top three checkbox's in Microsoft Word under Tools -> Customize. I have attached a picture to help, as well as the code I have thus far. ControlCommand("Customize", "", "Me&nus show recently used commands first", "Uncheck", "") Sleep(500) ControlCommand("Customize", "", "Standard and Formatting toolbars &share one row", "Uncheck", "") Sleep(500) ControlCommand("Customize", "", "Show s&hortcut keys in ScreenTips", "Check", "") Link to comment Share on other sites More sharing options...
this-is-me Posted November 8, 2004 Share Posted November 8, 2004 You should us the AU3_Spy in the start menu do find the control id instead of worrying about the wrong spelling. Who else would I be? Link to comment Share on other sites More sharing options...
mcbuddah Posted November 8, 2004 Author Share Posted November 8, 2004 You should us the AU3_Spy in the start menu do find the control id instead of worrying about the wrong spelling.<{POST_SNAPBACK}>I tried that and I don't get a control id or classname. Link to comment Share on other sites More sharing options...
Matt @ MPCS Posted November 8, 2004 Share Posted November 8, 2004 AFAIK, If you don't get a name then you cannot use Control* commands to manipulate the controls. *** Matt @ MPCS Link to comment Share on other sites More sharing options...
mcbuddah Posted November 8, 2004 Author Share Posted November 8, 2004 AFAIK, If you don't get a name then you cannot use Control* commands to manipulate the controls.*** Matt @ MPCS<{POST_SNAPBACK}>Aha! I knew I was missing something very basic. Thanks Link to comment Share on other sites More sharing options...
scriptkitty Posted November 8, 2004 Share Posted November 8, 2004 (edited) Doesn't seem to have any "Standard" Controls to use .. one sec... Only thing Class list shows is: MsoCommandBar ScrollBar ScrollBar ScrollBar RichEdit20W This is fairly typical of Microsoft products not following standard windows rules and forms. Edited November 8, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
mcbuddah Posted November 8, 2004 Author Share Posted November 8, 2004 Doesn't seem to have any "Standard" Controls to use .. one sec...Only thing Class list shows is:MsoCommandBarScrollBarScrollBarScrollBarRichEdit20WThis is fairly typical of Microsoft products not following standard windows rules and forms. <{POST_SNAPBACK}>Yeah, I figured this would be the easy part of my script, guess not. Link to comment Share on other sites More sharing options...
Fritsche Posted September 25, 2007 Share Posted September 25, 2007 You can analyse the Commandbars with Microsoft Active Accessibility. See this Topic. Link to comment Share on other sites More sharing options...
JBeef Posted September 25, 2007 Share Posted September 25, 2007 hay! i read all and now see it is 2004 stuff. you get me good. ~Jap Link to comment Share on other sites More sharing options...
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