I've been using typingAid for a long time, and I'd like to share some issues and questions. Maybe they can contribuite to increment the script. So, everybody feel free to comment, make suggestions and corrections (including about English mistake)
1) In the new versions, the problem related with accented characters was solved. Now the characteres are sent properly, but still there's problem in cases like the word "água" or "número". The solution I found was to use "agua claras|r|água claras" (or "numero do arquivo|r|número do arquivo"). So, accented characters in the first words of wordlist still makes the script to fail.
2) I use TypingAid to insert addresses (in portuguese), for example: Rua Alfa, 33, Bairro Neptune - CityX- StateX (Street Alfa, 33, ...)
My word list is something like:
Alfa, - Bairro Neptune - City - State
Gama, - Bairro - Mars- State
...
Because the only thing that changes is the street number, I insert in sending.ahk a code that moves the cursor to left until the number position: ", -"
That helps to insert the number faster.
Code: Select all
LocaldoNum =, -
StringGetPos, PosNumero, address,%LocaldoNum%
StringLen, CompEnd, address
Recuo := CompEnd - PosNumero - 2
if (PosNumero > 0)
{
Loop %Recuo%
{
Send, {LEFT}
}
}
I don't know if that is the best way to do it, but it works.
I thought about using a input box to insert number, but, in this case, it would be necessary to avoid the input box when it was not needed (other lists), and I couldn't imagine a easy way to do it.
Because my list of addresseses is too big, It's annoying letting typingAid active all the time, so I put "exitApp" in sending.ahk to exit after inserting the text (sending the texts).
To reload typingAid, I used some hotkey to call it, like that:
::st ::
send, street
run, %A_ScriptDir%/typingAid/.../typingAid.ahk
return
In portuguese ru hotkey to rua (street), pr to praça (square); ro to rodovia (road) etc.
But, the "window" showing the loading status in the new versions disturbs (I would like to know how to desactivate it, because I believe the script loads too fast and that isn't necessary).
Also, it seems that that "loading window" doesn't appears imediately when the script iniciate, so I start typing and the "window" appears, that is what makes it really confusing/annoying.
Because of the "loading window", I made some changes in the script, to pause and pause off typingAid, instead of exit:
In sending.ahk:
Code: Select all
SendWord(WordIndex)
{
global g_SingleMatch
global g_SingleMatchReplacement
;Send the word
if (g_SingleMatchReplacement[WordIndex])
{
sending := g_SingleMatchReplacement[WordIndex]
ForceBackspace := true
} else {
sending := g_SingleMatch[WordIndex]
ForceBackspace := false
}
; Update Typed Count
UpdateWordCount(sending,0)
SendFull(sending, ForceBackspace)
ClearAllVars(true)
Pause, On ; <--------------- Inserted by me
Return
}
And in typingAid.ahk:
I inserted:
Code: Select all
; to turn off/pause pause
^NumpadSub::
Pause, On
Return
^Numpad0::
Pause, Off
ClearAllVars(true)
Return
- I do those quick changes while I was working, so I don't know if there's a better way to do it
I remove some codes and texts I had posted, because this post was too long and making difficult to see the main questions:
- To reload the wordlist after changing it to another, do I need to reload TypingAid?
- Is there some way to desactivate "the "window" showing the loading status?