Easy Picture Renamer

Developed or developing a new product in PureBasic? Tell the world about it.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Easy Picture Renamer

Post by Derek »

Nearly finished my picture renamer, just in time for all the holiday photo's.

Edit. It's now a working version, any feedback welcome.

http://www.dlwebsite.pwp.blueyonder.co. ... enamer.exe
Last edited by Derek on Tue Apr 24, 2007 2:24 pm, edited 1 time in total.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Uploaded a working copy now, still no help yet but at least now it renames files.

Available from the link above.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Easy Picture Renamer

Post by PB »

How does it rename them? I don't want to run an exe without any info about it.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

It will be in the help when I finish it but all it does is use the renamefile() command.

It keeps the same extension as the file had so you don't have to enter extensions justt a new name.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Just uploaded a newer version, link is in the first post.

If anyone wants to try it, it seems to be working ok but if you're not sure then use a backup copy of your pictures.

Still haven't done the help yet but to get you started,

1. locate the directory containing the pictures using the explorer on the left
2. click on create thumbnails
3. click on a thumbnail at the right of the window
4. type in a new name where it says new filename
5. press return or click on ok

The button marked renumber current folder will renumber all picture files in the directory where the thumbnails came from. This is useful to keep all the photo's in the order they were taken. It's hard to explain but hopefully if you try it you will understand.

Any feedback welcome.
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

Post by AND51 »

I didn't test it in detail, but WHY DON'T YOU USE #PB_Button_Toggle for "Add Numbers On/Off"?
Would look much better! :wink:
PB 4.30

Code: Select all

onErrorGoto(?Fred)
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

Funnily enough I did that at first but it leaves a nasty blue border around the button when on which kind of makes it stand out from the rest of the screen so I thought I would just toggle the word instead. Thanks for looking anyway.

Maybe I will put in an ini file and allow the user to change a few preferences like the button for instance.
Post Reply