--- In [email protected], sgp <[EMAIL PROTECTED]> wrote: > > Sheri wrote: > > > I will be posting version 2 of the Code Accelerator shortly, > > please let me know how it works out for you > > Thank you for the new version, I like the changes! > I found some issues.
Thanks, sgp, I really appreciate the feedback. > > * Test run: run [EMAIL PROTECTED] from a command prompt window using ppbang The script is intended to be activated with a hotkey from a Window that supports ^C copying and ^V pasting. Maybe I could add a "research" flag, to permit it to be used without copying and pasting. You'd have to use a different hotkey to use it in that mode though, unless you set up the same key sequence but different commands for different exenames or something. > > 1) I can see that ^C is sent to the console window. That doesn't > seem right, although it's probably harmless. > > 2) I type "cl". in the search field and press enter, the search result is correct (111 entries) but "cl." is alos > sent to the clipboard. Is it really necessary? I use a clipboard extender and every unnecessary copy to > the clipboard eats up one entry in the extender history list. I ran into some strange focus problems when I used variables instead of clip.get in some parts of the script (such that PowerPro complained at the end that it couldn't find an active window for ^V.) It was weird, but the issue was avoided by putting what I needed on the clipboard and using clip.get. I will make another effort to change it. > > 3) Similarly to the previous point, if I then click on the paste > icon, two entries are added to the extender clipboard history. I > understand that it's done in order to reinstate the initial > clipboard, which is good for users without a clipboard extender, > but in my case it eats up two history list entries instead of one. I'll think about that one (a flag to disable restoration of the clipboard?). Meanwhile, you could try commenting out: clip.set(starttext) The first occurrence is the one associated with the paste action, but commenting out all of them might be useful with the clipboard extender. > > * Test run: call [EMAIL PROTECTED] from a hotkey using keytrap > > 1) If I select some text in the console window and press the > hotkey (shift+win_left+0) I can see that )^C is sent to the > console window. The selection isn't then used as a filter. Do you know of some way to copy text from a console window? Since Ctrl+C doesn't get it you'd have to put that text in the search box yourself. > 2) Similarly when if I select text in notepad and press the > hotkey. ) is sent to notepad and the selection isn't used as a > filter. If I open notepad, type in "abs" (without the quotations) and highlight it, then use my hotkey (PowerPro hotkey, I have no experience with keytrap, though I shouldn't think there would be a difference unless keytrap itself gains focus), the bar opens with the entries filtered to "1 Entries Contain: abs". The list shows abs(x). > > * Cosmetics: > > You could probably spare the drag button. I can drag directly > from the frame, though I'm not sure if that's because of some > specific setting in my pproconf.pcf, which other users might now > have. That only works for me if I hold down the ctrl key while dragging. My current revision-in-progress has acquired another checkbox (an option to use dropdown rather than dropdownlist combo box style); and the drag button got wider and gained the label "CA" to keep the row widths even. :) I have to avoid placing controls between the search/edit control and the combo box, because it would affect the tab order. Looks the same, but using a dropdown style has an edit box that is integrated to the top of the combo box. You can still select from the list, but it also has the possibility to type something there other than an exact matching entry, and have that be used for pasting. > In the checkmark tooltip you could add the name of the powerpro > help list file. Good thoughts, thanks. Regards, Sheri
