Code: Select all
Printx := 1
Printy := 1
%Printx%+=5
%Printy%+=5
MsgBox % Printx A_Tab Printy
HTH
Code: Select all
Printx := 1
Printy := 1
%Printx%+=5
%Printy%+=5
MsgBox % Printx A_Tab Printy
Code: Select all
Loop
{
PixelGetColor, DetectMath, 700, 850
if (DetectMath = 0x36312F)
{
SoundBeep
Pause
}
else
{
PixelSearch, X, Y, 900, 700, 1200, 900, 0xF4A420
if (ErrorLevel = 0)
{
SoundBeep
Pause
}
else
{
Send, test{enter}
Sleep 3000
}
}
}
return
Code: Select all
ExecScript(ScriptCode, ["arg"], "name=myscriptnamehere", "dir=" . A_WorkingDir)
DetectHiddenWindows, On
WinClose, myscriptnamehere
Code: Select all
rcolors := "0x595142|0x595141|0x121352|0x131352"
PixelGetColor, nowcolor, rx, ry
If InStr(rcolors, nowcolor)
Send {PgUp}
Code: Select all
x::send, wasd
Code: Select all
driver.FindElementByXPath("//td/div/table/tbody/tr/td/table/tbody/tr/td[2]/div").Click
Code: Select all
; Create button:
gui add,button,gsaffzeigen vsaffFav w100,xxx
; Change button:
GuiControl,,saffFav,%s%
document.getElementsByClassName("track__bar js-width js-width--is-initialised")[6].style.width = 90%autohotkeycool wrote: ↑25 Dec 2020, 16:17Or is it not possible to download the section of the element that contains the pace figures?