Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Changing screen resolution through Ruby
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Saturn, post: 4652374"] Thanks Marvin, As you said problem is same here, I am unable to make it's arguments: I tried following: require 'Win32API' @e = Win32API.new("user32","ChangeDisplaySettings", ['I','I'], 'I' ) p @e.call(800, 600) it's giving me error Or nothing if I remove p from the last line. If any body has a clean solution like initialized all other DEVMODE settings with default and changing only resolution part please let me know. Thanks for helping me. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Changing screen resolution through Ruby
Top