• 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: Simple 'screensaver' launcher
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple 'screensaver' launcher


  • Subject: Re: Simple 'screensaver' launcher
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 20 Dec 2000 10:09:33 -0800

On 12/20/00 9:19 AM, "Carl West" <email@hidden> wrote:

> Phi Sanders wrote:
>>
>> The blackwatch screen saver includes some source code,
>> apparently for a minimal screen saver...
>
> It's C code for dealing with "two Gestalt selectors, 'SAVR' (screen
> saver attributes) and 'SAVC' (screen saver control)."
>
> I've heard of 'Gestalt' and was guessing that's what I'd have to deal
> with to make an idle-for-x-minutes application launcher. Does AS have
> access to Gestalt?


Akua Sweets; if you can figure this out, maybe it will help:

system value : Get/Set a low memory global (crash MacOS X). Enums can be
added as needed with XYYY where YYY is the low memory hex value and X is the
format to return.
system value [ lm system version/lm button up/lm key map/lm mouse/lm
icon use QD/lm current font/lm current font size/lm current font face/lm
file select volume/lm file select directory/lm top of memory/lm screen V
res/lm screen H res/lm system event mask/lm random seed/lm ticks/lm time/lm
boot drive/lm last key/lm keyboard type/lm sound volume/lm sound level/lm
ROM85/lm port B use/lm double click time/lm caret time/lm screen dump
enabled/lm scrap size/lm scrap count/lm scrap name/lm app font/lm font scale
disable/lm dialog font/lm hardware config/lm system font/lm system font
size/lm menu bar height/lm fractional font enable/lm debugger flags/lm
relative CPU speed/lm hilite color/lm current app/lm system name/lm finder
name] -- The global you wish to access.
[at address string] -- The hex address of the location you wish to
access.
[from gestalt string] -- The four-character Gestalt code to inquire
[bit small integer] -- The bit to test (and return a boolean).
[set with anything] -- The value you wish to replace it with.
[as type class] -- The type of return (and length of data to
set/get) to use. (When using 3at address2, Akua Sweets won9t know how to
format the data - so this is necessary and defaults to short integer.)
[dereferencing boolean] -- The contents are the address of the real
thing you want - sanity checking is performed and will return a 3parameter
error2 if the value is crazy.
Result : anything -- The value from the low memory global.

--
Paul Berkowitz


  • Follow-Ups:
    • Akua Sweets (was Re: Simple 'screensaver' launcher)
      • From: Carl West <email@hidden>
    • Re: Simple 'screensaver' launcher
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Simple 'screensaver' launcher (From: Carl West <email@hidden>)

  • Prev by Date: Printing from IE
  • Next by Date: File visible/invisible
  • Previous by thread: Re: Simple 'screensaver' launcher
  • Next by thread: Re: Simple 'screensaver' launcher
  • Index(es):
    • Date
    • Thread