Re: Not enough Memory errors
Re: Not enough Memory errors
- Subject: Re: Not enough Memory errors
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 07 Aug 2002 19:17:50 -0700
On 8/7/02 5:25 PM, "Malcolm Fitzgerald" <email@hidden> wrote:
>
I don't often save scripts as applications, now I have. It's a small
>
finder script that hides all processes.
>
>
It runs perfectly until the end when the app quits and throws an
>
error -108 saying "Could not save changes to "Hide All Apps" because
>
there is not enough memory". There aren't any explicit changes to
>
save (the script appears below), what is it trying to do at the point
>
that the error is thrown up?
>
>
------
>
tell application "Finder"
>
set _apps to every process
>
repeat with i in _apps
>
try -- because a few things, like control strip won't obey
>
set visible of i to false
>
end try
>
end repeat
>
end tell
>
--------
In OS X, this works just fine:
tell application "Finder" to set visible of every process to false
I've run it from the Script menu about 5000 times. It has never given an
error. It even makes my Finder folders disappear giving me a clear view of
the desktop. (Although they all come back as soon as I click anywhere in the
desktop).
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.