When open ScrapeBox, sometimes there’s one or more plugins addons have new version.
This autohotkey can detect the “Update check” window, and perform some additional works.
This script has a little problem which I don’t where it’s at the time this video is about to be uploaded.

But it’s will be found soon.

;SetTitleMatchMode, RegEx
wmst(s_title,S_text,”1&”,”1&”,””)
WinWaitClose, %s_title%
run, scrapebox.exe, m:\scrapebox_backlinks
WinWait, %s_title%, , 60
if ErrorLevel
{
MsgBox,,,”WinWait timed out”,1
return
}
else
{
WinWait, ^Update Check, , 60
if ErrorLevel
{
MsgBox,,,”No addon plugins need update”,1
}
else{
winclose, ^Update Check$
WinWaitClose,^Update Check$,,10
wmst(s_title,S_text,”7&”,”1&”,””)
winwait, ^Show Available.*Addons$,,10
if ErrorLevel
{
MsgBox,,,”WinWait timed out”,1
return
}
else{
MsgBox,,,”will click the updating button”,1
sleep, 2000
ControlClick, TButton1, ^Show Available.*Addons$, , L, 1
}

}
return
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s