Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to determine screen resolution

Status
Not open for further replies.

uucutech

MIS
Feb 5, 2003
30
US
Hello,

Does anyone know if it's possible to have a vbscript that will check for and identify the screen resolution of a machine and copy a file, say a JPEG image, based on said screen resolution; to a location on the hard-drive?

Thanks in advance for your comments!

Dustin
 
Yes it is possible. You would need to read a regigtry key (look at the WshShell object and the RegRead method). hen you could copy whatever file you wanted wherever you needed to (FileSystem Object CopyFile method). Many examples of each can be found by searching in this forum.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top