Jump to content

Reterive text from tool tip of a button


shiv
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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

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

?

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

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...