Jump to content

How to change line


 Share

Recommended Posts

$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 by Wb-FreeKill
Link to comment
Share on other sites

  • Developers

$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.
  :)

Link to comment
Share on other sites

  • Developers

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 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.
  :)

Link to comment
Share on other sites

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...