How can I make in line backticks? Topic is solved
How can I make in line backticks?
I want to write `` and put the insertion cursor in the middle. AutoHotkey scripts don't seem to use backtick well.
Re: How can I make in line backticks?
Code: Select all
Send ````{Left}
Re: How can I make in line backticks?
Terrific can I map this to a single `? I was able to assign it to^`:
Code: Select all
^`::Send ````{Left}
Re: How can I make in line backticks?
Code: Select all
~`::Send ``{Left}
Re: How can I make in line backticks?
Sometimes when I press ` then the second backtick prints and it goes back one space. Please correct this:
Code: Select all
~`::
Send `
Sleep 100
Send `{Left}
return
Re: How can I make in line backticks?
That's what the script does:
I want to write `` and put the insertion cursor in the middle.
Re: How can I make in line backticks? Topic is solved
@mikeyww With which, my script or yours? My script only makes a ` and goes backwards one space. With your script, it's only sometimes.
EDIT: Fixed
EDIT: Fixed
Code: Select all
~`::
Send ``
Send {Left}
return
Re: How can I make in line backticks?
OK. It looks like you have replicated what I already posted.
Re: How can I make in line backticks?
I don't know why your script sometimes didn't work. I figure my solution will always work because by default there is a 10 ms delay per line.
Re: How can I make in line backticks?
I believe that you are mistaken. The key delay occurs for every key. In terms of lines:
The script will sleep for 10ms every time it has run for 20ms
Re: How can I make in line backticks?
Thank you for correcting me, I guess I was thinking of SetBatchLines, 10ms, btw how long would a delay be if I use SetBatchLines, 1. I think to solve my problem I should just add a delay before the first `.
Last edited by LAPIII on 18 May 2022, 11:16, edited 1 time in total.