Re: Changing screen resolution
Re: Changing screen resolution
- Subject: Re: Changing screen resolution
- From: Paul Thompson <email@hidden>
- Date: Wed, 7 Jul 2004 18:46:21 -0400
Hi,
The machine I'm currently working on is a 17" flat panel iMac, running
at 1.25 GHz. It is definitely possible that I have the screen
resolution wrong. Sorry 'bout that. 1024 x 768 definitely sounds
better.
Paul
On Wednesday, July 7, 2004, at 06:29 PM, Roger Howard wrote:
On Jul 7, 2004, at 1:21 PM, Paul Thompson wrote:
Hi List,
I'm trying to write a script that will change the screen resolution
and colours from what ever it is set to currently to 1024x640 and the
colours to thousands. I am trying to run a program called
Gravitation Ltd. 5.0 under classic in Panther. Admittedly, I am
struggling with this due to my lack of ability with AppleScript.
This is what I have so far:
tell application "System Preferences"
tell pane "displays"
set resolutions to "1024 x 640"
end tell
tell pane "displays"
set colors to "thousands"
end tell
end tell
open application "Gravitation Ltd. 5.0"
If I try to run it, it gives me an error of "System Preferences got
an error: NSCannotCreateScriptCommandError" If I remove the part of
the script where I try to change the colors to thousands, that error
goes away, but it still doesn't execute the script successfully. My
overall goal with this is to save it as an application so that the
grade 1 to 3's will be able to launch this without having to do
anything else with any preferences. If anyone out there might be
able to suggest where I am going wrong, it would be greatly
appreciated.
What display do you have that has a native resolution of 1024x640?
Perhaps you're trying to switch to an unsupported rez... you sure you
didn't mean 1024x768?
-R
_______________________________________________
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.