Background

12/19/2009 07:02 SaM.ThE.MaN#1
Yo,
Im using Autoit to make a fog lvler but i want to know how to make it background,if any1 can help me ill be really happy,
Sammy
12/19/2009 09:33 Xereon#2
Quote:
Originally Posted by SaM.ThE.MaN View Post
Yo,
Im using Autoit to make a fog lvler but i want to know how to make it background,if any1 can help me ill be really happy,
Sammy
Code:
GUICtrlCreatePic("bg.jpg",-100,-200,0,0)
GuiCtrlSetState(-1,$GUI_DISABLE)
12/26/2009 10:52 SaM.ThE.MaN#3
Yo,
What do i do with that??,
Sammy
12/26/2009 11:16 | Moep |#4
Maybe "ControlClick()" and "ControlSend()" are your firneds for this
12/27/2009 14:22 SaM.ThE.MaN#5
Yo,
where am i supposed to put those in :
while 1
MouseClick("Left", 571, 392)
MouseClick("Right", 571,392)
Sleep(5000)
MouseClick("Left", 468, 352)
MouseClick("Right", 468,352)
Sleep(5000)
wend
12/27/2009 14:47 | Moep |#6
needed Parameters of ControlClick are:

"title", "text", controlID , button , clicks , x, y

title u get with the window info tool, thats in your autoit directory
text u dont need, so u can put an empty string i.e "" are an empty string
control id u dont need too, so here an empty string again
button, clicks,x,y think u should known it from the normal mouseclick function
12/27/2009 18:32 SaM.ThE.MaN#7
Yo,
here it is but it does not right click :

While 1
ControlClick( "[Conquer] Raiding Clans #2", (""),(""),("Left"),(557),(394))
ControlClick( "[Conquer] Raiding Clans #2",(""),(""),("Right"),(557),(394))
Sleep(1000)
ControlClick(" [Conquer] Raiding Clans #2",(""),(""),("Left"),(462),(352))
ControlClick(" [Conquer] Raiding Clans #2",(""),(""),("Right"),(462),(352))
Sleep(1000)
wend

it does not right click and it is correct ,
Sammy
12/27/2009 18:40 | Moep |#8
try it without clamps and number of clicks are missed too

ControlClick( "[Conquer] Raiding Clans #2", "","","Left",1,557,394)
12/27/2009 19:07 SaM.ThE.MaN#9
Yo,


while 1
ControlClick( "[Conquer] Raiding Clans #2", "","","Left",1,557,394)
ControlClick( "[Conquer] Raiding Clans #2", "","","Right",1,557,394)
Sleep(5000)
ControlClick( "[Conquer] Raiding Clans #2", "","","Left",1,462,352)
ControlClick( "[Conquer] Raiding Clans #2", "","","Right",1,462,352)
wend


Still not working,can u try it?,
Sammy