-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At 12:00 PM +0000 4/22/98, Jay Bedsole wrote: } Just got SoftWindows for the Mac (no flames please, I'm just } checking it out). Anyway, It requires me to set my monitors to } 256 colors. I thought, no problem I'll just do a little AppleScript } to change my monitors setting, then launch SoftWindows... } Unfortunately, the "Monitors & Sound" control panel is apparently } not scriptable... So I'm wondering if anyone knows haow to set the Almost no control panel is scriptable. What you need is the "Jon's Commands" OSAX, the one that everyone should have: <http://www.seanet.com/%7Ejonpugh/>. That will allow you to change monitor resolution and depth with AppleScript. Not that I'd discourage you from doing this in MacPerl if you want, but there are some (few, simple, don't expect it to work from Mac to Mac, and forget cross-platform...) things that AppleScript is actually good for. } Mac monitor's to 256 colors - then back to "thousands" later - in } MacPerl? I'm assuming that I can use Mac::Processes to wait for } SoftWindows to end and reset my monitor. Surely this is a problem } that someone else has solved? I know I've got a couple of games } (that my kids play) that require the monitor to be set to various } settings - I'd probably reuse this a few times. } } Lazy? Definitely! Crazy? Perhaps...Serious? Up to the point where } it's more work to do the script than it is to just open the control } panel a few dozen times... } } TIA, } jay - ----- Paul J. Schinder schinder@pobox.com -----BEGIN PGP SIGNATURE----- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBNT8zLlZaVc52j0XhEQJPLQCg06dDYLWZA266WPFJh8OweXxEzgoAniZg +bdZlsC+cAnvNn7DFo9ZOKnk =Sbri -----END PGP SIGNATURE----- ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch