RE: Grams, Mike J. (CGC): Setting Preferred Memory
RE: Grams, Mike J. (CGC): Setting Preferred Memory
- Subject: RE: Grams, Mike J. (CGC): Setting Preferred Memory
- From: email@hidden
- Date: Mon, 4 Feb 2002 21:37:57 EST
The AppleScript dictionary for the Finder lists it as being available under
"class application file", minimum size integer -- the smallest memory size
with which the application can be launched, preferred size integer -- the
memory size with which the application will be launched.
Here is a simple sample to get at some of the data:
tell application "Finder"
get minimum size of application file "Sys HD:Applications (Mac OS
9):Graphing Calculator" as integer
set x to the result -- in bytes
set y to (x / 1024) -- convert to kb
display dialog "The mimimum size is: " & y & "kb" buttons {"OK"}
end tell
>
Can I set the Preferred Memory size of Applications (Illustrator, Photoshop,
>
ect...) on my Mac using Applescript??? Any examples???