I've tryed it, works fine, but I would need to skip the confirmation
dialog, then Using the old ^!Keyboard clip made the trick....but...
Using the ^!Keyboard in long tasks (as in the clip im making), may
encounter problems when some input from the keyboard is made at the
same time. Thats why I was wondering of a non-interactive way to
fullfill the task.
The clip I'm making transverses all the topics of an OTL (witch may
be quite a few) and reads some text from the topic and from the
Heading and depending on them, may or may not copy the topic to
another file, for later delete all the topics previously moved.
Anyway, thanks for your Help :)
--- In ntb-clips@y..., "Harvey R. Savage" <hsavage@s...> wrote:
> Alejandro wrote:
> > Hello everybody,
> > I have a problem, and hope you can help me.... Im trying to
> > topic from an otl through a Clip, but i havent found how to :(
> > Thaks for your help
> > Saludos
> > Alejandro
> > ---------
> Here's one of Jody's old clips, maybe you can use it. Hope it
> will help.
> H="Remove Topic"
> ; Jody 022601; modified by Ray Fitz
> ; this is old code - you can use ^!SetFocus Outline for
> ; better results if you have a problem with it.
> ; ^!Keyboard Shift+F6 Shift+Ctrl+R Enter
> ^!If ^$GetTopicCount$ <> 1 SetFocus
> ^!Skip Are you sure you want to remove the only remaining topic?
> ; Answering "No" affects removal only; the topic will
> ; still be added to Saved Tips.otl. If you don't want
> ; even that to happen, then use ^!Goto Exit instead.
> ^!Goto End
> ^!SetFocus Outline
> ; With the toolbar command, NoteTab automatically asks you to
> ^!Toolbar Remove Heading
> ; add a ^!Save here if desired