Re: [Clip] Clip to Load Replace Dialog (Repost with minor fixes)
- Hi Sheri,
>Good idea, your savesrchs.ini file. I'm modifying my previouslyI also realized that does not need be limited (as you noticed) to just one storage file. Could have different files, each of which be a category of saved searches. For example, one for programming, another for a farmer who has an apple orchard maintenance and crop terms, another for cooking or someone who cooks, and etc., etc.
>posted clip "Replace Dialog with Clip Builder" to make the file one
>of the possible destinations.
With these capabilities, we may be approaching characteristics that of a database :-)
>Rather than call your clip at the top of mine, I've put down in theGreat! At error, jump to my called clip then return to yours to then from mine be sent up to the start of yours. I may also try that.
>Error label (followed by a ^!Goto Start). That way if I am on a Find
>or Replace command when I start it, it works as before. But if not,
>it calls your clip and opens the ini, etc.
>Did you notice that " >> " 's in your red doc clip makes text go to aYes. That's why I asked for any potential user to right click over the red header and choose edit clip so as to read it.
>new line? Strange <g>
>Another strange thing about it, when I added your clips to my clipI wonder if the "add from clipboard" option does not allow/handle any blank lines? Normally, a clip would not have any; but this is a help clip. Maybe this an NRN issue? Or, maybe not? Or maybe I needed a semi colon on each blank line.
>library from the clipboard the documentation clip had everything cut
>off after the first paragraph.
- --- In ntb-clips@y..., Sheri <silvermoonwoman@c...> wrote:
> H="Load Replace Dialog"...
> ;08/20/2002 by Sheri Pierce
> ;09/04/2002 posted with minor fixes
> ;not compatible with Notetab versions less than 4.91.
> ;Capslock freeware
> ^!FocusApp "Find and Replace"...
> ^!Keyboard #^%SRTexts1%#
> ^!Keyboard TAB
> ^!Keyboard #^%SRTexts2%#
> ^!Keyboard Alt+X
Your clip ought not to require "capslock".
The preferred approach to pasting text into dialogs, meaing
via the clipboard, is not affected by capslock status.
1. Get the dialog box to open
3. For each text field do these two steps.
3.a. ^!SetClipboard text to be pasted
3.b. ^!Keyboard ALt+N Ctrl+V
Where Alt+N is whatever alt key moves focus to the desired field
in the dialog. Alt+N moves to find, Alt+P moves to replace, etc.
Ctrl+V, is to paste the text from the clipboard. When working
programmatically, it is best to always use explicit Alt+key
shortcuts to move between fields, rather than using the tab key.
This means the clip is less likely to break if a new field is
ever added to the dialog.
Whenever a clip uses the clipboard, it should be sure to
remember and restore the user's clipboard contents.
Working with the Find and Replace Dialogs require a bit more
effort though. They automatically quote special characters that
are pasted, if the RegExpression box is checked. If this is a
problem, the solution is to uncheck the RegEx box first, paste
the text, then recheck RegEx.
; UnCheck RegularExpression in Find/Replace dialogs
^!Keyboard Alt+X -
; Check RegularExpression in Find/Replace dialogs
^!Keyboard Alt+X +
By the way, I have been very impressed by several of your clips
lately. Especially your nearly perfect one liner for breaking
lines at 80 col.
NoteTab Clip Quality Control Services
- Posting to this group might be broken, I posted awhile ago and
nothing showed up. Sorry, this is a repeat:
Quite right, that would have avoided the need for a separate
utility. However, there are still times that I want to use
^!Keyboard to type variable contents (Ctrl-V doesn't always
work), and its disturbing when you get unexpected results because
capslock happens to be on. So the capslock utility will come in
handy until and unless Notetab addresses the issue.
BTW, I haven't seen you at the newish group at
It is being used to post clips that need testing or that might go
through a few iterations before being finalized and posted on the
clips list. It would be a good place for someone interested in
Clip Quality Control <g>
> By the way, I have been very impressed by several of your clipsThanks. A little encouragement means alot <g>
> lately. Especially your nearly perfect one liner for breaking
> lines at 80 col.
- --- In ntb-clips@y..., "Sheri" <silvermoonwoman@c...> wrote:
> BTW, I haven't seen you at the newish group atSomehow I missed notice of that group being created. Thanks
- Hi Wayne, Sheri, and Others,
> > BTW, I haven't seen you at the newish group atI first said to myself, "Self, we don't have a new wish group;
> > <http://groups.yahoo.com/group/ntb-scripts>http://groups.yahoo.com/group/ntb-scripts
it's still ntb-NextRelease." :)
The ntb-scripts was a joint idea of Eric's and mine. I had been
thinking about it, Eric at some point recently suggested a RegExp
list, I replied with ntb-scripts, and a week or two later it was
I'm impressed with the amount of traffic on it already! We
thought that it may perhaps take some of the traffic off the
Clips list leaving it mainly for NoteTab scripts, but still allow
other scripting code to be posted there as well as Clip code
being allowed on the scripts list. My thought was also that
trying to keep the Clips list more pointing at Clip code might
not blow away/scare off some newbie Clippers. ;) Please see my
signature line to subscribe to it. TIA
The NoteTabbers Assistant Page