Hi,
I am looking for a way to detect the actual screen resolution. I probably need to use VBScript, as Macro Scheduler does not offer such functionality. Unfortunately my programming skills do not go that far. Could anyone help me?
To make it more complex (or perhaps more challenging), I would like to be able to use two monitors (dual screen). So I also need to be able to detect number of used monitors and their relative position.
thanks,
Tobias
screen display
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
If not going to use VB script, you will need to call other utilities to help with this.
This one may be helpful (maybe not):
http://www.12noon.com/reschange.htm It is a command based utility to help modify screen resolutions. Will probably not help to solve issue with multiple monitors.
This one may be helpful (maybe not):
http://www.12noon.com/reschange.htm It is a command based utility to help modify screen resolutions. Will probably not help to solve issue with multiple monitors.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Lumumba,
I had tried your suggestion with notepad (I don't seem to have a Program Manager running on my XP PC), with a "windowAction>1,Notepad" to maximize notepad.
Although not a very smooth sloution, it would allow me to detect used screen resolution of one monitor. I would not know which one, nor their relative position.
I had tried your suggestion with notepad (I don't seem to have a Program Manager running on my XP PC), with a "windowAction>1,Notepad" to maximize notepad.
Although not a very smooth sloution, it would allow me to detect used screen resolution of one monitor. I would not know which one, nor their relative position.
Program Manager is the Standard Window name of the Windows Desktop.
The Desktop is using the maximum scale, always.
Run that script. Click onto the desktop (within 10 sec) and wait for the result.
Wait>10
GetActiveWindow>window_title,X,Y,Width,Height
MessageModal>%window_title%%CRLF%,%X%x%Y%%CRLF%%Width%x%Height%
The more advanced option is to read the screen resolution from the registry !
I'm sure your topic has been requested already. Please check/search the forum.
The Desktop is using the maximum scale, always.
Run that script. Click onto the desktop (within 10 sec) and wait for the result.
Wait>10
GetActiveWindow>window_title,X,Y,Width,Height
MessageModal>%window_title%%CRLF%,%X%x%Y%%CRLF%%Width%x%Height%
The more advanced option is to read the screen resolution from the registry !
I'm sure your topic has been requested already. Please check/search the forum.