Re: [Clip] rename document
- (Cita de Jody)
>Don't you think or can't you get something like this to work withIts work ok and it's more easy that my clip :-(
>the rest of the code?
Append the codedate to the file
c:\Jody.txt --> c:\Joyd-010205.txt
I like the idea becasue we are put a code such as -OLD or -ABC -B
to mark severaly files at the end of the name, then we can find files
*-ABC* , etc.
rename with append codedate
^!RenameFile "^%Current%" "^%Name%-^$GetDate(yymmdd)$.^%ExtType%"
; ^!Delay 1 if needed
- Cursos por email:Windows,Navegador,Outlook,Html,Word,Excel,Access
También para ciegos.
- Elizabeth Wild wrote:
> I was reasonably sure that the problem was that I was trying to Rename without closing the file. > However, my brain was to tired to explore that possibility. I also did
> the with the Save AS, because if I (personally) would use dates in file names when I wanted to be > able to track/save changes. I would then just need to eliminate
> the Destroy line.
If you haven't solved the codedate task yet here is my attempt.
Long lines separated by blank lines so you can unwrap if
You can delete the commented lines if you want, it's a much
shorter clip that way.
If it dowsn't work first time try changing the delay up and down.
H="Date/Time to Filename"
;-either ^!Set pair works!
;-this operates on the focused doc.
^!RenameFile "^%old%" "^%new%"
;-Depending on computer and disk speed
;-Delay may need to increase
- Hi Harvey
>If you haven't solved the codedate task yet here is my attempt.Thanks, but I never did think there was a problem. ;) We were
just discussing different methods mainly. Now, Manuel has
another to work with, but he posted what he needed. I guess
everybody is happy now and you made your version too. :)
Subscribe, UnSubscribe, Options