I don't need anything fancy that needs a rocket science degree to decipher, just a simple renamer so had to write myself something small. simple and brain dead.
You can set the dir to scan
Collect files to rename, with or without a file mask.
Don't use *.exe, use just .exe for extensions or exe for embedded string
You can preview the results of the rename.
Colourful form, full source code and images in archive.
Compatibility: PB 4.02, PureVison.
If you don't own PureVision, comment any lines starting with "PV" in the windows code and replace with standard PB colour commands.
http://www.penguinbyte.com/apps/pbwebst ... enamer.rar
SIR, (SImple Renamer)
- Fangbeast
- PureBasic Protozoa
- Posts: 4790
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
SIR, (SImple Renamer)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
- Fangbeast
- PureBasic Protozoa
- Posts: 4790
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
That's definately a strange problem with PureBasic then as the form itself is 800x600 and there is no resizing code in there at all to take into account any screen sizes.Sparkie wrote:Hi Fangles
Just gave it a quick look and noiced that with an 800x600 monitor, there is a problem with the statusbar overlapping the gadgets.
I will take it for a test drive later tonight.
I remember this happening a few years ago with my wife's old laptop and I assumed it was either purebasic or mickeysoft whinedoze not taking into account certain borders (client/non client areas and other areas) but don't have that old machine to test any more.
Anyway, it works here and the full project is provided (evil grin).
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
- Fangbeast
- PureBasic Protozoa
- Posts: 4790
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Whoah baby!!
I just set my monitor to 800x600 and it does it here too. How strange!!
Absolutely no idea why at this point.
**EDIT** Found it. The visual designer takes into account (the one I use) the true height of a Frame3DGadget, so the generated code is right because a Frame actually has some "white space" that it takes up and in this version of the designer, I cannot see the white space and am incorectly assuming the height of the gadget from the thickness of the visible line part.
When I design the forms, I have 2 frame3d's on top of each other (not overlapping, or so I thought) and the visual designer clearly shows this.
Frame one starts at 0 height and is 525 pixels high. Frame 2 starts at 520 (!!) pixels.
So the status bar is trashed by 5 pixels, the height that I have miscalculated the form by and in 800x600 screen mode, the status bar is being recalculated under the window correctly.
Going to ask Paul to update his designer as I believe the frame now supports colours and it would make it easier to position gadgets
Absolutely no idea why at this point.
**EDIT** Found it. The visual designer takes into account (the one I use) the true height of a Frame3DGadget, so the generated code is right because a Frame actually has some "white space" that it takes up and in this version of the designer, I cannot see the white space and am incorectly assuming the height of the gadget from the thickness of the visible line part.
When I design the forms, I have 2 frame3d's on top of each other (not overlapping, or so I thought) and the visual designer clearly shows this.
Frame one starts at 0 height and is 525 pixels high. Frame 2 starts at 520 (!!) pixels.
So the status bar is trashed by 5 pixels, the height that I have miscalculated the form by and in 800x600 screen mode, the status bar is being recalculated under the window correctly.
Going to ask Paul to update his designer as I believe the frame now supports colours and it would make it easier to position gadgets
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Looks like Large Fonts are being used, which will cause that overlap.
See here: http://www.purebasic.fr/english/viewtopic.php?p=175228
Edit: Oops, you found your problem while I was typing my reply.
See here: http://www.purebasic.fr/english/viewtopic.php?p=175228
Edit: Oops, you found your problem while I was typing my reply.

I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
- Fangbeast
- PureBasic Protozoa
- Posts: 4790
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
I wish I knew what I was talking about!!PB wrote:Looks like Large Fonts are being used, which will cause that overlap.
See here: http://www.purebasic.fr/english/viewtopic.php?p=175228
Edit: Oops, you found your problem while I was typing my reply.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet