Search found 7 matches

by perseid
28 Mar 2012 05:02
Forum: Script Exchange
Topic: Need a script to move selected files to specific folders
Replies: 2
Views: 1314

Re: Need a script to move selected files to specific folders

Thanks highend, your script and instructions worked flawlessly. Regards.
by perseid
27 Mar 2012 21:30
Forum: Script Exchange
Topic: Need a script to move selected files to specific folders
Replies: 2
Views: 1314

Need a script to move selected files to specific folders

Hi, say I select with XYplorer a bunch of files in a certain location and when pressing the "a" keystroke it will move those files to the c:\art\ folder, when pressing the "h" keystroke it will move those files to the c:\history\ folder, and so on. What would be a suitable script for this? Thanks
by perseid
26 Mar 2012 21:25
Forum: Tips & Tricks, Questions & Answers
Topic: Batch rename PDF files using metadata?
Replies: 21
Views: 3617

Re: Batch rename PDF files using metadata?

I wanted the renaming to append as follows: "<Title>_<Author>_originalfilename.pdf" Just change this line to whatever you prefer: $NewName = "$Author" . "_" . "$Title" . "_" . "$FileName"; e.g.: $NewName = "$Title" . "_" . "$Author" . "_" . "$FileName"; Also, is it possible that when I run the scri...
by perseid
26 Mar 2012 20:38
Forum: Tips & Tricks, Questions & Answers
Topic: Batch rename PDF files using metadata?
Replies: 21
Views: 3617

Re: Batch rename PDF files using metadata?

@perseid global $File, $FileName; $SelectedItems = get("SelectedItemsPathNames", "|"); foreach($Item, $SelectedItems, "|") { $File = $Item; sub "_SplitFileName"; $Title = property("DocTitle", "$Item"); $Author = property("DocAuthor", "$Item"); if($Title != "" && $Author != "") { $NewName = "$Author...
by perseid
26 Mar 2012 19:39
Forum: Tips & Tricks, Questions & Answers
Topic: Batch rename PDF files using metadata?
Replies: 21
Views: 3617

Re: Batch rename PDF files using metadata?

$SelectedItems = get("SelectedItemsPathNames", "|"); foreach($Item, $SelectedItems, "|") { $Title = property("DocTitle", "$Item"); $Author = property("DocAuthor", "$Item"); $NewName = "$Title" . "_" . "$Author"; rename b, "$NewName", p, "$Item"; } This _should_ work but test it with a few copies of...
by perseid
26 Mar 2012 07:57
Forum: Tips & Tricks, Questions & Answers
Topic: Batch rename PDF files using metadata?
Replies: 21
Views: 3617

Re: Batch rename PDF files using metadata?

Hi! First of all let me thank you all for your replies. I have no knowledge in writing scripts and I know the best path is to learn but I need to solve the issue at hand now and I appreciate your sending me the scripts. Also, I'm running Windows XP SP3 32bit (US-English). I ran the scripts in XYplor...
by perseid
25 Mar 2012 09:33
Forum: Tips & Tricks, Questions & Answers
Topic: Batch rename PDF files using metadata?
Replies: 21
Views: 3617

Batch rename PDF files using metadata?

Hi, I have a bunch of PDF books that I want to batch rename according to their metadata info (for example "Title_Author_Year_Edition.pdf"). Can this be done with XYplorer? If so, how? Thanks