Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!brunix!cs.brown.edu!man From: man@cs.brown.edu (Mark H. Nodine) Newsgroups: comp.sys.mac.hypercard Subject: Re: Need XCMD to dim screen (like a screen saver) Message-ID: <74892@brunix.UUCP> Date: 8 May 91 13:52:13 GMT References: <3848@ux.acs.umn.edu> <1991May3.172724.13806@isc.rit.edu> Sender: news@brunix.UUCP Distribution: na Organization: Brown Computer Science Dept. Lines: 29 In article <1991May3.172724.13806@isc.rit.edu>, cad0410@ritvax.isc.rit.edu (DORN, CA) writes: |> In article <3848@ux.acs.umn.edu>, hughes@ux.acs.umn.edu (Steve Hughes) writes... |> > |> >"All I want out of life is a simple way to turn the screen off |> >instantly, then bring it back on instantly and without flicker." |> > |> >IUm using HyperCard 2.0 and the picture XCMD to present 256 level |> >grey scale photographs as visual stimuli in a series of right- |> >hemisphere testing neuropsychology experiments, and brother, I got |> >trouble. |> |> Well if I understand your problem correctly how about creating a |> button large enough to cover the whole picture area in which you |> want to display in. Hide the button and set the hilite of the |> button to true (this will make the screen look black when it |> is un-hidden). Use this button instead of your screenOff/screenOn |> idea like so. No dice on this one. The picture XCMD creates a window in the palette layer (it can be at the back of the palette layer if you use the right window styles), but your button goes in on the document layer. So it will neatly show up _behind_ the pictures you're trying to hide with it. If you're sure you're going to be running on a Classic or some other machine with software brightness control, then it should be easy to write an XCMD to set (and fetch for resetting) the brightness level. I don't know how to do it, though. --Mark