 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Mon Feb 22, 2010 11:40 am Post subject: Re: Settings: Length - ignored? |
|
|
| j0989 wrote: | I've just downloaded the script v. 2.09 and I like it a lot. Thank you.
For some reason the Length parameter seems to be ignored - I set it to 5 and suggestions pop up after typing 3 characters (default).
I use it on Windows XP.
Any idea?
[Edited]
Just noticed, the same applies for 'LearnLength=8' - it seems to have no effect, i.e. shorter words are temporarily learned by the script and used in the suggestion list. |
You did restart the script after changing the preferences file, right?  |
|
| Back to top |
|
 |
j0989
Joined: 09 Jan 2008 Posts: 4
|
Posted: Mon Feb 22, 2010 11:43 am Post subject: |
|
|
| Quote: |
You did restart the script after changing the preferences file, right?
|
Yes. Several times  |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Mon Feb 22, 2010 11:55 am Post subject: |
|
|
| j0989 wrote: | | Quote: |
You did restart the script after changing the preferences file, right?
|
Yes. Several times  |
Hmm, it works here.
What OS are you on?
Are you on an administrator account?
You've verified the preferences file is not being overwritten, right?
Do you have Preferences.ini in the same folder as the script and the wordlist?
Are you using the compiled exe from ArtWinAuto or the AHK file from this thread? If using the AHK file can you Right click the H icon, hit "Open", then from the "View" menu select "Variables and their contents".
Find 'LearnLength' and 'wlen' and see if they match the LearnLength and Length from the preferences file.
Thanks. |
|
| Back to top |
|
 |
j0989
Joined: 09 Jan 2008 Posts: 4
|
Posted: Mon Feb 22, 2010 12:07 pm Post subject: |
|
|
| Quote: | You've verified the preferences file is not being overwritten, right?
Do you have Preferences.ini in the same folder as the script and the wordlist? |
I am sorry for the confusion. I kept changing the settings section directly in the script itself rather than Preferences.ini file and that, of course, couldn't work. Thank you for your help and time.  |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Mon Feb 22, 2010 12:12 pm Post subject: |
|
|
| j0989 wrote: | | Quote: | You've verified the preferences file is not being overwritten, right?
Do you have Preferences.ini in the same folder as the script and the wordlist? |
I am sorry for the confusion. I kept changing the settings section directly in the script itself rather than Preferences.ini file and that, of course, couldn't work. Thank you for your help and time.  |
LOL, no problem  |
|
| Back to top |
|
 |
