preferred size vs. total partition size
preferred size vs. total partition size
- Subject: preferred size vs. total partition size
- From: Arthur J Knapp <email@hidden>
- Date: Fri, 31 May 2002 12:30:49 -0400
I am having some strange problem in Finder scripting where:
preferred size of application file ...
gets compiled to:
total partition size of application file ...
The "preferred size" syntax is a read/write property of application
files, where as "total partition size" is a read-only property of
processes. It turns out that both have the same AppleEvent code, "appt".
The interesting thing is that it IS read/writable OR read-only depending
on the actual "target", but the fact the the damn compiler has to go
around changing things makes it very difficult to keep these things
straight!!!
I've tried this in both Script Debugger and Script Editor, quiting
and relaunching them, etc, but the compiler always changes "preferred size"
to "total partition size". What's the deal? Does the compiler make an
arbitrary decision regarding which term to return?
OS 9.1
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
<
mailto:email@hidden>
try
<
http://www.facespan.com/>
on error number -128
end try
}
_______________________________________________
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.