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

21279Re: [Clip] First line of text to file name??

Expand Messages
  • Don
    Dec 2, 2010
    • 0 Attachment
      Quick and dirty, something like this:
      ^!Find ^(.{1,20}) TIWRS
      ^!Set %filename%=^$GetSelection$
      ^!Save As "^%filename%.txt"


      On 12/2/2010 3:02 PM, Ryck Lent wrote:
      > I have been searching for a simple clip button to turn the first line of a
      > document into the file name. This would be similar to a function in Word that
      > proposes the first line as a possible file name when saving the first time.
      >
      > Does anyone know if such a clip button function exists already?
      >
      > The button function would:
      >
      > Select some n of the characters of the fist line of the file
      > Save the selected characters in a variable
      > Activate the file "Save As" function
      > Paste the stored variable into the file name box
      > Prompt or confirm file save location
      > Save the file
      >
      > Thanks for any help.
      >
      >
      >
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
      >
    • Show all 6 messages in this topic