Jump to content
Sign in to follow this  
gfunk999

Class:NetUIHWND Outlook 2007

Recommended Posts

gfunk999

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

Share this post


Link to post
Share on other sites
celestialspring

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.

Share this post


Link to post
Share on other sites
gfunk999

You can manipulate the mouse to click on static coordinates, but it's not fool proof and it just doesn't look good.

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

Share this post


Link to post
Share on other sites
celestialspring

Ya, mouse click is so much monitor and resolution dependent. Its not a good way of doing things.

I have tried experimenting with the Keyboard shortcuts also but you have to add a pause in between them and have outlook open and infront all the time.

Really sucks mate.

cs

Share this post


Link to post
Share on other sites
NG13

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]

Share this post


Link to post
Share on other sites
LarsJ

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.

Share this post


Link to post
Share on other sites
water

Why automate the GUI?

Use my OutlookEX UDF to automate Outlook using COM.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
ashishpu

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.