Jump to content
Macro Express Forums

SysTabControl32


buddmc
 Share

Recommended Posts

I need to be able to select a printer from the list of installed printers that appear in a 'systabcontrol32' control on the 'Print' dialog in a windows-XP program. I have used the GetControl with and without the 'text' option. But all that the macro sees is text name of the control and the class, never the values within the systabcontrol32 itself.

 

How can I accomplish this?

 

Any help will be greatly appreciated.

Link to comment
Share on other sites

I need to be able to select a printer from the list of installed printers that appear in a 'systabcontrol32' control on the 'Print' dialog in a windows-XP program. I have used the GetControl with and without the 'text' option. But all that the macro sees is text name of the control and the class, never the values within the systabcontrol32 itself.

 

Well this is an ugly way (I'm new to ME) but it works:

Activate Window: "notepad"
Text Type: <ALT>fp
Activate Window: "Print"
Text Type: <ALT>d
Text Type: Adobe PDF
Text Type: <ENTER>
Text Type: <ALT>p

 

I suppose you could design an ME menu with all the printer names in your system and select the one that you want and have that input into the "Connect to Printer":Printer dialog box.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...