I'm having trouble with automatization of an app
At one point it might or might not prompt you to update the app (a pop-up if an update is availabe)
WinWait would not work for this case as it will wait forever for a window that might not popup.
If WinExist doesn't seem to work...
any ideeas?
bypass update prompt
Re: bypass update prompt
Code: Select all
#Persistent
SetTimer, catchIT,% 1000 * 10 ; Check every 10s
Return
catchIT:
IfWinActive, annoying update
{
ControlClick, button
ExitApp
}
Return
Re: bypass update prompt
thanks . will test it.
Do I have to do anything else if I integrate it in a larger script.
this optional step has to be at a certain point of the base script.
my goal is to automate they whole app and run it silently
so I'm wondering how script your provided me with can be integrated as a stept inside my automatization script and it doesn't alter parameters after it.
Do I have to do anything else if I integrate it in a larger script.
this optional step has to be at a certain point of the base script.
my goal is to automate they whole app and run it silently
so I'm wondering how script your provided me with can be integrated as a stept inside my automatization script and it doesn't alter parameters after it.
Re: bypass update prompt
Something like this might be useful, to check for the normal window or the popup window:
Code: Select all
GroupAdd, WinGroup, Normal Window Title
GroupAdd, WinGroup, Popup Window Title
WinWait, ahk_group WinGroup
WinGetTitle, vWinTitle, ahk_group WinGroup
;WinGetTitle, vWinTitle, A
MsgBox, % vWinTitle
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: bypass update prompt
https://autohotkey.com/docs/Tutorial.htm#s12apoklyps3 wrote:thanks . will test it.
Do I have to do anything else if I integrate it in a larger script.
this optional step has to be at a certain point of the base script.
my goal is to automate they whole app and run it silently
so I'm wondering how script your provided me with can be integrated as a stept inside my automatization script and it doesn't alter parameters after it.