Hi.
--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> Firstly, I adjusted the timer earlier (~ 1 sec?) in order that I
> didn't have to wait too long. Then, I tested the followings.
> 1) just typed "a":
> I was pretty satisfied with the result. Quite quickly autocompleted
> as "abcd".
> 2) Then, I typed in a pretty fast sequence "a" "c" to get "acde":
> But, I was frustrated with the result, what I got was "acbcd..." or
> someting in a mess like that, I believe.

I see. The problem is the timing. Running through a vector and 
comparing what you typed and completing that is rather trivial. The 
problem is WHEN to do that. PowerPro doesn't have something like an 
onKeyUp-event. So I ran that timer indepedently if you type something 
or not. It's absolutely possible that the autocompletion happens 
exactly while you are typing then. As I said the script was merely 
some workaround to fake something like auto-completion...

> In retrospect, I think it's because of the use of "*Keys" (right?)

Not really. It's more because of the timer running constantly.

> In view of the recent support of autocompletion by PP, I think I can
> rephrase it as: "How could you 'highlight' the part to be typed yet
> in the suggested autocompletion and to clear it at next key press,
> even in a (fairly) instant manner?", by a pure script way.

As I said, better timing should be possible with the keytrap-plugin, 
where you can get something like a onKeyUp-event and run the script 
only THEN. The highlighting keys shouldn't be a real problem. Haven't 
tried it out, though. Maybe I will, although it isn't necessary 
anymore now...

> All my doubt about the usefulness of the autocompletion by any 
script,
> while there exist other ways, was mainly derived by this experience,
> well, at least in PP only.

These were more deficiencies of my script than deficiencies of PP. 
Hope I cleared that a bit...

Mockey




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/JV_rlB/TM
---------------------------------------------------------------------~->

****  EDIT YOUR POSTINGS !!!! ****
Please remove as much as possible from original messages before replying to them.
________________________________________________ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to