AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 34 matches
AutoHotkey Community Forum Index
Author Message
  Topic: accessing CSV and using data to rename files
Jow

Replies: 4
Views: 386

PostForum: Ask for Help   Posted: Sat Aug 30, 2008 3:59 pm   Subject: accessing CSV and using data to rename files
Thanks tank, that does work in as much as it renames a single file, but I'm not sure how to adapt it to do what I want. I haven't got that much knowledge yet.

I need to rename every file in the dir ...
  Topic: accessing CSV and using data to rename files
Jow

Replies: 4
Views: 386

PostForum: Ask for Help   Posted: Sat Aug 30, 2008 2:36 pm   Subject: accessing CSV and using data to rename files
So, I think I need to know how to say-

If the filename within A1 of the CSV is the same as the filename in the working directory, then rename that file as 'B1 & C1 & D1 & E1' or 'Origen ...
  Topic: accessing CSV and using data to rename files
Jow

Replies: 4
Views: 386

PostForum: Ask for Help   Posted: Sat Aug 30, 2008 2:06 pm   Subject: accessing CSV and using data to rename files
http://i53.photobucket.com/albums/g55/DPForums/Example.jpg

My main aim is to quickly rename a load of files from the generic name given to them by the scanning software, into a meaningful name in a ...
  Topic: FormatTime problem
Jow

Replies: 4
Views: 60

PostForum: Ask for Help   Posted: Sat Aug 30, 2008 12:57 pm   Subject: FormatTime problem
Thanks Smile
  Topic: FormatTime problem
Jow

Replies: 4
Views: 60

PostForum: Ask for Help   Posted: Sat Aug 30, 2008 12:46 pm   Subject: FormatTime problem
FormatTime, Date, dd-MM-yyyy

msg.=File%i%_name "," Customer "," Provider "," Date "," Amount "`n"

Hey, I'm trying to format this date so that it ...
  Topic: AHK use
Jow

Replies: 5
Views: 348

PostForum: General Chat   Posted: Fri Jul 18, 2008 12:11 pm   Subject: AHK use
It really depends on what exactly you want to do with it...

Nothing fancy, I've just written something to rename .txt files into .csv. It's a problem a customer has been having trouble with and I s ...
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Fri Jul 18, 2008 12:06 pm   Subject: Renaming files in folder
Is it possible to specify that I want to use only the number in cell A1? I'm having an occasional issue where there is a number in A1 and A2, in which case it doesn't rename and move. I've had a root ...
  Topic: AHK use
Jow

Replies: 5
Views: 348

PostForum: General Chat   Posted: Fri Jul 18, 2008 8:44 am   Subject: AHK use
Would you use AHK to write a program as part of a business solution for a large company?

I have been asked to provide a solution to somebody, I usually use VB.net, but in this instance AHK would wo ...
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 3:52 pm   Subject: Renaming files in folder
OK - it works now Smile

I changed the filemove directory to

FileMove, %dir%\%FileName%.pdf, %dir%\%CellContents%.pdf

Thanks everyone that has taken the time to help me, really appreciate it.
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 3:48 pm   Subject: Renaming files in folder
enguneer, using that made the message box display the correct filenames! -

"Trying to rename file1.pdf to 3788145.pdf"

But it doesn't go on to rename the files?

I can't figure out w ...
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 11:59 am   Subject: Renaming files in folder
The message box you added says -
"Trying to rename .csv.pdf to 3788145.pdf"

So I guess that shows there's something up...?
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 11:34 am   Subject: Renaming files in folder
Hey, whereabouts do I put that in my code?
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Thu Jul 17, 2008 8:59 am   Subject: Renaming files in folder
This thread has probably got a bit confusing for anyone reading it, so I'll just a post a summary of where I am...what I want it to do is still the same as the original post, except now I am allowing ...
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Wed Jul 16, 2008 11:20 am   Subject: Renaming files in folder
TryAgain:
FileSelectFolder, dir,\\Server-1\production_share
If (ErrorLevel = 1)
{
Msgbox, 4,PROGRAM TITLE, Folder Not Selected.`nDo you want to quit?
IfMsgBox, Yes
ExitApp ...
  Topic: Renaming files in folder
Jow

Replies: 22
Views: 477

PostForum: Ask for Help   Posted: Wed Jul 16, 2008 10:55 am   Subject: Renaming files in folder
Hey Krogdor, thanks again for your help Smile

The 'Completed' bit refers to a sub-folder that I want the files to be moved into...
 
Page 1 of 3 Goto page 1, 2, 3  Next
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group