[X-Newbies] Apple Script-Ref: Slow Start Up
Mark Des Cotes
mark at astroprinting.com
Fri Apr 15 05:24:45 PDT 2005
John,
I know you didn't write it but maybe you or someone else can tell me
why it doesn't seem to do anything on my system? I followed your
instructions, Copy>Past into Script Editor>Compile>Run. When I click
Run it just flashes for a second then stops. You mentioned that it
would ask for my password but it never does. Any ideas? I'm running
10.3.8.
Mark Des Cotes
Systems Manager/Graphic Designer
Astro Printing Service (Cornwall) Ltd.
3308 Second Street East
Cornwall Ontario Canada K6H 6J8
T (613) 932-9281 Ext 106, F (613) 932-1052
www.astroprinting.com
On Apr 14, 2005, at 5:41 PM, John McGibney wrote:
> Try this version I just got from the macfixit site:
>
> property systemList : {¬
> "com.apple.ATS.System.fcache", ¬
> "com.apple.ATSServer.FODB_System", ¬
> "fontTablesAnnex"}
> property localList : {¬
> "501:Classic.fcache", ¬
> "501:Local.fcache", ¬
> "User.fcache", ¬
> "Classic.fodb", ¬
> "Local.fodb", ¬
> "User.fodb", ¬
> "FondResourceCache"}
> tell application "Finder"
> set versionFinder to version as text
> end tell
> if versionFinder starts with "10.3" then
> set localCaches to (":Library:Caches:com.apple.ATS:" as alias) as text
> set systemCaches to ((path to "boot") as text) &
> "System:Library:Caches:"
> tell application "Finder"
> repeat with name in localList
> try
> delete file (localCaches & name)
> end try
> end repeat
> repeat with name in systemList
> try
> delete file (systemCaches & name)
> end try
> end repeat
> end tell
> end if
>
>
>
>
>
>> This is in reference to John McGibney's post response of 10 April:
>> Hello John: I read your inputs a few days ago where you were
>> responding
>> to someone's "slow Start Up." You also recommended running an Apple
>> Script, which I tried, but it gave me an error right at the beginning
>> of the script after clicking Compile.
>> I did as you recommended: "In order to run this script, simply open
>> the
>> application Script Editor
>> (located in Applications/AppleScript on a standard installation),
>> create a new file, paste the above script, click "Compile" then click
>> "Run." You will be asked for your administrator password several
>> times.
>>
>> Any thoughts or ideas.
>>
>> Thanks in advance and regards, Bob
>
> --
> QUOTE OF THE DAY:
> If stupidity got me into this mess, than why the hell can't it get me
> out?
> --
> "The difference between genius and stupidity is genius has its limits."
> - Albert Einstein
> --
> Every day, man is making bigger and better fool-proof things, and
> every day,
> nature is making bigger and better fools.
> So far, I think nature is winning.
>
> _______________________________________________
> X-Newbies mailing list
> X-Newbies at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-newbies
>
> Listmom is trying to clean out his closets! Vintage Mac and random
> stuff:
> http://search.ebay.com/_W0QQsassZmacguy1984
>
More information about the X-Newbies
mailing list