★ wanayoo — archive 1999 http://devworld.apple.com/samplecode/Sample_Code/Java/Creator_Changer.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Java: Creator Changer
ADC Membership Technical Business Join ADC Sitemap
Search
Java
ADC Resources
Sample Code

Creator Changer

download (110.2 KB)

Version:

1.0

Date:

Monday, April 26, 1999

Description:

This drag and drop Macintosh application contains many examples of various technologies presented in MRJ 2.1 EA3 and later.

When files and/or folders are dropped on this application, it will recursively scan folder hierarchies and change the creator of all files of a certain type to a predetermined value, using the MRJToolkit APIs.

Taking advantage of AppleScript for Java, this application provides the potential to script its functionality. In its scriptability it presents the option to specify search file type and target creator information for jobs spawed from AppleScript.

Each drop, or AppleScript command spawns a new job, with a new progress bar, etc. During its progress it displays and updates a progress bar for each batch, and allows user interaction. This is a polished Macintosh application, demonstrating that good looking, speedy, and useful applications can be written for the Macintosh in Java.

Requirements: MRJ 2.1 EA3 or later.




Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2001 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE