Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Mark Stuart
Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

Regards,
Mark Stuart
___
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


Re: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Richmond

On 06/29/2010 06:36 PM, Mark Stuart wrote:

Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

   


I have just spent a quick 10 minures fossicking around in the
RunRev Dictionary which seems, unfortunately, to suggest
that one can only obtain the screen resolutions that monitors
are currently set to by the OS.

This is actually quite an old chestnut as I explored this a few
years back when I wanted to reset an end-user's screen rect;
but found that I couldn't.
___
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


Re: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Bob Sneidar
For Macs it appears someone put together a free terminal app that does this. I 
have not checked it out so proceed with caution. 

http://www.mowlem-enterprises.co.uk/ScreenUtil_v1.0.zip

Bob


On Jun 29, 2010, at 9:42 AM, Richmond wrote:

 On 06/29/2010 06:36 PM, Mark Stuart wrote:
 Hi all,
 
 Platform: WinXP
 Rev: revStudio 4.0
 
 I'm wanting to get all possible screen resolutions from a Windows
 computer.
 I know the screenRects gets the current resolution from all attached
 screens, but I want to get all possible screen resolution range settings
 from only 1 of the screens.
 
 Eg: on my computer screen, the range goes from 800x600 all the way to
 1280x1024.
 I want to get each of the settings in this range.
 
 Anyone know if revStudio has this function or do I have to get it with a
 VBScript, or something?
 
   
 
 I have just spent a quick 10 minures fossicking around in the
 RunRev Dictionary which seems, unfortunately, to suggest
 that one can only obtain the screen resolutions that monitors
 are currently set to by the OS.
 
 This is actually quite an old chestnut as I explored this a few
 years back when I wanted to reset an end-user's screen rect;
 but found that I couldn't.
 ___
 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

___
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


Re: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread G. Wolfgang Gaich

 For windows systems:

http://www.mirkes.de/files/batch_tools.zip

In the archiv there is a display.exe:

 show or change display settings (resolution, frequency, bit depth)
usage:
display hwidth vheight [ffreq.] [bbit depth]: change display 
settings

(e.g. h1024 v768 f60 b16)
display /LIST: list all supported screen resolutions
display /CUR: show current display settings
display /?: shows this usage screen

Regards
Wolfgang



Am 29.06.2010 17:36, schrieb Mark Stuart:

Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

Regards,
Mark Stuart
___
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


___
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


Re: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Ken Ray
Mark,

You can do this with VBScript - here's a script that gets all possible video
controller resolutions:

' List All Possible Video Controller Resolutions


On Error Resume Next

strComputer = .
Set objWMIService = GetObject(winmgmts: _
 {impersonationLevel=impersonate}!\\  strComputer  \root\cimv2)

Set colItems = objWMIService.ExecQuery _
(Select * from CIM_VideoControllerResolution)

For Each objItem in colItems
Wscript.Echo Horizontal Resolution:   objItem.HorizontalResolution
Wscript.Echo Number Of Colors:   objItem.NumberOfColors
Wscript.Echo Refresh Rate:   objItem.RefreshRate
Wscript.Echo Scan Mode:   objItem.ScanMode
Wscript.Echo Setting ID:   objItem.SettingID
Wscript.Echo Vertical Resolution:   objItem.VerticalResolution
Wscript.Echo
Next


Have fun!


Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/

On 6/29/10 10:36 AM, Mark Stuart mstu...@adaptcrm.com wrote:

 Hi all,
 
 Platform: WinXP
 Rev: revStudio 4.0
 
 I'm wanting to get all possible screen resolutions from a Windows
 computer.
 I know the screenRects gets the current resolution from all attached
 screens, but I want to get all possible screen resolution range settings
 from only 1 of the screens.
 
 Eg: on my computer screen, the range goes from 800x600 all the way to
 1280x1024.
 I want to get each of the settings in this range.
 
 Anyone know if revStudio has this function or do I have to get it with a
 VBScript, or something?
 
 Regards,
 Mark Stuart
 ___
 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


___
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


Re: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Richmond

On 06/29/2010 11:12 PM, Ken Ray wrote:

Mark,

You can do this with VBScript - here's a script that gets all possible video
controller resolutions:

' List All Possible Video Controller Resolutions


On Error Resume Next

strComputer = .
Set objWMIService = GetObject(winmgmts: _
   {impersonationLevel=impersonate}!\\  strComputer  \root\cimv2)

Set colItems = objWMIService.ExecQuery _
 (Select * from CIM_VideoControllerResolution)

For Each objItem in colItems
 Wscript.Echo Horizontal Resolution:   objItem.HorizontalResolution
 Wscript.Echo Number Of Colors:   objItem.NumberOfColors
 Wscript.Echo Refresh Rate:   objItem.RefreshRate
 Wscript.Echo Scan Mode:   objItem.ScanMode
 Wscript.Echo Setting ID:   objItem.SettingID
 Wscript.Echo Vertical Resolution:   objItem.VerticalResolution
 Wscript.Echo
Next


Have fun!


   


I'd like to have fun on a cross-platform basis; and I'm sure
quite a few others would like to as well.

The most 'fun' would be had were this capability [to detect all possible
screen resolutions an end-user's monitor supports] and the ability to
change end--users' screen resolutions native to RunRev.

As my children seem to play endless games on Mac and Linux that do
reset the screen resolution (and put it back to its original one once the
games quits) I cannot belive it is unduly difficult.

Last time I raised this issue all sorts of people got hot under the collar
and said that it wasn't cricket to muck around with end-users' screen
resolutions; funny really when games do it all the time! Mind you, I have
yet to see a game of virtual cricket on a computer . . .  :)
___
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


Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Mark Stuart
on Tue Jun 29 15:02:41 CDT 2010, G. Wolfgang Gaich wrote:

For windows systems:
http://www.mirkes.de/files/batch_tools.zip
In the archive there is a display.exe:
show or change display settings (resolution, frequency, bit depth)
usage:
display hwidth vheight [ffreq.] [bbit depth]: change display 
settings
 (e.g. h1024 v768 f60 b16)
display /LIST: list all supported screen resolutions
display /CUR: show current display settings
display /?: shows this usage screen
Regards
Wolfgang


Wolfgang, thanx for the suggestion on the display.exe /LIST.
It works great at the DOS box and returns all the options and more.
I'll script a Shell to get all values and then Filter the list to return
unique values as:
800x600
1024x768
etc.

BTW, is this your web site referenced above?


Regards,
Mark Stuart
___
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