AutoHotkey Community

It is currently May 27th, 2012, 3:24 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 494 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 33  Next
Author Message
 Post subject:
PostPosted: June 4th, 2010, 1:04 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
Skrell wrote:
well i guess i still think it would be nice to have a parameter in the .ini file that would allow you to specify the number added to a word each time it is used rather than just adding 1 always.


I thought some more about this and I think it would be a good idea. For example, as a programmer I am often dealing with the same "words" for a short amount of time, and they are important at that point in time. I may or may not ever use those "words" again. Therefore the words that I have used frequently recently are more important than those that I have used frequently in the past.

For someone who is just typing regularly the words they use probably aren't going to change. They won't necessarily want to give the more recent words more weight.

So I thought up an implementation of this:
I will add one parameter to control the type of weight added to the word. There will be 3 values for this parameter:
Fixed, Percentage, and Off.
Fixed will add a fixed value to the weight. This will be the default setting (the default value will be one). There will be no cap to the weight a word can get.
Percentage will add the listed percentage of the highest weight to the word's weight. There will be a rolling cap of highest weight + 1.
Off - this will turn off frequency based ordering.

There will be a second parameter to handle the value for the fixed or percentage setting.

Percentage has benefits over fixed because the size of the wordlist will change. A fixed weight of 20 would be too much when you only have 10 learned words, but may not be enough when you have 1000 learned words.

I'll try to get this out in the next version, but it requires some changes to the counting/frequency/learning algorithm. I need to keep 2 separate counts now - one for the number of times I've typed/completed a word and one for the weight of the word.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 9:04 pm 
Jimbo again.

Just a thought:

Putting requir{auto}=requirements in the wordlist won't show a tooltip, instead it will automatically type "requirements"

Also ability to use {enter},{tab},{home},{left} ... ie

login1{auto}=myname{tab}mypassword{enter}
or
<b{auto}=<b></b>{left}{left}{left}{left}

You can see where I am going, so what do you think?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 9:18 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
I can see where you are going.

A few issues...

What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

What about people, specifically programmers, who have words which contain curly braces? There may be some programming languages that need that as an available character in the wordlist.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 9:31 pm 
maniac wrote:
What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

Solved:
~requir{auto}=requirements
or
<login1{auto}=myname{tab}mypassword{enter}

maniac wrote:
What about people, specifically programmers, who have words which contain curly braces? There may be some programming languages that need that as an available character in the wordlist.

Hmmm ...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 9:42 pm 
I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 10:30 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Jimbo Jones wrote:
I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.
Why? Nothing will prevent you setting up a few ahk hotstrings or hotkeys?

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 5th, 2010, 11:01 pm 
hugov wrote:
Jimbo Jones wrote:
I'm sorry for bothering you, I just read on your site that "It's outside the scope of this program". I will use TyperTask.
Why? Nothing will prevent you setting up a few ahk hotstrings or hotkeys?

Why not? I'm using PowerPro, HotkeyP ... I'm going to use TypingAid, TyperTask, ... Do I have to use ahk only?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: June 6th, 2010, 2:22 am 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
Jimbo Jones wrote:
maniac wrote:
What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

Solved:
~requir{auto}=requirements
or
<login1{auto}=myname{tab}mypassword{enter}.


I'm not sure I see how this solves the issue.

wordlist.txt contains
requir{auto}=requirements


On my document I type "requir" with the intention of typing "required".

When I type "requir" it'll autocomplete "requirements", and I can't type "required".

Am I missing something?

Jimbo Jones wrote:
I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.


It's not a bother, and I do try to be accommodating and am open to suggestions. But it does sound like it may be outside the scope of the script.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 6th, 2010, 7:17 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
@maniac: I think he wants to have an exeception if a word is started with a special character so if a word starts with < treat {enter} as a key to send rather than a word. (would require some preprocessing)

@Jimbo Jones: not saying you have to, but ahk can probably do anything those other programs do (don't know them all) and probably more efficient and easier.

Add this to typing aid at the bottom:

Code:
#include mykeys.ahk


and in that file has you hotkeys and hotkeystrings... why have two programs running to do a simply task? (at some point they will conflict as they all probably have their own keyboard hook, if you use phraseexpress which is another "helper" ahk hotstrings and hotkeys might not work as expected as someone found out recently and it took a while to find the culprit. Good luck mixing and matching the various programs, must be wonderful to remember what does what and to debug :D

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 6th, 2010, 7:38 am 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
hugov wrote:
@maniac: I think he wants to have an exeception if a word is started with a special character so if a word starts with < treat {enter} as as if it appears in the word.


Oh, I see.

Yeah, that feature will be classed as beyond the scope of this script. Besides the work involved there are several caveats.

It's not like it hasn't been requested before though. Nothing is impossible :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2010, 9:31 pm 
Offline

Joined: July 30th, 2004, 9:08 pm
Posts: 81
Hi all
This is Jordi S (jordis) the one who posted the original script on which TypingAid is based.
I see a lot of people use it for their programming needs. Actually, I'm a translator and not a programmer (although I enjoy "playing" with AHK ;-)
So I created the original script to help me type repetitive words faster.
My original script suited my needs. That, combined with almost no time to dedicate to the script sadly caused me not to maintained it any longer.
I'm really glad people found it useful and maniac (and I guess others too) took it "to the next level" adding new features.
It's looking really good! So heads up, keep up the good work and I hope I'll be able to keep an eye on progress!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 30th, 2010, 9:49 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
I was wondering if you'd ever pop back in Jordi. I think more people actually use it for typing than programming, but it's a good number for both :). Thanks for creating this originally.

I haven't had time to work on it recently, but we plan to add some new things like a configuration menu (it's mostly coded thanks to hugov, I just need to integrate it).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2010, 4:17 am 
Offline

Joined: September 28th, 2009, 4:32 am
Posts: 86
Hi all,

I have added the binaries of newest version 2.15 to my site.
Here are feedbacks collected from emails:

feedback 1:
Quote:
For example, IntelliComplete offers the ability to learn phrases (not just by allowing the user to define shortcut abbreviations, but also by recognizing the repetition of sequential words).

Friendly regards from a thankful new user!


feedback 2:
Quote:
Can I add a separate 'wordlist.txt' to TypingAid to understand these phrases?

Elaborating; TA uses a wordlist.txt when new words are added, or learned. The phrases I'm referring to might be better served in a separate file. I was thinking about 'can another wordlist.txt file be added to TA?'

OR should the 'nicer' phrases just be incorporated in to the existing wordlist?


feedback 3:
Quote:
the program to recognize symbols such as comma,
newline, period in auto-learning as well as in word list
items.


Others:
1. accented (diacritic) character support is broken.
Example: when using Spanish (International Sort) Language, United States-International KBL.
with "universal setting" TerminatingCharacters={enter}{space}{bs}{esc}{tab}{Home}{End}{PgUp}{PdDn}{Up}{Dn}{Left}{Right}¿?¡!()$

try to type ó in any window, it outputs o

2. script couldn't be loaded with AutoHotkey_L (so no more unicode version)

_________________
TypingAid autocompletion program made with AHK.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2010, 9:29 am 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
Thx Kakarukeys

Re 1 & 2. If someone figures out some seamless way to integrate this, maybe we can think about it.

Re 3. They just have to edit their preferences file...

Re Others 2. I wonder why it wouldn't load in AutoHotkey_L? Would it load into AutoHotkey_U?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 5th, 2010, 11:00 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
maniac wrote:
Re 1 & 2. If someone figures out some seamless way to integrate this, maybe we can think about it.


1) Setup a hotkey or tray menu option with a minimal gui allowing a user to enter a phrase which is added to the wordlist (just like the hotstring helper http://www.autohotkey.com/docs/Hotstrings.htm)

2) You now do fileread, var, wordlist.txt you can easily append learnedwordlist.txt to it before hashing the words, new words (or phrases) are only appended to learnedwordslist.txt. Not sure how it would effect the ranking of words as previously discussed (weights etc, see few posts above)

(I don't think AutoHotkey_U is "around" anymore, Unicode is now part of AutoHotkey_L)

_________________
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 ... 11, 12, 13, 14, 15, 16, 17 ... 33  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google Feedfetcher, Stigg, tidbit and 11 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