TweetFollow Us on Twitter

Nov 96 Tips
Volume Number:12
Issue Number:11
Column Tag:Tips & Tidbits

Tips & Tidbits

by Steve Sisak

Avoiding Preloads

When you open a resource file, all the resources marked 'preload' are automatically loaded. If the file contains a lot of preload resources, HOpenResFile (or OpenResFile, or FSPOpenResFile) can take a long time, or even fail with an error -108 (not enough memory).

If you do not want preload resources to be loaded when you open a resource file, you should set ResLoad to false before opening the file. For example:


SetResLoad ( false );
   refNum = HOpenResFile ( vol, dirID, name, fsRdWrPerm );
   SetResLoad ( true );
   if ( refNum < 0 )
     err = ResError (); // Which error occurred
   else {
       ....      // file was opened correctly
       }

- Marshall Clow, Aladdin Systems

mclow@mailhost2.csusm.edu

Using Labels to Organize Yourself

Until several months ago, I had never thought too much of Labels; never used them, pretty much ignored their existence altogether. It was only when I found myself repeatedly re-installing and/or upgrading my system (and thus needing to replace all of my custom files from the old System Folder), that I found a truly blessed purpose for the Finder’s Labels.

The beauty of Labels is that they provide a generic mechanism for the Finder to aide in the user’s organization of files. Other customization features like Comments are not so useful in a lot of cases, because there is no intuitive way to quickly use the information to increase efficiency. Thanks to the “View by Label” feature of the Finder, labels can save the day.

A case where I find this especially useful is in the organization of my System Folder. I will describe a system of Labels which I use to ease the task of keeping track of all the system, custom, and 3rd party files which inevitably find their way into my System Folder.

Assign a unique Finder Label to each of the following categories:

1. System: Files or folders which will be completely re-installed by the Installer in the case of an update or clean System Software install.

2. Custom: Files or folders which were installed or instantiated by some action of the user. Anything which you will want to replicate in your new folder but which the Installer will not create.

3. Contains Custom: For folders which contain some but are not entirely filled with custom files.

Now, go to your System Folder and view by Label. Proceed to label every file and folder with one of these labels. If you have some files which don’t fit in these categories, you have 4 additional labels to work with.

Now that this initial time consuming task is out of the way, you are ready to reap the benefits of your effort. Periodically, you can use the System 7.5 Find File to keep your folder up to date. Simply do a Find by “Label is None” in the System Folder, and adjust the labels as appropriate.

When it comes time to re-install or update, you can View by Label to quickly arrange your files. Drag all Custom items directly to the new folder. Open and repeat for all “Contains Custom” folders. Ignore all System items, and spend your valuable mental energy only on unlabeled items you may have missed.

This process has taken a lot of the fear and effort out of making drastic changes to my System Folder. If it still sounds like too much work, then my final suggestion will make you smile: Since almost all of the “thinking” is being done by the Finder, the scriptable Finder can be caused to do almost all of this automatically. With an AppleScript that intelligently traverses the System Folder and does the right thing with the right label, you’ll almost never need to agonize over them again.

Daniel Jalkut

