Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Apply Finder labels based on application type' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Apply Finder labels based on application type
Authored by: darndog on May 15, '06 12:25:09PM
Small mod but I'd suggest it makes more sense to use Yellow for Intel, Blue for PPC and Green for Universal, seeing as Green is both a mix of Blue/Yellow and also generally means 'good to go'. Code alteration would be:
if the_line contains "Intel" then
	set app_type to 3
else if the_line contains "Universal" then
	set app_type to 4
else if the_line contains "PowerPC" then
	set app_type to 5
else
	set app_type to 1
end if


[ Reply to This | # ]