Jump to content

Can't get ID of button on app to be able to press it


Recommended Posts

I have an Free audio editor called Wave Editor

http://www.wave-editor.com/

I want to be able to use Autoit to press the PLAY and STOP buttons, but when I use tht ID Tool to try to identify the buttons, the FRAME that the buttons are placed on gets outlined and that's as far as I can go.

Would anybody please look at this particular problem and help me solve it.

I'd love you for it.

Thanks in advance.

Edited by taylormade
Link to comment
Share on other sites

So you get this with AU3Inf

>>>> Window <<<<
Title: One Direction - 01 - Live While We're Young.wav - Wave Editor
Class: TMainForm
Position: 93, 264
Size: 662, 528
Style: 0x16CF0000
ExStyle: 0x00010110
Handle: 0x00030454


>>>> Control <<<<
Class: TActionToolBar
Instance: 1
ClassnameNN: TActionToolBar1
Name: 
Advanced (Class): [CLASS:TActionToolBar; INSTANCE:1]
ID: 131800
Text: Operations
Position: 11, 26
Size: 635, 28
ControlClick Coords: 488, 16
Style: 0x54000000
ExStyle: 0x00000000
Handle: 0x000202D8


>>>> Mouse <<<<
Position: 600, 336
Cursor ID: 0
Color: 0xD6DDEF


>>>> StatusBar <<<<


>>>> ToolsBar <<<<


>>>> Visible Text <<<<
Hoofdvenster
Volume
Cursor
00:00.000
Niveaus
Selectie
Geselecteerde
 00:00.000
 00:00.000
ActionMainMenuBar1
Operations
Indeling: 44100 Hz, 2 Ch.




>>>> Hidden Text <<<<

Seems also not to be accessible with accessibility. Do not know if this toolbar can be made accessible

Link to comment
Share on other sites

Its probably more difficult and you need to send the proper messages around

http://mh-nexus.de/en/delphimessages.php

VCL Control Notifications

VCL Control Notifications are just reflections of the corresponding WM_xxx messages. They are sent by a window to their parent  window (not VCL but Windows). This makes in Delphi no sense as the parent knows basically nothing about its child windows  and can therefore not handle them. Each of these messages contains in its lParam the handle of the child window which  has sent the message.  The VCL does nothing else then to add CN_BASE to the message value and sends the message then to the  window which created it originally. This way windows can handle their special messages themselves.

Control Notification                             Value

CN_BASE                                            $BC00

CN_CHAR                                            CN_BASE + WM_CHAR

CN_CHARTOITEM                               CN_BASE + WM_CHARTOITEM

CN_COMMAND                                    CN_BASE + WM_COMMAND

CN_COMPAREITEM                            CN_BASE + WM_COMPAREITEM

CN_CTLCOLORBTN                             CN_BASE + WM_CTLCOLORBTN

CN_CTLCOLORDLG                            CN_BASE + WM_CTLCOLORDLG

CN_CTLCOLOREDIT                            CN_BASE + WM_CTLCOLOREDIT

CN_CTLCOLORLISTBOX                     CN_BASE + WM_CTLCOLORLISTBOX

CN_CTLCOLORMSGBOX                     CN_BASE + WM_CTLCOLORMSGBOX

CN_CTLCOLORSCROLLBAR               CN_BASE + WM_CTLCOLORSCROLLBAR

CN_CTLCOLORSTATIC                       CN_BASE + WM_CTLCOLORSTATIC

CN_DELETEITEM                                CN_BASE + WM_DELETEITEM

CN_DRAWITEM                                   CN_BASE + WM_DRAWITEM

CN_KEYDOWN                        CN_BASE + WM_KEYDOWN

CN_KEYUP                                         CN_BASE + WM_KEYUP

CN_HSCROLL                                     CN_BASE + WM_HSCROLL

CN_MEASUREITEM                             CN_BASE + WM_MEASUREITEM

CN_NOTIFY                                         CN_BASE + WM_NOTIFY

CN_PARENTNOTIFY                            CN_BASE + WM_PARENTNOTIFY

CN_SYSKEYDOWN                             CN_BASE + WM_SYSKEYDOWN

CN_SYSCHAR                                     CN_BASE + WM_SYSCHAR

CN_VKEYTOITEM                               CN_BASE + WM_VKEYTOITEM

CN_VSCROLL                                     CN_BASE + WM_VSCROLL

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