Jump to content

Msgbox Location


 Share

Recommended Posts

Try this

MsgBox( 0, "Test", "Test")
WinMove("Test", 0, 0)

Just try it with WinMove it should work nice as well

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

Hmm it worked with a GUI so i thought it would work here too

--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

Link to comment
Share on other sites

  • Moderators

Hmm it worked with a GUI so i thought it would work here too

Just so you know, the MsgBox() command litterally pauses your script until an action is taken within the MsgBox() itself.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • 11 years later...

I use InputBox instead of MsgBox ,it is the easiest for me! Just ignore the input field and the Return Value.

InputBox

Displays an input box to ask the user to enter a string.

InputBox ( "title", "prompt" [, "default" [, "password char" [, width = -1 [, height = -1 [, left = Default [, top = Default [, timeout = 0 [, hwnd]]]]]]]] )

Parameters

title The title of the input box.
prompt A message to the user indicating what kind of input is expected.
default [optional] The value that the input box starts with.
password char [optional] The character to replace all typed characters with in the display. If you want the actual typed character to appear, define with an empty string ("") (default) or a space for the first character. If you provide a multi-character string, only the first character is used for character masking. There are special meanings for the second and subsequent characters. See Remarks.
width [optional] The width of the window.
height [optional] The height of the window.
left [optional] The left side of the input box. By default, the box is centered.
top [optional] The top of the input box. By default, the box is centered.
timeout [optional] How many seconds to wait before automatically canceling the InputBox().
hwnd [optional] The window handle to use as the parent for this dialog.
Link to comment
Share on other sites

  • Developers

@MadDogZ,

Welcome, 
Not sure what made you decide to make your first post in the 11 years old thread to answer a question. 
Doubt people are still waiting for it. ;)

Jos

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

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