Hello everyone!
I am new to autoit and had a unique problem that I was hoping someone could help with.
I am trying to select something that's in a drop down menu on a toolbar.
I have found I can find the window name and control ID in the help tool with the sci-editor.
When I view the source I see what button I want to select but I'm having a hard time selecting
this button in the source code.
<button id="button_desktop_internal_aa879690956e11e2bcffe6b69e160b18" action="launch_desktop_internal_aa879690956e11e2bcffe6b69e160b18"/>
I've tried control click. Is there a way to do the action attached without actually selecting it?
I've tried ControlClick(mywindow, "", "[CLASS:TRzToolbar; INSTANCE:1]"). From what I've seen all the buttons to click on the toolbar have the same ID.
Thanks in advance! Below is the summary from the info Tool.
>>>> Window <<<<
Title: Expeditors Desktop - Desktop Version: 1.16.3.1.0 / 1.16.3 / ;SP1 / IE 8.00.7600.16385 (win7_rtm.090713-1255)0
Class: TfmBrowser
Position: 0, 0
Size: 1280, 36
Style: 0x170F0000
ExStyle: 0x00050180
Handle: 0x004807D2
>>>> Control <<<<
Class: TRzToolbar
Instance: 1
ClassnameNN: TRzToolbar1
Name:
Advanced (Class): [CLASS:TRzToolbar; INSTANCE:1]
ID: 5245094
Text:
Position: 90, 0
Size: 1176, 22
ControlClick Coords: 394, 10
Style: 0x56000000
ExStyle: 0x00010000
Handle: 0x005008A6
>>>> Mouse <<<<
Position: 491, 17
Cursor ID: 0
Color: 0x000000
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
>>>> Hidden Text <<<<
312
100
312
100
Ready
pnXML
ScrollArea
I am new to autoit and had a unique problem that I was hoping someone could help with.
I am trying to select something that's in a drop down menu on a toolbar.
I have found I can find the window name and control ID in the help tool with the sci-editor.
When I view the source I see what button I want to select but I'm having a hard time selecting
this button in the source code.
<button id="button_desktop_internal_aa879690956e11e2bcffe6b69e160b18" action="launch_desktop_internal_aa879690956e11e2bcffe6b69e160b18"/>
I've tried control click. Is there a way to do the action attached without actually selecting it?
I've tried ControlClick(mywindow, "", "[CLASS:TRzToolbar; INSTANCE:1]"). From what I've seen all the buttons to click on the toolbar have the same ID.
Thanks in advance! Below is the summary from the info Tool.
>>>> Window <<<<
Title: Expeditors Desktop - Desktop Version: 1.16.3.1.0 / 1.16.3 / ;SP1 / IE 8.00.7600.16385 (win7_rtm.090713-1255)0
Class: TfmBrowser
Position: 0, 0
Size: 1280, 36
Style: 0x170F0000
ExStyle: 0x00050180
Handle: 0x004807D2
>>>> Control <<<<
Class: TRzToolbar
Instance: 1
ClassnameNN: TRzToolbar1
Name:
Advanced (Class): [CLASS:TRzToolbar; INSTANCE:1]
ID: 5245094
Text:
Position: 90, 0
Size: 1176, 22
ControlClick Coords: 394, 10
Style: 0x56000000
ExStyle: 0x00010000
Handle: 0x005008A6
>>>> Mouse <<<<
Position: 491, 17
Cursor ID: 0
Color: 0x000000
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
>>>> Hidden Text <<<<
312
100
312
100
Ready
pnXML
ScrollArea