Sign in to follow this  
Followers 0
shiv

Reterive text from tool tip of a button

4 posts in this topic

Hi Is this possible that we can take the focus to a control with the help of shortcut key,

Suppose i am using Oulook.

And for reply to any mail

i send ALT then H and the RP. [H and RP are shortcut keys]

can i take the focus to reply button with the help of short cut key as there is not any specific id for reply button. the autoit window info tool can not take the focus to particular button in outlook. it provides the class and ID details for the complete frame which has a lots of options and button.

Share this post


Link to post
Share on other sites



Did you check the Outlook UDF in the examples section?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Additionally, outside of the API calls that Palestinian recommended (which should be used), you should check this thread out to manipulate such controls...it can identifiy all the buttons on that toolbar:

'?do=embed' frameborder='0' data-embedContent>>

Mouse position is retrieved 302-103
At least we have an element [Reply All][NetUIRibbonButton]
Having the following values for all properties:
Title is: <Reply All> Class   := <NetUIRibbonButton> controltype:= <UIA_ButtonControlTypeId> ,<50000> , (0000C350) 
*** Parent Information ***
Title is: <Respond> Class   := <NetUIChunk> controltype:= <UIA_GroupControlTypeId> ,<50026> , (0000C36A) 
*** Detailed properties of the highlighted element ***
UIA_AcceleratorKeyPropertyId :=Ctrl+Shift+R
UIA_AccessKeyPropertyId :=Alt, H, R A
UIA_AriaPropertiesPropertyId :=
UIA_AriaRolePropertyId :=
UIA_AutomationIdPropertyId :=
UIA_BoundingRectanglePropertyId :=272;50;42;66
UIA_ClassNamePropertyId :=NetUIRibbonButton
UIA_ClickablePointPropertyId :=
UIA_ControllerForPropertyId :=
UIA_ControlTypePropertyId :=50000
UIA_CulturePropertyId :=0
UIA_DescribedByPropertyId :=
UIA_DockDockPositionPropertyId :=5
UIA_ExpandCollapseExpandCollapseStatePropertyId :=3
UIA_FlowsToPropertyId :=
UIA_FrameworkIdPropertyId :=

Edited by jdelaney

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

i may be missing the obvious here, but what's wrong with

Send("!h")
Send("rp")

?

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