It's not always easy to obtain the screen size in your custom script or batch files. But with this ScreenResolution Java class, you can now obtain the screen resolution of you computer that is running any operating system. You can use it on the command-line to determine the screen resolution at any time. Or use it in your custom shell scripts or batch files to automate tasks.
ScreenResolution is written in Java, so it will run on any Java-supported operating system. ScreenResolution takes advantage of the CI Class Package 5.4 or newer. You will have to download the package (from this web site) and install it if you don't have it already.
ScreenResolution is distributed as Freeware. Please see the "Freeware License Agreement" elsewhere on this site.
$ java ScreenResolution
Example of Using ScreenResolution in Your Bash Script
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
23 Users Online
Copyright © 1996 - 2018. All Rights Reserved.