AutoHotkey Community

It is currently May 27th, 2012, 4:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 494 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 33  Next
Author Message
PostPosted: February 22nd, 2010, 12:40 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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? :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2010, 12:43 pm 
Offline

Joined: January 9th, 2008, 11:49 am
Posts: 4
Quote:
You did restart the script after changing the preferences file, right?


Yes. Several times :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2010, 12:55 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2010, 1:07 pm 
Offline

Joined: January 9th, 2008, 11:49 am
Posts: 4
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. :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 22nd, 2010, 1:12 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Mouse
PostPosted: February 22nd, 2010, 8:10 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject: Re: Mouse
PostPosted: February 22nd, 2010, 8:18 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2010, 4:13 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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 :roll:, but I personally know 2 people who I have verified the issue with.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2010, 6:42 am 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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/Typin ... 0v2.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 March 9th, 2010, 1:59 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 3rd, 2010, 8:57 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
*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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2010, 1:58 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:01 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:10 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 6:53 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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? :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 10th, 2010, 9:57 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 :wink:

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 494 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 33  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group