• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
preferred size vs. total partition size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: migrating a Eudora script to Mail.app
  • Next by Date: Re: Write a prefs file
  • Previous by thread: migrating a Eudora script to Mail.app
  • Next by thread: URL Access Scripting: error number -3150
  • Index(es):
    • Date
    • Thread