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

19512Re: Delete contents of file

Expand Messages
  • Sheri
    Jul 23, 2009
      --- In ntb-clips@yahoogroups.com, "paulmaser" <paul@...> wrote:
      > I am trying to create a clip that will delete the contents of a text file without using "^!Keyboard".
      > ^!Open file
      > ^!Select All
      > -can't figure out what to use here.
      > The methods that work are to delete and recreate the file or to use a regex to replace everything, but there has to be a simpler solution and all I can find is ^!DeleteLine.
      > Thanks for the help;
      > Paul

      Sounds like you mean to clear the content of the current document window, not the disk file.

      How about:

      ^!Menu Edit/Clear All

    • Show all 14 messages in this topic