When I try this following script,
- the message box shows '1' for the numbers of urls
- run commands don't work.
How can I fix the issue?
test url :
https://www.autohotkey.com/
https://artelogic.net/blog/top-7-web-resources-built-using-net/
https://en.wikipedia.org/wiki/.edu
Code: Select all
#z:: {
url := ""
Send "^c"
Sleep 50
Loop parse A_Clipboard, "`n"
{
url :=RegExMatch(A_LoopField, "(\S+\.(com|net|co\.|biz|or|org|edu|kr|co\..+))")
msgbox url
Run "chrome.exe" url
}
}