Author Topic: Function RenameFile in script  (Read 7564 times)

0 Members and 1 Guest are viewing this topic.

Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Function RenameFile in script
« on: December 26, 2011, 06:12:29 pm »
Hello,

I noted that if we have already create a database and if we want rename all movie file with data in PVD (like OrigTitle,year, studio) it's very difficult.
I think if a function can exist for use in script to rename a file using data in field it would be very interesting, and with this the possibility of change value in Path Field if it already exist.

Now i try to remedy to this in exporting my database in a CSV file, re-write my CSV file with a oooBasic macro where i change path, and re-import the new csv File in PVD.

Sorry for my english.
Thanks!


Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Function RenameFile in script
« Reply #1 on: December 26, 2011, 09:51:58 pm »
This feature has already been added to version 1. It's done by the program itself—no script is required.

Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Re: Function RenameFile in script
« Reply #2 on: December 26, 2011, 10:14:41 pm »
Many Thanks!

Offline Morgenstern72

  • User
  • ***
  • Posts: 39
    • View Profile
Re: Function RenameFile in script
« Reply #3 on: April 22, 2014, 03:53:44 pm »
This feature has already been added to version 1. It's done by the program itself—no script is required.

Ho can I do that exactly? I want to rename all folders/files so they reflect the database.

Thx for your help :)
PVD 1.0.2.7
Windows 7 Pro 64bit

 

anything