Jump to content

Recommended Posts

Posted

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", "")
Posted

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. :)
Posted

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 :)
Posted (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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Posted

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. :)

<{POST_SNAPBACK}>

Yeah, I figured this would be the easy part of my script, guess not. :)
  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...