Jump to content

Recommended Posts

Posted

Not sure ? looks diff to me .

#cs - ### Generated by AutoBuilder 0.4 -- do not modify ###
759 46
0   11  0   0   0   0   0   0   0   0   0   0   0   0   0   0   
button  $button_1   snapit  10  10  50  20  0   0   
button  $button_2   Button 2    70  10  60  20  0   0   
button  $button_3   Button 3    140 10  60  20  0   0   
button  $button_4   Button 4    210 10  60  20  0   0   
button  $button_5   Button 5    280 10  60  20  0   0   
button  $button_6   Button 6    350 10  60  20  0   0   
button  $button_7   Button 7    420 10  50  20  0   0   
button  $button_8   Button 8    480 10  50  20  0   0   
button  $button_9   Button 9    540 10  50  20  0   0   
button  $button_10  Button 10   600 10  50  20  0   0   
button  $button_11  Button 11   670 10  50  20  0   0   
#ce - ### End of Dump ###

;Script generated by AutoBuilder 0.4


Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 757,41,(@DesktopHeight-757)/2, (@DesktopHeight-41)/2 , 0x04CF0000)
Posted

---------------------------

AutoIt Error

---------------------------

Line 22 (File "E:\Programss\mini manager.au3"):

GuiCreate("MyGUI", 757,41,0,0,(@DesktopHeight-757)/2, (@DesktopHeight-41)/2 , 0x04CF0000)

^ ERROR

Error: Incorrect number of parameters in function call.

---------------------------

OK

---------------------------

Posted

You replace the position you want with the one the autobuilder generated for you... in your code you added them in, and GuiCreate doesn't take that many paramaters.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

  • Developers
Posted

---------------------------

AutoIt Error

---------------------------

Line 22  (File "E:\Programss\mini manager.au3"):

GuiCreate("MyGUI", 757,41,0,0,(@DesktopHeight-757)/2, (@DesktopHeight-41)/2 , 0x04CF0000)

^ ERROR

Error: Incorrect number of parameters in function call.

---------------------------

OK 

---------------------------

Bob,

this bit " (@DesktopHeight-757)/2, (@DesktopHeight-41)/2" makes a calculation to come up with the correct X and Y to center the window. REPLACE it with 0,0 to move the windo to left top.

GuiCreate("MyGUI", 757,41,0,0, 0x04CF0000)

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

Posted (edited)

I was thinking that might be it but waited to see what someone said here first .

This what I was making.

Posted Image

Edited by bobheart

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
  • Recently Browsing   0 members

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