Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 5.6

COLUMN

iDater

A simple project to manage creation and modification dates

Issue: 5.6 (September/October 2007)
Author: Brad Rhine
Author Bio: Brad Rhine is the developer of Kodiak, a complete student information system written entirely in REALbasic. That's his day job. In his spare time, he writes shareware applications in REALbasic.
Article Description: No description available.
Article Length (in bytes): 11,723
Starting Page Number: 38
Article Number: 5613
Resource File(s):

Download Icon 5613.zip Updated: 2007-09-14 19:40:45

Related Link(s): None

Excerpt of article text...

Today we begin developing a new project in From Scratch. The purpose of this project is to change the creation and/or modification dates and times on a file or on a batch of files.

Why would we want to do this? Well, I suppose the more nefarious among us might wish to cover our tracks after surreptitiously modifying some secret government files, but a more common application is for those who deal with a variety of digital media. In fact, a digital photographer recently requested from me a way to select a batch of pictures and set the creation date and time to the date and time of the photo shoot on all of them at once. I thought that sounded like a good idea for a From Scratch project. It's a pretty simple project, but it will help us learn about dates and files in REALbasic.

For this project, I came up with the completely lame name iDater. Believe me when I say that I'm open to suggestions for a new name.

The Basic Workflow And Interface

When we think about how our end users will work with iDater, we can easily imagine that the user will want to drag and drop a group of files onto iDater, then select or enter a date and time. Additionally, we need to provide a way for our users to remove files from the batch in case an unwanted file is incorrectly dragged in.

...End of Excerpt. Please purchase the magazine to read the full article.