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

Re: [Clip] Jeff's clip - how to rename a file after highlighted name

Expand Messages
  • Jeff
    Thanks, I think this is doing EVERYTHING I thought about doing and more. Thanks again. Jeff ... -- Jeffery G. Scism, IBSSG Flockmaster, International
    Message 1 of 33 , Jul 13, 2009
      Thanks, I think this is doing EVERYTHING I thought about doing and more.

      Thanks again.

      Jeff

      Sheri wrote:
      >
      >
      > Jeff wrote:
      > > OK I ran it, and it pops up the continues, ending in displaying the
      > > proper name I am seeking, as the final pop-up, BUT the file still
      > > doesn't rename, it stays as "0001.txt"
      > >
      > > The renamed file is being stored in the NoteTab folder
      > >
      > > "C:\Documents and Settings\Jeff Scism\Application Data\NoteTab
      > > Std\s\smith-h-r.htm"
      > >
      > > So I see I have to reassign it to my NoteTab default save location.
      > >
      > > Thanks.
      > >
      >
      > The debug version was not supposed to save any files, just to show what
      > was happening with the regex after you said:
      >
      > > Sheri, your last version is not matching "H. R. Smith" (Double initials
      > > with periods) Otherwise it works VERY well.
      >
      > Anyway try this one:
      > <http://tech.groups.yahoo.com/group/ntb-clips/files/Help_wanted/JeffsClip2.txt
      > <http://tech.groups.yahoo.com/group/ntb-clips/files/Help_wanted/JeffsClip2.txt>>
      >
      > I added code to rename the document buffer if the file exists, and allow
      > you to open the existing file if you choose, and commented out the
      > debugs. It also should now save the file if it doesn't exist in the last
      > name initial subfolder.
      >
      > Regards,
      > Sheri
      >
      >
      > ------------------------------------------------------------------------
      >
      >
      > No virus found in this incoming message.
      > Checked by AVG - www.avg.com
      > Version: 8.5.387 / Virus Database: 270.13.12/2235 - Release Date: 07/13/09 05:56:00
      >
      >

      --


      Jeffery G. Scism, IBSSG
      Flockmaster,
      International Blacksheep Society of Genealogists

      http://ibssg.org/blacksheep/

      http://bsmeadow.blogspot.com/ Blacksheep's Meadow

      http://www.flickr.com/photos/7764576@N05/ Photostream
    • Jeff
      Thanks, I think this is doing EVERYTHING I thought about doing and more. Thanks again. Jeff ... -- Jeffery G. Scism, IBSSG Flockmaster, International
      Message 33 of 33 , Jul 13, 2009
        Thanks, I think this is doing EVERYTHING I thought about doing and more.

        Thanks again.

        Jeff

        Sheri wrote:
        >
        >
        > Jeff wrote:
        > > OK I ran it, and it pops up the continues, ending in displaying the
        > > proper name I am seeking, as the final pop-up, BUT the file still
        > > doesn't rename, it stays as "0001.txt"
        > >
        > > The renamed file is being stored in the NoteTab folder
        > >
        > > "C:\Documents and Settings\Jeff Scism\Application Data\NoteTab
        > > Std\s\smith-h-r.htm"
        > >
        > > So I see I have to reassign it to my NoteTab default save location.
        > >
        > > Thanks.
        > >
        >
        > The debug version was not supposed to save any files, just to show what
        > was happening with the regex after you said:
        >
        > > Sheri, your last version is not matching "H. R. Smith" (Double initials
        > > with periods) Otherwise it works VERY well.
        >
        > Anyway try this one:
        > <http://tech.groups.yahoo.com/group/ntb-clips/files/Help_wanted/JeffsClip2.txt
        > <http://tech.groups.yahoo.com/group/ntb-clips/files/Help_wanted/JeffsClip2.txt>>
        >
        > I added code to rename the document buffer if the file exists, and allow
        > you to open the existing file if you choose, and commented out the
        > debugs. It also should now save the file if it doesn't exist in the last
        > name initial subfolder.
        >
        > Regards,
        > Sheri
        >
        >
        > ------------------------------------------------------------------------
        >
        >
        > No virus found in this incoming message.
        > Checked by AVG - www.avg.com
        > Version: 8.5.387 / Virus Database: 270.13.12/2235 - Release Date: 07/13/09 05:56:00
        >
        >

        --


        Jeffery G. Scism, IBSSG
        Flockmaster,
        International Blacksheep Society of Genealogists

        http://ibssg.org/blacksheep/

        http://bsmeadow.blogspot.com/ Blacksheep's Meadow

        http://www.flickr.com/photos/7764576@N05/ Photostream
      Your message has been successfully submitted and would be delivered to recipients shortly.