Jump to content

Class:NetUIHWND Outlook 2007


Recommended Posts

Hi all :)

Has anyone figured out how to interact with Outlook 2007 ribbon buttons NetUIHWND class? I'm trying to do a control click on Save & Close but AutoIT Window Info shows no information on the button(s).

Posted Image

Someone already posted this question, but there was no reply Outlook Automation/Control Help

Not to my knowledge. I have also scoured the forum for answers, I couldn't find anything.

Link to comment
Share on other sites

  • 4 years later...

Hi 

 

Can anybody help me on how to capture the current connection status of my Outlook client to Microsoft exchange server ? attaching screen shot and details:

 

>>>> Window <<<<

Title: Inbox - <someone@example.com> - Microsoft Outlook

Class: rctrl_renwnd32

Position: -8, -8

Size: 1456, 886

Style: 0x17CF0000

ExStyle: 0x00040100

Handle: 0x00000000000C0756

 

>>>> Control <<<<

Class: NetUIHWND

Instance: 2

ClassnameNN: NetUIHWND2

Name:

Advanced (Class): [CLASS:NetUIHWND; INSTANCE:2]

ID:

Text:

Position: 0, 856

Size: 1440, 22

ControlClick Coords: 1055, 12

Style: 0x56000000

ExStyle: 0x00000000

Handle: 0x00000000000506DA

 

>>>> Mouse <<<<

Position: 1055, 860

Cursor ID: 0

Color: 0x703B58

 

>>>> StatusBar <<<<

 

>>>> ToolsBar <<<<

 

>>>> Visible Text <<<<

Frame Splitter

Frame Splitter

Frame Splitter

Frame Splitter

MsoDockTop

Ribbon

Ribbon

MsoDockBottom

Status Bar

Status Bar

DatePicker

FolderBar

NUIDocumentWindow

NUIDocumentWindow

NUIDocumentWindow

Table View

Vertical

Agenda View

Subject

Happy 1st Rob Valenti

From

 

Categories:

Sent:

Tue 1/7/2014 10:25 AM

To:

 

Cc:

 

Attachments

Message

Message

MSO Generic Control Container

Message

Vertical

Contact photo

Microsoft Outlook Social Connector

Click to expand the People Pane

Table View

Vertical

 

 

>>>> Hidden Text <<<<

MsoDockLeft

MsoDockRight

MsoWorkPane

Signed By:

Label:

Retention Policy:

Archive:

Expires:

Attachments:

DAL=on

File Name

Changed By:

Checked Out To:

Last Changed:

Attachments

DAL=on

Click to toggle between the People Pane views

Connect to social networks to show profile photos and activity updates of your colleagues in Outlook. Click here to add networks.

Add

All Items

Activities

Mail

Attachments

Meetings

Status Updates

MsoWorkPane

 

regards

[font="verdana, geneva, sans-serif;"]NG[/font]

Link to comment
Share on other sites

Take a look at the UI Automation framework.

Download the two UDFs in the bottom of first post and download and run the code in the "Simple spy demo" codebox in the middle of first post. To verify that the control can be identified place the mouse cursor over the control and press Ctrl+w. You can see an example in post #14 here.

Link to comment
Share on other sites

Why automate the GUI?

Use my OutlookEX UDF to automate Outlook using COM.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

  • 2 months later...

Hi, 

I need to write a autoit script to check the time required for outlook to connect to the network and change its status to connected after launching it.

I want to know how to check the connection status and how do I calculate the time required to connect to network.

thanks in Advance!

Regards,

Ashish

Link to comment
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
 Share

  • Recently Browsing   0 members

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