San Francisco, CA

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Iridient Developer 3.4.1 - Powerful imag...
Iridient Developer (was RAW Developer) is a powerful image-conversion application designed specifically for OS X. Iridient Developer gives advanced photographers total control over every aspect of... Read more
Vallum 3.3.4 - $15.00
Vallum is a little tool that helps you monitor and block apps connections and throttle apps bandwidth. It is able to intercept connections at the application layer, and hold them while you decide... Read more
DiskCatalogMaker 8.2.6 - Catalog your di...
DiskCatalogMaker is a simple disk management tool which catalogs disks. Simple, light-weight, and fast Finder-like intuitive look and feel Super-fast search algorithm Can compress catalog data for... Read more
SoftRAID 5.8.4 - High-quality RAID manag...
SoftRAID allows you to create and manage disk arrays to increase performance and reliability. SoftRAID allows the user to create and manage RAID 4 and 5 volumes, RAID 1+0, and RAID 1 (Mirror) and... Read more
Audio Hijack 3.7.3 - Record and enhance...
Audio Hijack (was Audio Hijack Pro) drastically changes the way you use audio on your computer, giving you the freedom to listen to audio when you want and how you want. Record and enhance any audio... Read more
CleanMyMac X 4.6.15 - Delete files that...
CleanMyMac makes space for the things you love. Sporting a range of ingenious new features, CleanMyMac lets you safely and intelligently scan and clean your entire system, delete large, unused files... Read more
Suitcase Fusion 21.2.1 - Font management...
Suitcase Fusion is the creative professional's font manager. Every professional font manager should deliver the basics: spectacular previews, powerful search tools, and efficient font organization.... Read more
Civilization VI 1.3.6 - Next iteration o...
Civilization® VI is the award-winning experience. Expand your empire across the map, advance your culture, and compete against history’s greatest leaders to build a civilization that will stand the... Read more
Dashlane 6.2042.0 - Password manager and...
Dashlane is an award-winning service that revolutionizes the online experience by replacing the drudgery of everyday transactional processes with convenient, automated simplicity - in other words,... Read more
Airfoil 5.9.2 - Send audio from any app...
Airfoil allows you to send any audio to AirPort Express units, Apple TVs, and even other Macs and PCs, all in sync! It's your audio - everywhere. With Airfoil you can take audio from any... Read more

Latest Forum Discussions

See All

Physics-based tower defense game Goblin...
Indie developer Arif Games has released Goblin Raiders on iOS and Android. [Read more] | Read more »
PUBG Mobile has provided yet another upd...
PUBG Mobile has been making a point of publicly mentioning all of their ongoing efforts to vanquish cheating from the popular battle royale. Today two teams within the company have provided updates on their progress. [Read more] | Read more »
Zombieland: AFK Survival is celebrating...
Zombieland: AFK Survival is currently celebrating its one-year anniversary. If you don't quite recognise the name that's because it initially launched as Zombieland: Double Tapper. Anyway, the game is celebrating turning one with two Halloween-... | Read more »
Distract Yourself With These Great Mobil...
There’s a lot going on right now, and I don’t really feel like trying to write some kind of pithy intro for it. All I’ll say is lots of people have been coming together and helping each other in small ways, and I’m choosing to focus on that as I... | Read more »
Genshin Impact Guide - Gacha Strategy: W...
If you're playing Genshin Impact without spending money, you'll always need to be looking for ways to optimize your play to maximize rewards without getting stuck in a position where you're tempted to spend. The most obvious trap here is the game'... | Read more »
Genshin Impact Adventurer's Guide
Hello and well met, fellow adventurers of Teyvat! Check out our all-in-one resource for all things Genshin Impact. We'll be sure to add more as we keep playing the game, so be sure to come back here to check for updates! [Read more] | Read more »
Genshin Impact Currency Guide - What...
Genshin Impact is great fun, but make no mistake: this is a gacha game. It is designed specifically to suck away time and money from you, and one of the ways the game does this is by offering a drip-feed of currencies you will feel compelled to... | Read more »
XCOM 2 Collection on iOS now available f...
The XCOM 2 Collection, which was recently announced to be coming to iOS in November, is now available to pre-order on the App Store. [Read more] | Read more »
Presidents Run has returned for the 2020...
IKIN's popular endless runner Presidents Run has returned to iOS and Android just in time for the 2020 election season. It will see players choosing their favourite candidate and guiding them on a literal run for presidency to gather as many votes... | Read more »
New update for Cookies Must Die adds new...
A new update for Rebel Twins’ platformer shooter Cookies Must Die is coming out this week. The update adds quite a bit to the game, including new levels and characters to play around with. [Read more] | Read more »

Price Scanner via MacPrices.net

