Hi all,
Could anybody please tell me how to Run "inetcpl.cpl,4"?
run inetcpl.cpl with parameter ",4"? Topic is solved
Re: run inetcpl.cpl with parameter ",4"?
Code: Select all
Run % "control inetcpl.cpl,,4"
Re: run inetcpl.cpl with parameter ",4"? Topic is solved
Code: Select all
Run control inetcpl.cpl`,`,4
It also works this way:
Code: Select all
Run % "rundll32 Shell32.dll,Control_RunDLL inetcpl.cpl,,4"
Code: Select all
Run rundll32 Shell32.dll`,Control_RunDLL inetcpl.cpl,,, PID
WinWaitActive ahk_pid %PID%
Control, TabRight, 4, SysTabControl321, ahk_pid %PID%
Code: Select all
DllCall("connect.dll\CreateVPNConnection", "Ptr", 0, "UInt", 0, "UInt", 0, "UInt", 0, "Ptr", 0, "WStr", "", "UInt")
Re: run inetcpl.cpl with parameter ",4"?
Thanks a lot for your help, it works!
Re: run inetcpl.cpl with parameter ",4"?
@Alguimist Thank you so much.
Based on yours I got what I wanted - LAN Settings:
Based on yours I got what I wanted - LAN Settings:
Code: Select all
Run % "rundll32 Shell32.dll,Control_RunDLL inetcpl.cpl,,4",,, PID
WinWaitActive ahk_pid %PID%
send,!l
About DllCall I know nothing, your line works, but for inetcpl.cpl, I guess it's not a dll ?Alguimist wrote: ↑18 Mar 2020, 00:02Maybe you want to access a specific dialog from that tab page. For example (untested):Code: Select all
DllCall("connect.dll\CreateVPNConnection", "Ptr", 0, "UInt", 0, "UInt", 0, "UInt", 0, "Ptr", 0, "WStr", "", "UInt")
Who is online
Users browsing this forum: cjsmile999, doodles333 and 352 guests