truecolor Posted May 24, 2011 Share Posted May 24, 2011 (edited) 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 May 24, 2011 by truecolor Link to comment Share on other sites More sharing options...
wakillon Posted May 24, 2011 Share Posted May 24, 2011 You can use Opt ( "TrayIconDebug", 1 ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
truecolor Posted May 24, 2011 Author Share Posted May 24, 2011 You can use Opt ( "TrayIconDebug", 1 )Thanks, but I need a way to stop/pause the script-run before the next instruction begins.btw. i can´t find the the "tray icon tip" Link to comment Share on other sites More sharing options...
kaotkbliss Posted May 24, 2011 Share Posted May 24, 2011 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 gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted May 24, 2011 Share Posted May 24, 2011 Graphical AutoIt DebuggerFeatures:Single step debug through your script and #include files.And no, don't ask me for help with it. It never worked for me. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now