#954 closed Bug (No Bug)
WinWaitActive("I/M Period End Processing",5) stalls autoit — at Version 1
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.0.0 | Severity: | None |
Keywords: | Cc: |
Description (last modified by Valik)
{{(
WinActivate("I/M Period End Processing")
WinWaitActive("I/M Period End Processing",5)
}})
Autoit appears to be waiting indefinitely for the listed window. I suspect it may have to do with the "/".
I can substitute:
{{(
WinActivate("I/M Period End Processing")
;~ WinWaitActive("I/M Period End Processing",5)
Sleep(1000)
}})
This can get me past this and I can ControlClick whatever I need next, but I hate to blindly send Enter and/or Clicks as it will inevitably fail.
Window Summary Info:
Window <<<<
Title: I/M Period End Processing
Class: m90
Position: 431, 146
Size: 475, 327
Style: 0x96CA0000
ExStyle: 0x00000101
Handle: 0x014C0876
Control <<<<
Class: PvxButton32
Instance: 3
ClassnameNN: PvxButton323
Advanced (Class): [CLASS:PvxButton32; INSTANCE:3]
ID:
Text: Only Remove Transaction Detail
Position: 98, 77
Size: 350, 14
ControlClick Coords: 310, 9
Style: 0x54000000
ExStyle: 0x00000000
Handle: 0x00B9093A
Mouse <<<<
Position: 842, 254
Cursor ID: 2
Color: 0xD4D0C8
StatusBar <<<<
Visible Text <<<<
Full Period End Processing
Only Remove Costing Tiers with Zero Quantities
Only Remove Transaction Detail
Only Remove Detail History
&Proceed
&Cancel
Change History (1)
comment:1 Changed 16 years ago by Valik
- Description modified (diff)
- Resolution set to No Bug
- Status changed from new to closed
Or, you could be calling the function wrong. Should have been posted in the support forum first. It's a very simple and obvious error on your part.