Wb-FreeKill Posted September 18, 2004 Posted September 18, 2004 (edited) $var = InputBox("Information", "Witch resolution are you running?", "", "") How do i change the line, so i can get different resolutions under the: Witch resolution are you running? I allready tried the funktions in the help file, but i cant get it to work? Plz write me an eksample... This is how it should be: Witch resolution are you running? 1024*768 1280*768 1280*1024 Edited September 18, 2004 by Wb-FreeKill
Developers Jos Posted September 18, 2004 Developers Posted September 18, 2004 Wb-FreeKill said: $var = InputBox("Information", "Witch resolution are you running?", "", "") How do i change the line, so i can get different resolutions under the: Witch resolution are you running? I allready tried the funktions in the help file, but i cant get it to work? Plz write me an eksample... This is how it should be: Witch resolution are you running? 1024*768 1280*768 1280*1024 <{POST_SNAPBACK}>do you mean you want a combobox with these values in it ? If so you need to have a look at the current unstable version with its GUI capabilities.. You can retrieve the window desktop resolution with @DesktopDepth,@DesktopHeight SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Wb-FreeKill Posted September 18, 2004 Author Posted September 18, 2004 No, all i want is to get the 1024*768 and so on, to be under the: "Witch resolution are you running?" In the Input box, only as text. so you can se witch opetuneties you have...
Developers Jos Posted September 18, 2004 Developers Posted September 18, 2004 (edited) Wb-FreeKill said: No, all i want is to get the 1024*768 and so on, to be under the: "Witch resolution are you running?" In the Input box, only as text. so you can se witch opetuneties you have... <{POST_SNAPBACK}>like this? $var = InputBox("Information", "Which resolution are you running?" & @lf & "1024*768" & @lf & "1280*768" & @lf & "1280*1024", "", "") Edited September 18, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
nobby Posted September 18, 2004 Posted September 18, 2004 I am not sure if this is what you want. $var = InputBox("Information", "Witch resolution are you running?" & @CR & "1024*768" & @CR & "1280*768"& @CR & "1280*1024", "", "") But if you want to display the resolution at which it is running, try this $var = @desktopWidth $var1 = @Desktopheight msgbox(0,"Resolution", $var & " * " & $var1) CheersNobby
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