WinWaitActive - for Software that takes very long to load

Advanced Macro Recorder/Editor.

Moderator: Pulover

Jupitersbay
Posts: 7
Joined: 16 May 2021, 10:03

WinWaitActive - for Software that takes very long to load

Post by Jupitersbay » 25 May 2021, 04:12

Hi there,

I am using a Tradingsoftware that takes very long to load, because it has to connect to the internet and get all the market-data.
While it is loadin the market data there are two windows on the screen (see attached screenshots) that have to be clicked to disappear.
The problem is WinWaitActive seems not to work for these two messages.
Any idea what I could use instead of WinWaitActive?

Thank you,
Marlon
Attachments
twsp2.jpg
twsp2.jpg (18.24 KiB) Viewed 1457 times
twsp1.jpg
twsp1.jpg (17.81 KiB) Viewed 1457 times

User avatar
jasc2v8
Posts: 59
Joined: 10 Dec 2020, 12:24
Contact:

Re: WinWaitActive - for Software that takes very long to load

Post by jasc2v8 » 26 May 2021, 09:13

Please use Window Spy to see if it can identify the window title?
https://autohotkey.com/board/topic/63365-using-window-spy/

Jupitersbay
Posts: 7
Joined: 16 May 2021, 10:03

Re: WinWaitActive - for Software that takes very long to load

Post by Jupitersbay » 29 May 2021, 09:28

Thank you for answering. Unfortunately Window Spy is not giving a very explicit answer. But the main problem does seem to be: When dies warning window appears, that you have to click away at "I undestand and accept" it is not clickable immediately. Only when the control-button gets a blue frame you can click it away. I don't know how to tell PMC to wait until this dialog exists AND the controlbutton has a blue frame.
Any idea for this problem?
Thank you

User avatar
Pulover
Posts: 612
Joined: 29 Sep 2013, 19:51
Location: Brazil
Contact:

Re: WinWaitActive - for Software that takes very long to load

Post by Pulover » 29 May 2021, 09:33

You can try ImageSearch instead, with the loop until found option.
Rodolfo U. Batista
Pulover's Macro Creator - Automation Tool (Recorder & Script Writer)

Jupitersbay
Posts: 7
Joined: 16 May 2021, 10:03

Re: WinWaitActive - for Software that takes very long to load

Post by Jupitersbay » 03 Jun 2021, 04:30

This worked. Thank you Rodolfo.

Post Reply

Return to “Pulovers Macro Creator”