Apple’s 16″ MacBook Pros are back in stock st...
Apple has Certified Refurbished 2019 16″ MacBook Pros back in stock for up to $420 off the cost of new models, starting at $2039. Each model features a new outer case, shipping is free, and an Apple... Read more
Use our exclusive iPhone Price Trackers to fi...
Looking for a new Apple iPhone 12 or 12 Pro? Perhaps a deal on last year’s iPhone 11? Check out our iPhone Price Tracker here at MacPrices.net. We track new and clearance iPhone prices from Apple as... Read more
Weekend deal: $100 off 13″ MacBook Airs at Am...
Amazon has new 2020 13″ MacBook Airs on sale for $100 off Apple’s MSRP, starting at only $899. Their prices are the lowest available for new MacBooks from any Apple resellers. These are the same 13″... Read more
New 10.9″ 64GB Apple iPad Air on sale for $55...
Amazon has Apple’s new 2020 10.9″ 64GB WiFi iPad Air on sale today for $549.99 shipped. That’s $40 off MSRP. Pre-orders are available today at this discounted price, and Amazon states that the iPad... Read more
Get a clearance 2019 27″ 5K iMac for up to $5...
Apple has Certified Refurbished 2019 27″ 5K iMacs available starting at $1439 and up to $520 off their original MSRP. Apple’s one-year warranty is standard and shipping is free. The following... Read more
AT&T offers the Apple iPhone 11 for $10/m...
AT&T is offering Apple’s 64GB iPhone 11 for $10 per month, for customers opening a new line of service, no trade-in required. Discount is applied via monthly bill credits over a 30 month period.... Read more
Apple’s 2020 11″ iPad Pros on sale today for...
Apple reseller Expercom has new 2020 11″ Apple iPad Pros on sale for $50-$75 off MSRP, with prices starting at $749. These are the same iPad Pros sold by Apple in their retail and online stores: – 11... Read more
Did Apple Drop The Ball By Not Branding Its C...
EDITORIAL: 10.21.20 – In the branding game, your marketing strategy can either be a hit or a miss and the latter is the case for Apple when it missed out on an opportunity to brand its “SE” series of... Read more
27″ 6-core and 8-core iMacs on sale for up to...
Adorama has Apple’s 2020 27″ 6-core and 8-core iMacs on sale today for $50-$100 off MSRP, with prices starting at $1749. Shipping is free: – 27″ 3.1GHz 6-core iMac: $1749, save $50 – 27″ 3.3GHz 6-... Read more
Apple’s 16″ MacBook Pros are on sale for $300...
B&H Photo has 16″ MacBook Pros on sale today for $300-$350 off Apple’s MSRP, starting at $2099. Expedited shipping is free to many addresses in the US. Their prices are among the lowest available... Read more

Jobs Board

*Apple* Mac, Windows & Mobile Device Sup...
Apple Mac, Windows & Mobile Device Support Engineer at created 30-Sep-2020"/> Skip to content **Xerox** at https://xerox.avature.net/en_US/careers Menu ** Apple Read more
Freelance Features Writer ( *Apple* Products...
…interested in iOS, watchOS, iPadOS, macOS? Do you like to explain and teach Apple products to other people with less understanding? If these things sound like you, Read more
Geek Squad *Apple* Consultation Professiona...
**788452BR** **Job Title:** Geek Squad Apple Consultation Professional **Job Category:** Store Associates **Store Number or Department:** 000401-Southland Read more
*Apple* Computing Specialist - Best Buy (Uni...
**789021BR** **Job Title:** Apple Computing Specialist **Job Category:** Store Associates **Store Number or Department:** 000109-West Los Angeles-Store **Job Read more
Chief Medical Officer, St. Mary Medical Cente...
…**Providence is calling a Chief Medical Officer to St. Mary Medical Center in Apple Valley, CA** **.** **THE ROLE** Under the direction of the Chief Executive, the Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.