% sign Topic is solved

Get help with using AutoHotkey 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”

Who is online

Users browsing this forum: aifritz, b0dhimind, Bing [Bot], Google [Bot], Ram and 49 guests