My (Simple) Bookmark Manager
Posted: Thu Nov 13, 2025 7:52 am
This is my first utility in PureBasic written from scratch with multiple windows (my previous experiments have been basic). It was an exercise in learning more about PureBasic and the IDE. It's a simple (no drag and drop) bookmark manager that is specifically designed to import and work with bookmarks exported from the Start.me online homepage site.
Comments about the program.
Source:
https://workdrive.zohoexternal.com/exte ... bb51376019
Program:
https://workdrive.zohoexternal.com/exte ... dae99eb352
Comments about the program.
- The built-in Form Designer was used to see what it's like and how easy could I make a simple UI without additional tools, and to work within the bounds of the event loop code that it generates.
- I chose to use #PB_Any at every possible opportunity. A slightly tricky result of this was trying different and then deciding on a set of rules for naming that made sense to me for the global variables.
- There is no error checking that the file to import is from https://start.me (or in the expected format), or that the number of bookmarks is less than 5000.
- Actually, there aren't rigorous checks anywhere (like is the URL valid?), I know that is bad, but it is what it is!
- It's a "portable" program and assumes that the folder it is running from is writeable, and that is the only folder that data is stored in.
- I should find out how to make "default" buttons in the windows, so the Enter key can be used to make things happen. And generally learn about making keyboard shortcuts.
- I plan to learn how to include the PNG files in the program (if that's possible), so they are not separately in the folder.
- I would like to launch the browser with a double click on a URL in the TreeGadget, but don't know how to do that, yet.
- The TreeGadget gets redrawn totally from scratch when a new item is added (or deleted). It would be better if a new item is just added to the existing gadget items.
- Importing overwrites all the existing bookmarks. It might be nice for the import to append to the bookmarks already there, or at least have that as an option.
- Threads are not used at all! If the UI freezes, please be patient while it completes. Less than ideal, but I already had to absorb a lot just to get this far, and I didn't have the motivation to learn more about threads for a personal project.
Source:
https://workdrive.zohoexternal.com/exte ... bb51376019
Program:
https://workdrive.zohoexternal.com/exte ... dae99eb352