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

Re: Saving a file

Expand Messages
  • Buddy
    Thanks Sheri! My variable %title1% is a generated filename based on content within the document. As it turned out, that variable still had the line-feed on
    Message 1 of 3 , May 27, 2009
    • 0 Attachment
      Thanks Sheri!

      My variable %title1% is a generated filename based on content within the document. As it turned out, that variable still had the line-feed on it's tail end. Once I stripped that off it worked like a champ.

      Buddy


      --- In ntb-clips@yahoogroups.com, "Sheri" <silvermoonwoman@...> wrote:
      >
      > --- In ntb-clips@yahoogroups.com, "Buddy" <bshearer@> wrote:
      > >
      > > I have a clip that modifies a text file and now I need to save it based upon a filename extracted from the text.
      > >
      > > I have tried both of these
      > >
      > > ^!Save ^%title1%
      > >
      > > ^!TextToFile ^%title1%
      > >
      >
      > ^!Save and ^!Save As are for saving documents.
      >
      > ^!TextToFile is for saving a string of text into a file.
      >
      > What is in ^%title1%?
      >
      > You probably want
      >
      > ^!Save As "^%title1%"
      > or
      > ^!TextToFile "^%title1%" ^%variableholdingtext%
      >
      > ^!TextToFile assumes the file name ends at the first space.
      >
      > ^!Save is supposed to be by itself or followed by As or All.
      >
      > Regards,
      > Sheri
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.