Sign in to follow this  
Followers 0
lordicast

Desktop Settings

8 posts in this topic

Is there anyway to set a certain Screen Resolution when starting a GUI?


[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

worked excellent thanks


[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

Is there any way to get the user's current screen resolution?


[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

#6 ·  Posted (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 by lordicast

[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 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]

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Nevermind you solved it mate thanks

Edited by lordicast

[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0