brizzonator Posted July 29, 2008 Posted July 29, 2008 Hi all, is there a way to control the desktop coordinates that an input box opens at? The reason I need this is I have a app that I am working on, and it repeatedly closes the input box and reopens it, when it reopens however it jumps back to the upper left corner of the desktop, and I want it to either open centered, or (preferably) open where it was closed at. Might be a autoit n00b question, but that's what I am, so cogito ergo sum, heheh. Thanks, Brizz
Minikori Posted July 29, 2008 Posted July 29, 2008 Hi all,is there a way to control the desktop coordinates that an input box opens at?The reason I need this is I have a app that I am working on, and it repeatedly closes the input box and reopens it, when it reopens however it jumps back to the upper left corner of the desktop, and I want it to either open centered, or (preferably) open where it was closed at.Might be a autoit n00b question, but that's what I am, so cogito ergo sum, heheh. Thanks,BrizzIt might help if you post the code... For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com
AdmiralAlkex Posted July 29, 2008 Posted July 29, 2008 Hi all, is there a way to control the desktop coordinates that an input box opens at? The reason I need this is I have a app that I am working on, and it repeatedly closes the input box and reopens it, when it reopens however it jumps back to the upper left corner of the desktop, and I want it to either open centered, or (preferably) open where it was closed at. Might be a autoit n00b question, but that's what I am, so cogito ergo sum, heheh. Thanks, BrizzWhat do you think the "left" and "top" parameters does? InputBox ( "title", "Prompt" [, "Default" [, "password char" [, width, height [, left, top [, timeOut [, hwnd]]]]]] ) You really should look in the helpfile before asking such easy questions on the forum. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
brizzonator Posted August 11, 2008 Author Posted August 11, 2008 What do you think the "left" and "top" parameters does? InputBox ( "title", "Prompt" [, "Default" [, "password char" [, width, height [, left, top [, timeOut [, hwnd]]]]]] ) You really should look in the helpfile before asking such easy questions on the forum. Sorry, you are right. I actually did look at the help file, but thought that the positional fields were for the input field within the window, not the window itself. I smack my forehead with shovel, thanks for the help.
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