Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

Using a literal string variable (URL) with ControlSend

  • Please log in to reply
1 reply to this topic
  • Members
  • 1 posts
  • Last active: Oct 28 2015 08:07 PM
  • Joined: 28 Oct 2015



I am trying to print out a URL string and tried various things without success


url := "https://www.google.n...otkey send url"

url = https://www.google.n...ey escape colon

url = https{:}//www.google.nl/?gws_rd=ssl{#}q=autohotkey+escape+colon
And a ton more in combination with
ControlSendRaw, , %url%, Mozilla Firefox
ControlSend, , {Raw}%url%, Mozilla Firefox
ControlSend, , %url%, Mozilla Firefox
But the colon keeps changing to a semi colon and I cannot get the hashtag to work either. Except when I put the colon or hashtag as the very first character using:
url := "# something #" results in - # something 3
url := ": something :" results in - : something ;
So what am I doing wrong? I just need to send these url's to a background app, that is all...



  • Members
  • 3249 posts
  • Last active: Nov 20 2015 05:30 AM
  • Joined: 23 Aug 2012

Have you changed the KeyDelay with SetKeyDelay? Because ControlSend has given me issues with not sending the desired character but the unshifted character if I used SetKeyDelay, 0. I had to set it to 1 to avoid the problems.