Posts: 1,271
Threads: 399
Joined: Mar 2003
What is the correct way to select an item in syslistview32 and double click or alt+enter it?
With GetListViewItemText(hlv 0 &s)) out s i already get the text.
I need that for selecting the first email account in the Mail Microsoft Outlook 2016 settings.
Posts: 12,073
Threads: 140
Joined: Dec 2002
02-05-2018, 07:29 PM
(This post was last modified: 02-05-2018, 07:30 PM by Gintaras.)
this macro selects the second item in the QM Open items list
Macro
Macro2962
int w=win("Quick Macros" "QM_Editor")
Acc a.Find(w "LIST" "" "class=SysListView32" 0x1004)
a.elem=2 ;; or a.Navigate("child2")
a.DoDefaultAction
Posts: 1,271
Threads: 399
Joined: Mar 2003
02-07-2018, 08:41 PM
(This post was last modified: 02-07-2018, 08:43 PM by _pi.)
I had to use
Macro
Stellvertretung
run "$3$ 1E0071800000000000000000000032CDD4A05D5D724FBAAA767A7AD6BAC5" ;;Mail (Microsoft Outlook 2016)
int w=wait(0 WA win("Mail-Setup - *" "#32770" "" 0x1))
int c=id(1108 w) ;;Schaltfläche 'E-Mail-Konten...'
but c
int w1=wait(0 WA win("Kontoeinstellungen" "#32770"))
Acc a.Find(w1 "LISTITEM" "*@domain.net" "class=SysListView32[]id=204" 0x1005)
a.Mouse(4)
int w2=win("Konto ändern" "#32770")
int c1=id(354 w2) ;;Schaltfläche 'Weitere Einstellungen...'
but c1
int w3=win("Microsoft Exchange" "#32770")
int c2=id(12320 w3) ;;Register
SelectTab c2 1
but id(600 w3)
int w4=win("Postfach hinzufügen" "#32770")
int c3=id(500 w4) ;;bearbeitbarer Text 'Postfach hinzufügen:'