[futurebasic] Re: [FB] Detecting Powerbooks

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: PRITCHA@...
Date: Wed, 26 May 1999 12:15:18 +0100


> Is there an easy way of detecting whether a program is running
> on a Powerbook (without knowing about the various model number
> gestalts (or whetever they're called))?

Paul Bruneau <paul_bruneau@...> wrote:
>Isn't this exactly what the gestalt system is for?

Robert Covington wrote:
>Would have gestalt so, wouldn't ya? :)
>Andy, do you mean getting the knowledge that it is a Powerbook without
>knowing the gestalt code for the machine?
>I think you need to have some knowledge of the returned codes' exact
>meanings/mapings, unless there is additional info returned for Powerbook
>models that you could use, like a "PBK" or something. :)
>Should be something at devworld.apple.com (I think) listing the various
codes.


Robert,
You've got it in one! As I understand it there's dozens of model
number Gestalt codes and it's expanding all the time...
I just want a means (hey, Gestalt is fine if its generic enough)
that'll give me a yes-no answer: Powerbook or not.

I'll mosey on over to devworld.apple.com and have a look -
as per your suggestion, Robert.

Andy