Sign in to follow this  
Followers 0
SuperNatural

Help with script

32 posts in this topic

Hello ;)

I need a little help with a script...

Im making now an auto install script.. and I stuck in this part:

http://ufu.co.il/files/mn17xhss21dcfp0vn05b.png

What should I write to auto choose "I accpet.." and then it click auto next?

I tryed:

WinWaitActive ( "Setup - Cheat Engine 5.6.1", "I &accept the.." but wont work :S

Thanks :)

Share this post


Link to post
Share on other sites



Try "AU3Recorder". It's included inside the full SciTE installation.


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Try controlcommand function, see helpfile Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

AlmarM - its not included ;)

Can I download it ?

wakillon - can you show me the correct syntax of the "ControlCommand" with those details?

http://ufu.co.il/files/mn17xhss21dcfp0vn05b.png

I tryed.. also I checked the helf file and I didn't find..

Thanks a lot! I really need this :)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Try like this

WinWait ( "Setup - Cheat Engine 5.6.1", "" )
WinActivate  ( "Setup - Cheat Engine 5.6.1", "" )
ControlCommand ( "Setup - Cheat Engine 5.6.1", "", "TNewRadioButton1", "Check", "" )

But verify Title and ControlID with your Auto Window Info ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Edit: it works! ;) thank so muchhh!!

But I have more 2 questions.. I'll be happy if you can help me..

1. How can I uncheck the check button at the end of an installation? for exmaple: "Run BSplayer when click finish." how can I uncheck this?

2. Can I change the spee of the auto clicks?

Edited by SuperNatural

Share this post


Link to post
Share on other sites

where should I add control Id? between the ""?

I allready put it in te script : "TNewRadioButton1" by reading your screenshot

but to be sure, verify it is the good ControlId by Auto Window Info...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Edit: it works! ;) thank so muchhh!!

But I have more 2 questions.. I'll be happy if you can help me..

1. How can I uncheck the check button at the end of an installation? for exmaple: "Run BSplayer when click finish." how can I uncheck this?

2. Can I change the spee of the auto clicks?

1.It's the same style of command, but you replace the title, controlid and "check" by "UnCheck" ! Posted Image

2. See for Opt("MouseClickDelay", 10) ;10 milliseconds in help file.

..


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

Actually im not using the mouse... I use this:

Run ( "Cheat Engine 5.6.exe" ))

WinWaitActive ( "Setup - Cheat Engine 5.6", "&Next >" )

Send("{ENTER}")

But how can I see the mouse click instead of ENTER?

Edited by SuperNatural

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

Sent Twice..

Edited by SuperNatural

Share this post


Link to post
Share on other sites

Actually im not using the mouse... I use this:

Run ( "Cheat Engine 5.6.exe" ))

WinWaitActive ( "Setup - Cheat Engine 5.6", "&Next >" )

Send("{ENTER}")

But how can I see the mouse click instead of ENTER?

Your answer is in your question : Mouse click = ControlClick in helpfile...


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#12 ·  Posted (edited)

In mouse click I need: title, x, y, clicks, speed.. this is confusing :S

can you give me a syntax for example?

http://ufu.co.il/files/huhhq9six4d296e1zrn4.png

By the way, why it won't work?

ControlCommand ( "Setup - Cheat Engine 5.6", "Launch Cheat Engine 5.6", "TNewCheckListBox1", "UnCheck", "" )

Edited by SuperNatural

Share this post


Link to post
Share on other sites

In mouse click I need: title, x, y, clicks, speed.. this is confusing :S

can you give me a syntax for example?

http://ufu.co.il/files/huhhq9six4d296e1zrn4.png

By the way, why it won't work?

ControlCommand ( "Setup - Cheat Engine 5.6", "Launch Cheat Engine 5.6", "TNewCheckListBox1", "UnCheck", "" )

I have writed ControlClick not MouseClick !

And if it won't work verify the ControlID, perhaps it's not the same, use Auto window Info for find it !


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

Doesn't matter.. the issue is that is confused.. more then the mouseclick.. look:

http://ufu.co.il/files/q4r9tonv81jc58bmm5sn.png

Please give me an example for the: x, y, clicks and speed by those deatils:

http://ufu.co.il/files/mn17xhss21dcfp0vn05b.png

And here's the controlID

http://ufu.co.il/files/h5ofhor7ut132nhjkclw.png

Now can you give me the full syntax? to uncheck this?

Thank you so so so much!!

Edited by SuperNatural

Share this post


Link to post
Share on other sites

AU3Recorder is included inside the full installation of SciTE. ;)


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Its ok.. now I have 2 other questions:

Doesn't matter.. the issue is that is confused.. more then the mouseclick.. look:

http://ufu.co.il/files/q4r9tonv81jc58bmm5sn.png

Please give me an example for the: x, y, clicks and speed by those deatils:

http://ufu.co.il/files/mn17xhss21dcfp0vn05b.png

And here's the controlID

http://ufu.co.il/files/h5ofhor7ut132nhjkclw.png

Now can you give me the full syntax? to uncheck this?

Thank you so so so much!!

Share this post


Link to post
Share on other sites

Try

WinWait ( "Setup - Cheat Engine 5.6.1", "" )
WinActivate  ( "Setup - Cheat Engine 5.6.1", "" )
ControlCommand ( "Setup - Cheat Engine 5.6.1", "", "TNewCheckListBox1", "UnCheck", "" )

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

Ok thx I'll try ,

But you can help me please how to do mouse clicks? ;)

http://ufu.co.il/files/q4r9tonv81jc58bmm5sn.png

Please give me an example for the: x, y, clicks and speed by those deatils or any example:

http://ufu.co.il/files/mn17xhss21dcfp0vn05b.png

Edited by SuperNatural

Share this post


Link to post
Share on other sites

Try

ControlClick ( "Setup - Cheat Engine 5.6.1", "", "TNewCheckListBox1" )

but ControlClick is more for button like your next button


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

That's what I mean.

Can you give an example for ControlClick for button lik next?

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  
Followers 0