Jump to content

search a kind of single-step-modus


Recommended Posts

Hello,

I´m new here and a AutiIt-newbie ... but very inspired.

(to begin with a sorry ´cause my following germish)

I wrote my first script with a lot of mouse- and sleep-commands

e.g.

MouseClick("left", 35, 35, 1)

Sleep(1000)

MouseClick("left", 39, 307, 1)

MouseClick("left", 215, 115, 1)

and so on.

The combination of coordinates and sleep-times didn´t harmonize in that script. So I had to watch, how my first script-run uninterruptedly damaged one by one of my opened word-documents (damn).

It is possible to run the script as a single-step-mode, so that (with minimized damage) I can find the bad code in a long list of commands?

Best regards ... tc

Edited by truecolor
Link to comment
Share on other sites

A simple way could be using MsgBox between each step. Not only will it pause the script until you click "Ok" but you can have it display valuable information (such as the current value of a variable)

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Graphical AutoIt Debugger

Features:

Single step debug through your script and #include files.

And no, don't ask me for help with it. It never worked for me.

Link to comment
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
 Share

  • Recently Browsing   0 members

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