% sign Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wdrs
Posts: 6
Joined: 08 Aug 2014, 02:26

% sign

06 Sep 2019, 09:55

How do I include the % sign (percentage sign) in a script?
I have ^::C
Send coob%k{Enter}
return
But I get an error suggesting there is something missing "Error: This parameter contains a variable name missing its ending percent sign. The program will exit"
I get the same message if I add quotation marks before and after "cookb%k".
Any suggestions?
Many thanks,
David
wdrs
Posts: 6
Joined: 08 Aug 2014, 02:26

Re: % sign

06 Sep 2019, 10:26

I tried that but it did not work either. I tried using single quote before the percentage sign and a single quote before and after the percentage sign and enclosing the whole word in double quotes. But I still get the same error message!
wdrs
Posts: 6
Joined: 08 Aug 2014, 02:26

Re: % sign

06 Sep 2019, 10:36

I apologise most sincerely. I was using the single quote (found on an English keyboard beneath the @) and not the ` accent found in the top left key on my English keyboard. That does work and thank you very much for your help.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 275 guests