Is this an AHK or a browser issue?
Run, file:///%A_ScriptDir%\MyPage.htm#AnAnchor
results on a computer with default browser Edge in only file:///%A_ScriptDir%\MyPage.htm in the URL field (an there is no jump to the anchor).
URL with a # anchor
-
- Posts: 506
- Joined: 24 Aug 2016, 03:34
Re: URL with a # anchor
I believe the AutoHotkey Run command is essential to using Win+R. I just tried using Win+R to run a file:/// url with anchor, and yes it brings up my browser and in the url bar there is no anchor.
Re: URL with a # anchor
When written in a parameter line # must be escaped.
Code: Select all
Run, file:///%A_ScriptDir%\MyPage.htm`#AnAnchor
Who is online
Users browsing this forum: peter_ahk and 354 guests