LazyLarry Guest
|
Posted: Mon Feb 22, 2010 7:10 pm Post subject: Mouse |
|
|
| I changed the number of shown entries to 20, the lower 10 are not numbered so I have to move my hand to the down arrow key anyhow. However it is not important and if i wanted to it looks pretty simple math to modify for myself. |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Mon Feb 22, 2010 7:18 pm Post subject: Re: Mouse |
|
|
| LazyLarry wrote: | | I changed the number of shown entries to 20, the lower 10 are not numbered so I have to move my hand to the down arrow key anyhow. However it is not important and if i wanted to it looks pretty simple math to modify for myself. |
I see, if you do make the modifications to the script to implement it, feel free to post it here and I'll review it and put it in the standard if everything works fine.
Thanks |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Fri Feb 26, 2010 3:13 pm Post subject: |
|
|
2.10 released:
*2.10
** Removed {BS} (BackSpace) from the Terminating Characters list in the preferences file and hardcoded it. BackSpace is necessary for script functionality and should not be removed.
** Added code to reset the word if you use the mouse to move the caret within the same line.
** Updated the documentation in the Preferences file to be more user-friendly and descriptive.
Please let me know if you have any issues double-clicking. Apparently AHK is flaky when trying to call A_CaretX within a HotKey. It also didn't work in a function (actually, was in HCaretX()), but calling it from a GoSub seemed to work.
There is no harm with having {BS} in both the preferences file and the actual script, so you don't need to touch your preferences file if you don't want to.
Kakarukeys, I did not make all of the changes to the preferences doc exactly as you did. Please review, thanks.
A new known issue as well:
With CAPS lock on, if you hit the Up/Down arrow to change lines and begin typing, the first character you type will not be capitalized on some machines.
I obviously can't get it to happen on my machine , but I personally know 2 people who I have verified the issue with. |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Sun Feb 28, 2010 5:42 am Post subject: |
|
|
V2.10 seems to have broken on screen keyboards. Please use v2.09 if you use on on screen keyboard for now.
http://www.autohotkey.net/~Maniac/TypingAid/TypingAid%20v2.09.ahk
*edit*
2.12 add a parameter to disable the changes from 2.10. There is no longer a need to use 2.09.
Last edited by maniac on Tue Mar 09, 2010 12:59 pm; edited 1 time in total |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Wed Mar 03, 2010 7:57 pm Post subject: |
|
|
*2.11
** Fixed a bug introduced with 2.07 which caused learned words to no longer be ranked.
Additionally, I think some words/phrases with commas may have had issues. |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Tue Mar 09, 2010 12:58 pm Post subject: |
|
|
2.12 is released.
*2.12
** Unused HotKeys are now disabled and not just bypassed.
** Added a new parameter to disable or enable resetting of the tooltip on a mouseclick. This should be disabled when using an On-Screen keyboard, otherwise it should be enabled as it allows you to scroll with the mousewheel.
** Added the ability to disable the number keys as AutoCompleteKeys, allowing you to have words that contain numbers.
** Hide the tooltip and helper window when the window title does not contain the Title preference parameter.
** Set process priority to low when waiting for a window which contains the Title preference parameter.
** Suspend HotKeys when waiting for a window which contains the Title preference parameter.
** Changed the helper window so it does not become the active window when it is opened.
** Words containing numbers or ForceNewWordCharacters will now be ranked if they are already learned words.
** If Ctrl-Enter, Ctrl-Space, Tab, and Right arrow are all disabled as AutoCompleteKeys, then the ArrowKeyMethod is set to Off.
Other positive side effects of the above changes:
With DetectMouseClickMove=On, using the scroll wheel will no longer reset the tooltip (however clicking the scrollbar will).
If you switch to a window which does not contain the title string, and switch back without moving the caret, your tooltip will restore and you can continue typing your word. |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Wed Mar 10, 2010 5:01 pm Post subject: |
|
|
I would like to work on these enhancements next, but I haven't had too much time to think about them yet:
- Introduce exclude programs, e.g. work everywhere except in notepad
- Change include programs to a list
- Add a way to define a list of programs for which to open the Helper Window automatically (and close the Helper Window when that program is no longer active)
Does anyone have any good ideas for a list format in which this could be handled with just 1 or 2 lists rather than making 3 separate lists?
It needs to be something that would be clear to the end user in the preferences file. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Wed Mar 10, 2010 5:10 pm Post subject: |
|
|
Title of programs to exclude/include either in one variable per type with a delimiter, say a comma or | OR create a [titlesinclude] [titlesexclude] sections in the INI file and simply title1= title2= etc. You can then use a parsing loop to create AutoHotkey groups and use those groups to (de)activate.
If you want to do it all in one variable for both in/exclude it may be getting a bit too complicated ?
P.S. Still looking at the config gui, don't worry  _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Wed Mar 10, 2010 5:53 pm Post subject: |
|
|
I was thinking of maybe a list of the format:
Program;Parameter|Program;Parameter|...
Parameter being I, H, and E (Include, Include + Helper, Exclude)
And an extra Keyword "program" of ALL which means to include ALL programs.
With some simple override rules:
1. If there is an Exclude parameter, all programs besides those with the exclude parameter are Included (and those with the H have a helper window).
2. If there is a Helper parameter, and no ALL Keyword in any programs, all programs besides those with the Include or Helper parameter are exclude.
3. If there is a Helper parameter, and an ALL keyword exists on a program, then all programs are included.
4. If there is an Include parameter, all programs besides those with the Include or Helper parameter are excluded.
so:
Notepad;I
would include only notepad
Firefox;H
would include only Firefox and Firefox would use the helper window
Firefox;H|ALL;I
would include all programs and make Firefox use the helper window
Calculator;E
would include all programs but calculator
Firefox;H|Calculator;E
Would include all programs but Calculator and make FireFox use the helper window
Or maybe this would be more simple:
Program;Parameter|Program;Parameter|...
Parameter being I, H, IH, and E (Include, Helper, Include + Helper, Exclude)
With some simple override rules:
1. If there is an Exclude parameter, all programs besides those with the exclude parameter are Included (and those with the H have a helper window).
2. If there is an Include or Include + Helper parameter, all programs besides those with the Include or Include + Helper parameter are excluded.
so:
Notepad;I
would include only notepad
Firefox;IH
would include only Firefox and Firefox would use the helper window
Firefox;H
would include all programs and make Firefox use the helper window
Calculator;E
would include all programs but calculator
Firefox;H|Calculator;E
Would include all programs but Calculator and make FireFox use the helper window
Or I could simply make 2 lists:
One list for enabling the Helper Window
One List for either Include or Exclude (since they are mutually exclusive, we'd have to set a flag of some sort to say if the list is Include or Exclude)
Great, I'm trying to make your life easier by making more parameters, am I helping?  |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
Posted: Wed Mar 10, 2010 8:57 pm Post subject: |
|
|
I don't think the avarage user will like notepad;H|program;I format it is probably to "difficult" to comprehend?
[ExcludePrograms]
Title=Notepad|Calculator
[IncludePrograms]
Title=Firefox|Wordpad
[Helperwin]
Title=Hi|Ho
is probably the most noob friendly
Edit: The gui, +Toolwindow is apparently a terrible way to hide the helperwindow from the taskbar and it must be Owner for one reason or another see http://www.autohotkey.com/forum/viewtopic.php?t=55530  _________________ AHK Wiki FAQ
TF : Text files & strings lib, TF Forum |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|