Hi All,
I can open internet explorer and get to a webpage. I have a website for work that has % in it and it gives me the following error when trying to run.
"Error at line 4
The following variable name contains an illegal character: "2fProject+Report"
The program will exit.
2fProject+Report is what follows the % on the url.
Is the % messing the code up? If so, is there a way around it?
I'm using the following code structure.
!space::
run iexplore.exe "http://reports.com/Pages/Report.aspx?It ... ode=Detail"
return
Webpage URL with % sign
Webpage URL with % sign
Last edited by rzacal on 13 Sep 2018, 18:15, edited 1 time in total.
Re: Webpage URL with = sign
Code: Select all
Run % "https://autohotkey.com/boards/viewtopic.php?f=5&t=55642"
Re: Webpage URL with % sign
Thank you. I just realized that it wasn't the = that was the problem. The URL has a % in it.
The link has this structure:
http://reports.com/Pages/Report.aspx?It ... ode=Detail
The link has this structure:
http://reports.com/Pages/Report.aspx?It ... ode=Detail
Re: Webpage URL with % sign
Did you get it to work?
else maybe try this:
else maybe try this:
Code: Select all
!Space::
{
Run, chrome.exe
Sleep, 200
Send, https://autohotkey.com
Send, {Enter}
}
return
Re: Webpage URL with % sign
your url seems wrong , as iseahound suggested shoul'd work
Code: Select all
aa:="https://vimeo.com/search?q=jim%20reeves"
run,%aa%
return