Code: Select all
req := ComObjCreate("MSXML2.ServerXMLHTTP")
req.open("GET", "https://powerbi.com", true)
req.send()
Code: Select all
req := ComObjCreate("MSXML2.ServerXMLHTTP")
req.open("GET", "https://powerbi.com", true)
req.send()
Code: Select all
F1::
SetTitleMatchMode, 2
ControlSend,, {F5}, ahk_exe msedge.exe
thanks, but I don't have adminmalcev wrote: ↑12 Jul 2023, 06:57Run this code with autohotkey ui access.
Or first execute RunWithUiAccess() function.
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=119251
I see, thanksboiler wrote: ↑12 Jul 2023, 05:06You need to force an expression:
See % Expression.Code: Select all
Gui Show, % "x0 y" . (A_ScreenHeight-100) . " w100 h100"
looks good, thank you so much
Code: Select all
f1::
ie := ComObjCreate("InternetExplorer.Application")
ie.Visible := false
ie.Navigate("https://prod-172.westus.logic.azure.com:443/workflows/")
While (ie.ReadyState != 4) || (ie.Busy)
Sleep, 1000
ie.Quit()
MsgBox, ok
return
Code: Select all
f1::
Run https://www.baidu.com/,, Hide
return
thanks for your kind helpmikeyww wrote: ↑22 Jan 2023, 20:57Hello,
If you want the dimensions, you can use A_ScreenHeight & A_ScreenWidth for primary monitor, or use SysGet.
As you make the switch to AHK v2, see: https://www.autohotkey.com/docs/v2/lib/Monitor.htm.