I hope you can help me with this feature as I am a bit of a rookie in this program. I used to be a mac user, but now I use windows. I got used to the mac function using double space to make a period (like iphone and maybe android). I have found the code below online, but often it enters a period when I actually do not want it to. The reason is obvious, as it only occurs for instance when I write ” – ” (that is <space> - <space>), as I press space twice within the specified time frame.
Can someone maybe help me to make some sort of IF statement, so if the last three letters equal ” – ” or ” I ” it does NOT replace the double spacing with a period.
Thanks ya’ll
Code: (credit to user: DMG)
Code: Select all
~$space::
{
count++
settimer, dotspace, -190
keywait, space
}
return
dotspace:
{
if (count = 2) #I was thinking to add the not " - " and not " I " here?
{
sendinput, {backspace 2}.%a_space%
}
count := 0
}
return
Moderator Note: Added code tags. ~ sinkfaze