Re: Identifying a specific Mac model
Re: Identifying a specific Mac model
- Subject: Re: Identifying a specific Mac model
- From: John Daniel <email@hidden>
- Date: Mon, 14 Sep 2015 09:53:37 -0400
Thanks for the responses. Unfortunately, Apple is way ahead of all of us.
The “Model Identifier” (MacBook8,1 et al.) is not sufficient to identify a particular model. It only identifies general families of models. All you have to do is go to My OWC (http://eshop.macsales.com/MyOWC/ <http://eshop.macsales.com/MyOWC/>), pick MacBook Pro, and look at the options.
The system images are where they should be. I don’t understand Apple’s reasoning, but that is where Apple wants them.
I don’t know if Apple even tracks the colour of the retina MacBooks. I don’t have one myself. I haven’t been able to find a serial number online. The serial number generator scripts posted online don’t generate valid serial numbers for this model.
Scraping the Apple self-service warranty page might work, but I don’t have any MacBook serial numbers for testing. I really don’t want to parse HTML. Even so, people seem to treat serial numbers as personal information and might freak out if I start sending them over the internet. If I had a few serial numbers for testing, I would know more - or at least something.
I do extract the last 4 characters and send them to Apple’s support web services to get the “marketing name” like "MacBook (Retina, 12-inch, Early 2015)”. But those names don’t seem to include colour. I know of a few different queries for Apple’s services for technical specifications, possible memory upgrades, OS name, and this marketing name. This is a true web service that returns parseable XML. I don’t know if there is any query that will give me the machine icon.
John Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden