lordicast Posted August 22, 2007 Share Posted August 22, 2007 Is there anyway to set a certain Screen Resolution when starting a GUI? [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
martin Posted August 22, 2007 Share Posted August 22, 2007 Is there anyway to set a certain Screen Resolution when starting a GUI? Maybe this. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
lordicast Posted August 22, 2007 Author Share Posted August 22, 2007 worked excellent thanks [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
lordicast Posted August 24, 2007 Author Share Posted August 24, 2007 Is there any way to get the user's current screen resolution? [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
Monamo Posted August 24, 2007 Share Posted August 24, 2007 Is there any way to get the user's current screen resolution?@DesktopWidth and @DesktopHeight - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
lordicast Posted August 24, 2007 Author Share Posted August 24, 2007 (edited) Not what I had in mind, Im making a program that involves changing your screen resolution when started but then after it is exited it sets the screen resolution what the user previously had So i need to figure out what the user had screen resolution wise Edited August 24, 2007 by lordicast [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
Monamo Posted August 24, 2007 Share Posted August 24, 2007 (edited) Not what I had in mind, Im making a program that involves changing your screen resolution when started but then after it is exited it sets the screen resolution what the user previously had So i need to figure out what the user had screen resolution wise So why not have an initial step of: $OriginalWidth = @DesktopWidth $OriginalHeight = @DesktopHeight Or are you trying to get the original Bits per Pixel and such? Edited August 24, 2007 by Monamo - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
lordicast Posted August 24, 2007 Author Share Posted August 24, 2007 (edited) Nevermind you solved it mate thanks Edited August 24, 2007 by lordicast [Cheeky]Comment[/Cheeky] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now