Search the web
Sign In
New User? Sign Up
ntb-clips · The NoteTab Clips List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
regex solution to solve data reshuffle?   Message List  
Reply | Forward Message #19463 of 19909 |
Re: [Clip] Jeff's clip - how to rename a file after highlighted name

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>

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



Mon Jul 13, 2009 3:03 pm

silvermoonwo...
Offline Offline
Send Email Send Email

Forward
Message #19463 of 19909 |
Expand Messages Author Sort by Date

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...
Jeff
scismgenie
Offline Send Email
Jul 13, 2009
1:57 pm

... The debug version was not supposed to save any files, just to show what ... Anyway try this one: ...
Sheri
silvermoonwo...
Offline Send Email
Jul 13, 2009
3:03 pm

Thanks, I think this is doing EVERYTHING I thought about doing and more. Thanks again. Jeff ... -- Jeffery G. Scism, IBSSG Flockmaster, International...
Jeff
scismgenie
Offline Send Email
Jul 13, 2009
3:22 pm

There are apparently ways to work into solutions. Sheri sent me a few suggestions and when I said you were helping, she suggested the previous version to...
Jeff
scismgenie
Offline Send Email
Jul 10, 2009
3:52 am
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help