• 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
Re: has option in system attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: has option in system attributes


  • Subject: Re: has option in system attributes
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 10 Apr 2004 20:01:36 -0400

on 2004-04-10 3:37 PM, trinko at email@hidden wrote:

> I was looking at system attributes and i'm wondering if anyone has a
> quick explination for how the has clause works.

The 'system attribute' command corresponds to what programmers know as the
Gestalt command. Here and there on the Web you can find lists of the Gestalt
command selectors and bit masks. The selectors are 4-char values. There are
hundreds of selectors, some of which recognize bit masks. They're all really
very useful.

As far as I know, 'system attribute' assumes that you know what you're
doing. If you send correct values in the parameters, you'll get correct
results. Otherwise, all bets are off.

Go to Google and search for "Mac Gestalt". You'll find lots of interesting
stuff.

In older versions of the Mac OS, this was known as the 'computer' command. I
wrote up the change from 'computer' to 'system attribute' in AppleScript 1.6
at <http://www.applescriptsourcebook.com/applescript/applescript160.html>.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.


References: 
 >has option in system attributes (From: trinko <email@hidden>)

  • Prev by Date: Subscribing to Ical calendars accross network
  • Next by Date: Re: Just submitted this to BugReporter as feature request - comments...
  • Previous by thread: Re: has option in system attributes
  • Next by thread: Re: has option in system attributes
  • Index(es):
    • Date
    • Thread