AutoHotkey Community

It is currently May 27th, 2012, 9:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 494 posts ]  Go to page Previous  1 ... 26, 27, 28, 29, 30, 31, 32, 33  Next
Author Message
 Post subject:
PostPosted: November 29th, 2011, 3:32 pm 
dev wrote:
When i type, the pop-up box shows the exact same as above.

That is correct.
dev wrote:
Unfortunately it types out the entire string both with the abbreviation and the expansion: prl|peripheral neuropathy

That shouldn't happen. Which sendmethod are you using (have a look in your preferences.ini)? You did "replace" the SendFul() function, saved it and reloaded?
dev wrote:
1) My typingaid seems to learn things too often. Which line in the preferences ini should i change to control this?

Preferences.ini wrote:
;LearnMode defines whether or not the script should learn new words as you type them, either On or Off.
;Entries in the wordlist are limited to a length of 123 characters in ANSI version
;or 61 characters in Unicode version if LearnMode is On.
LearnMode=On
;
;
;LearnCount defines the number of times you have to type a word within a single session for it to be learned permanently.
LearnCount=5
;
;
;LearnLength is the minimum number of characters in a word for it to be learned. This must be at least Length+1.
LearnLength=5

Fiddle with these settings.
dev wrote:
2) Also can i suspend the typingaid with one single keystroke and then again activate with another single keystroke?

Yes, press Ctrl+F12, if you don't like that shortcut edit TypingAid*.ahk look for the line:
Code:
^F12::Pause, Toggle
and change it


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 12:51 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
Anonymous wrote:
dev wrote:
2) Also can i suspend the typingaid with one single keystroke and then again activate with another single keystroke?

Yes, press Ctrl+F12, if you don't like that shortcut edit TypingAid*.ahk look for the line:
Code:
^F12::Pause, Toggle
and change it


That's not in the standard code, you must have added it at some point?

dev, you can simply add the code that Guest describes somewhere in TypingAid*.ahk. That enhancement is currently on the list of features to add.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 1:22 pm 
:oops: my bad.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 2:24 pm 
I would want to paste several lines selecting only one, my question is: is there a way to select a character, let's say "#" and replace it with an Enter so a text like this:

test1#test2#test3#test4

is pasted like this:

test1
test2
test3
test4

Thanks,


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 2:44 pm 
@Newbie123:
- Open includes\sending.ahk
- Look up the SendFul() function, you will see 4 lines starting with global ... there, directly below it add this line
Code:
   StringReplace, SendValue, SendValue, #, `n, All

- Save sending.ahk, add words to your wordlist as suggested with a # indicating a newline character and reload TypingAid.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 2:56 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
He could also disable RAW mode, couldn't he? Then he could have his string look like this:
test1{Enter}test2{Enter}test3{Enter}test4

To do this, get rid of the instances of the string {Raw} in SendFull()

Note, getting rid of {Raw} will cause certain characters, such as !, +, ^, #, and {} to send something else... see:
http://www.autohotkey.com/docs/commands/Send.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 30th, 2011, 3:22 pm 
it works!!! thanks a lot


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 1st, 2011, 2:28 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
Newbie123 wrote:
it works!!! thanks a lot


Which method did you use?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 2nd, 2011, 1:53 pm 
Offline

Joined: October 8th, 2011, 2:07 pm
Posts: 27
Sorry guys, work has been too stressful and heavy that i have not been able to get back, will do that soon. Thanks again...

Guest, i will try to see what exactly i have done and get back to you. If i cannot figure out what i have done, i will copy that code here so that you will know where i have gone wrong.

Basically i did not understand what you wanted me to do with the old code ( i guess that is where i made the mistake) though i did copy paste your code above the original code.

By the way, though I "fiddle" with ahk a bit and make some helpful routines for my use, i am not savvy enough to understand that core of what you are saying.

That is the reason i have to look at that with a more focused mind and will get back to you.....Dev


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 3rd, 2011, 7:41 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
azure wrote:
very interesting project

however I would like to:

1) specify specific controls/coords/control colors/etc for the drop down menu to appear
2) store the typed words in a database per that particular control I type in, sort them by frequency, and make them appear in autocomplete suggestion by frequency, as I type

is it possible?

thanks


is this easily feasible???


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2011, 9:10 pm 
@azure: did you see the reply http://www.autohotkey.com/forum/post-493037.html#493037


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 4th, 2011, 10:19 pm 
Offline

Joined: June 7th, 2007, 1:33 pm
Posts: 1019
Anonymous wrote:


I read it now, but how it relates to my questions?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 5th, 2011, 12:22 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
azure wrote:
Anonymous wrote:


I read it now, but how it relates to my questions?


When you click that link, it brings you to the wrong post... you want the post I made right above it. I'm not sure why, because the link is correct.

These were my responses:

1) You can specify where you want the dropdown to appear using the Helper Window. You can't control the colors though.

2) I assume you mean that you want a separate wordlist per application? Currently the only way to do that is to have multiple instances of TypingAid running. What you would then do is define the include/exclude conditions to be mutually exclusive so that only one instance of TypingAid is ever in an unsuspended state.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2011, 12:32 pm 
Offline

Joined: October 8th, 2011, 2:07 pm
Posts: 27
Guest, extremely sorry for my absence, but let me not waste your time telling why :(

To clarify: i did not understand what you wanted me to do with the original Sendfull() and hence i removed it in full and replaced with the code you provided and it WORKED.

However, it seemed to gobble up the previous word.

like in the word list i added:

asswith|associated with

then saved and reloaded everything.

Then i went ahead i typed something like this "this is always asswith"

and then "asswith" expanded to associated with, but not without gobbling up the previous word "always". so the final sentence looked like "this is associated with" but not "this is always associated with".

I know i am doing something wrong. Can you please let me know> You can take your time, but let me clarify that my absence from this forum in between is not because i lack interest in following with this but i am extremely stressed out at work and personal matters.

However, if i can get this working in another 10 days, there is nothing like it. Thanks so much. I will look into the other things and get back too.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 7th, 2011, 12:37 pm 
@dev: two questions
1) which sendmethod are you using (you'll find it in preferences.ini) it says SendMethod=X somewhere I need the X value
2) how did/do you auto-complete, via number, ^enter or tab? (shouldn't matter but might be helpful to know)


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 494 posts ]  Go to page Previous  1 ... 26, 27, 28, 29, 30, 31, 32, 33  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Rajat, SKAN and 10 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