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

RE: [Clip] Help on closing tabs

Expand Messages
  • John Shotsky
    Never mind on this - I was not using double quotes around the variable names. Fixed. Dumb. Regards, John RecipeTools Web Site: http://recipetools.gotdns.com/
    Message 1 of 2 , Aug 19, 2012
      Never mind on this - I was not using double quotes around the variable names. Fixed. Dumb.

      Regards,
      John
      RecipeTools Web Site: http://recipetools.gotdns.com/


      -----Original Message-----
      From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of John Shotsky
      Sent: Sunday, August 19, 2012 14:08
      To: ntb-clips@yahoogroups.com
      Subject: [Clip] Help on closing tabs

      When my clip library runs, it creates multiple documents depending on what it is asked to do. All file names, paths, etc
      are stored in variables. Different modes use different file names which are representative of where in the process the
      file is created and processed. At the end of one stage of processing, I want to close a specific file with a specific
      name ending and file type. I've tried several things, yet it stubbornly stays in the list of open documents.

      So, the ONLY thing that is known about this file, at the time I want to close it, is that it ends with –wk.txt. I'd like
      a clip that would close any (all) tabs that have that suffix. For example, it might be named test1-wk.txt, and that
      would want to be closed automatically so the user doesn't ever notice it. At other times, it will not be closed, but
      will be used for another purpose. So I'll have a test that says 'If not xxx' then close the –wk file.

      I also don't know which position it will have in the open doc tabs. So it's kind of like 'if any document is open that
      ends with –wk.txt, close it, discard, make it disappear from the tabs. I know I must be overlooking something here, but
      I appear to be in a dumb loop, and just can't see it.
      TIA,
      John




      [Non-text portions of this message have been removed]



      ------------------------------------

      Fookes Software: http://www.fookes.com/
      NoteTab website: http://www.notetab.com/
      NoteTab Discussion Lists: http://www.notetab.com/groups.php

      ***
      Yahoo! Groups Links
    Your message has been successfully submitted and would be delivered to recipients shortly.