I've just been trying to follow Ken's advice below (using cscreen
with OS X 10.4.x) but I'm struggling with getting the syntax right
for the shell() command.
I have placed the cscreen binary file into a folder "support" that is
at the same level as my Rev stack (i.e. into the folder
"/Users/peter/Desktop/screen sizer/support").
if I put
"/Users/peter/Desktop/screen sizer/support/cscreen"
into a variable theCmd and execute:
put shell(theCmd) into theResult
it works fine and returns the current display resolution details etc.
However, if I put
"/Users/peter/Desktop/screen sizer/support/cscreen -x 1600 -y 1200 -s 1"
into a variable theCmd and execute:
put shell(theCmd) into theResult
I get the result:
/bin/sh: line 1: /Users/peter/Desktop/screen sizer/support/cscreen -x
1600 -y 1200 -s 1: No such file or directory
I don't seem to be able to pass parameters to cscreen. Any
suggestions about how to fix my syntax please?!
Thanks
On 3/8/06 8:05 PM, "Sarah Reichelt" <[EMAIL PROTECTED]> wrote:
Is there a way so that I can change the resolution of the screen using a
script in metacard itself.?
On Mac OS X, you can use the cscreen shell command. I don't know if
there is an equivalent for Windows or Linux.
Actually this is something that I have in my Scripter's Scrapbook (not Linux
though):
Mac OS 9
----------
Using Jon's Commands to change screen resolutions in OS 9:
http://osaxen.com/files/jonscommands2.1.2.html
Mac OS X
-----------
The place to download 'cscript', a command-line utility for OS X that can
retrieve info about screens and to change their properties (including
reolution):
http://www.versiontracker.com/dyn/moreinfo/mac/19753
or to directly download 'cscript':
http://www.pyehouse.com/lynn/cscreen.dmg
Windows
----------
You can use one of three third-party command line executables ("MultiRes",
"Resolution Changer", or "VidRes"):
http://www.entechtaiwan.com/files/multires.exe
http://www.myitforum.com/inc/upload/1365Vidchng.zip
http://www.jddesign.co.uk/
(For more information, see
http://groups.google.co.uk/group/microsoft.public.windows.server.scripting/m
sg/423d3f435989d049)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution