▲ 1 r/AutoHotkey
So currently im working on a bigger project but ive taken out part of it cus im quite stuck. Part of the larger script is displaying a gif and ive gone through the html rout and i know some html but not enough, really i just want to flip the gif but setting its width to -100% and using transform: scaleX(-1); dont work. Help would be greatly appreciated.
F1::
Gui, New, +AlwaysOnTop -Caption +ToolWindow +LastFound
Gui, Color, 000000
WinSet, TransColor, 000000
Gui, Add, ActiveX, w%A_ScreenWidth% h200 vWB, Shell.Explorer
WB.Navigate("about:blank")
while (WB.readyState != 4)
Sleep, 10
html =
(
<html>
<body style="margin:0; overflow:hidden; background:black;">
<img src="https://media.tenor.com/mIPaS_6QEi4AAAAi/running-skeleton-skeleton.gif" style="width:100`%; height:100`%; transform: scaleX(-1);">
</body>
</html>
)
WB.document.write(html)
Gui, Show, x0 y0 w%A_ScreenWidth% h200
return
u/Clean_Duck_5279 — 9 days ago