Jump to content
Sign in to follow this  
program builder

Need help relocating inputbox

Recommended Posts

program builder

Could someone please help. I'm trying to make input box come up in a different area of monitor.

I tryed,

$text = InputBox("Lyric Writer 1.0", "take a shot", 122, 645);

but it didn't work.

Share this post


Link to post
Share on other sites
GaryFrost

Could someone please help. I'm trying to make input box come up in a different area of monitor.

I tryed,

$text = InputBox("Lyric Writer 1.0", "take a shot", 122, 645);

but it didn't work.

just add the left and top parameters to it

i.e.

$text = InputBox("Lyric Writer 1.0", "take a shot","","", 122, 122, 10, 10)

Edit: forgot to put in the parameters not being used

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
program builder

just add the left and top parameters to it

i.e.

$text = InputBox("Lyric Writer 1.0", "take a shot","","", 122, 122, 10, 10)

Edit: forgot to put in the parameters not being used

That didn't work. It just made the inputbox smaller.

Share this post


Link to post
Share on other sites
GaryFrost

That didn't work. It just made the inputbox smaller.

just change the last 2 numbers to where you want it on the screen

$text = InputBox("Lyric Writer 1.0", "take a shot","","", -1,-1,122, 645)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
herewasplato

That didn't work. It just made the inputbox smaller.

works for me

copy/paste gafrost's edited version

$text = InputBox("Lyric Writer 1.0", "take a shot","","", 122, 122, 10, 10)
Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
program builder

works for me

copy/paste gafrost's edited version

$text = InputBox("Lyric Writer 1.0", "take a shot","","", 122, 122, 10, 10)

It worked. Thanks for helping me out.

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  

×