Loading ...
Sorry, an error occurred while loading the content.

8725RE: [Clip] Help

Expand Messages
  • Christine F. Muehling
    Jun 27 1:56 PM
      I realize this is old news to the list by now, but I am catching up on years
      of posts, trying to learn more.
      Wayne and all other gentlemen involved: This clip is going to save me some
      real time! I appreciate it. I could never figure out how to get rid of
      empty tags, even sometimes using the ^!InsertWizardHtml. Sometimes I
      couldn't get it set right, and I'd still end up with empty tags.


      -----Original Message-----
      From: Wayne VanWeerthuizen [mailto:waynevanw@...]
      Sent: Friday, May 24, 2002 16:51
      To: ntb-clips@yahoogroups.com
      Subject: Re: [Clip] Help

      - - - snip - - -
      Use "^!IfTrue" rather than "^!If".
      Doing so makes the clip slightly faster, more reliable, easier to read
      and eliminates the need for the "=1".

      "^!Jump +2" moves the cursor two lines down in the document window.
      You are confusing it with "^!Goto SKIP_2"
      But with the If-type commands, ^!Goto is not needed.

      So I would change your example to:
      (Note the need to only skip over one line, not two)

      ^!IfTrue ^$IsEmpty(^?[Your name:=John])$ Skip
      Name: ^?[Your name:]^%nl%

      But it will also work like this: (one long line)

      ^!IfFalse ^$IsEmpty(^?[Your name:=John])$ ^!InsertText Name: ^?[Your

      -----Original Message-----
      From: Ville Saalo [mailto:villes@...]
      Sent: Friday, May 24, 2002 11:02
      To: ntb-clips@yahoogroups.com
      Subject: Re: [Clip] Help

      - - - snip - - -

      I think this will do it:

      ;####### begin clip (6 lines long) #####
      ^!If ^$IsEmpty(^?[Your name:=John])$ = 1 ^!Jump +2
      Name: ^?[Your name:]^%nl%
      ^!If ^$IsEmpty(^?[Your location:=Earth])$ = 1 ^!Jump +2
      Location: ^?[Your location:]
      ^!If ^$IsEmpty(^?[Your NoteTab version:=Pro])$ = 1 ^!Jump +2
      NTB version: ^?[Your NoteTab version:]
      ^!If ^$IsEmpty(^?[The answer:=42])$ = 1 ^!Jump +2
      Answer to question 4: ^?[The answer:]
      ;####### end clip #####

    • Show all 11 messages in this topic