-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestions appears on top left corner of window #38
Comments
Hi Daniel, are you experiencing this in all programs (for example, try notepad)? Or just some (like firefox or chrome)? If it's just some, TypingAid is unable to detect the caret position in certain programs, like FireFox, Chrome, or OpenOffice. A workaround called a "Helper Window" has been created to help deal with this. You can open it manually by hitting Ctrl-Shift-H, or you can have it open based on which window you're in by changing the following settings in Preferences.ini: Let me know... |
Hello @ManiacDC I checked your code, and I found that the problem was about the A_CaretX and A_CaretY on certain windows, as you said. I asked on ahk github and this is a known issue 👎 Then I realized that there were some "helping window" but I did not noticed how that thing works. Now I'm using it to write this message thanks to your explanation. Looks like a rudimentary solution. I would prefer to use the mouse position as an alternative. Is this even possible? I though the helper window would appear automagically. |
That should be a viable alternative. I'll have to add a new setting for it. The helper window appears automatically if you've added the program you're using to HelperWindowProgramExecutables or HelperWindowProgramTitles. |
Ok, I'll try it out. I did not see this information at any place. Regarding the mouse alternative I can confirm it works fairly well. I use clipjump and some of my scripts uses that approach too and most of the times the mouse is very close to where you are writing. Thank you! |
There was actually code in place to do this (draw the listbox at the mouse position). It was just... broken. I found it while doing some code cleanup. I've fixed this code in the SQLite branch, and it will be in the next release. |
This has been fixed with 2.20.0 |
What do you mean with fixed exactly? Regards |
It is properly using the mouse position as backup. There's nothing I can do about it not detecting the cursor position, that's a bug in the applications - they aren't reporting the cursor position to Windows. |
Hello,
I really like this script, but it does not work as I expect. I expect it to appear under the mouse cursor. But instead the suggestions appears on the top left corner of the active window. Why does this happen? I'm on a multi window environment if that does matter.
Very cool script indeed.
The text was updated successfully, but these errors were encountered: