Build a clipboard manager
Issue: 8.2 (January/February 2010)
Author: Brad Rhine
Article Description: No description available.
Article Length (in bytes): 13,879
Starting Page Number: 54
RBD Number: 8214
8214.zip Updated: Monday, January 4, 2010 at 1:36 PM
Related Link(s): None
Known Limitations: None
Excerpt of article text...
The last time we were together, we began building ClipSaver, a clipboard manager that would keep track of our copied text so that we could save our clipboard history.
We got to the point that our project was able to monitor the clipboard and track its contents in a ListBox. But we had not yet reached the point where we were able to maintain that data between runs of our application (or restarts of the computer itself, for that matter).
That's where we begin today.
Now, I know that I promised that we would be building a multi-user application, but as the old saying goes, you have to walk before you can run. So first, we're going to build the single user version, which we'll be able to extend later to support multiple users.
Saving The Data
The simplest way, and one of the most efficient ways, to store our data is the REAL SQL Database. Built on SQLite, it's fast, free, and reliable. Normally, you only get to pick two of those attributes, so having all three is really rather amazing. Now, this project isn't intended to be a database lesson, so I'm not going to explain all the nitty gritty details. However, if there's something I gloss over that you'd like to have explained more in depth, by all means contact me. My wife will be glad that I have someone else with whom I can discuss databases.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.