Sign in to follow this  
Followers 0
PaulH

Selecting A Tab

2 posts in this topic

Hi

Newbie question.

I need to open the Printer Properties dialog box of a Windows XP workstation and thence select a tab called "Options" from a list of Tabs called: General | Sharing | Ports | Advanced | Color Management | Security | Configuration | Options. Shown in order left to right.

Now in terms of opening the Printer Properties dialog box I can handle that using: RUNDLL32 PRINTUI.DLL,PrintUIEntry /p /n "<name of printer>". Works every time.

However I thought I could program AutoIT to select Options Tab for me and then click on a button in there titled "Get Information from Printer". I am certain I know how to select a button but the selecting the Tab is bamboozling me.

Can anyone help?

TIA

Paul

Share this post


Link to post
Share on other sites



Hi

Newbie question.

I need to open the Printer Properties dialog box of a Windows XP workstation and thence select a tab called "Options" from a list of Tabs called: General | Sharing | Ports | Advanced | Color Management | Security | Configuration | Options. Shown in order left to right.

Now in terms of opening the Printer Properties dialog box I can handle that using: RUNDLL32 PRINTUI.DLL,PrintUIEntry /p /n "<name of printer>". Works every time.

However I thought I could program AutoIT to select Options Tab for me and then click on a button in there titled "Get Information from Printer". I am certain I know how to select a button but the selecting the Tab is bamboozling me.

Can anyone help?

TIA

Paul

Have you looked at the ControlCommand() options in the help file... they have tab options/combo/edit etc... Might just be what your looking for.

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0