Sign in to follow this  
Followers 0
83bj60

Step by step confirmation for script execution?

5 posts in this topic

Hello Folks,

It's my first time posting here so plese take that into account when answering, I'm a newbie!

I've been experimenting with AutoIt ofr a week or so now, as I was looking for a way to automate a batch of steps that take 2 hours of my time every day. Until I found AutoIt, I had found nothing remotely as useful as AutoIt to do this.

So, CONGRATULATIONS Jon for a GREAT utility which IMHO holds a LOT of promise!

OK the problem I have now is that I have not found a way to test execution of my scripts with step-by-step confirmation/execution. Is there such a feature in AutoIt? I have serched the help file with no success. Maybe the syntax is completely different. I do have some BASIC programming skills, where you have commands such as TRON/TROFF and the like.

I have another question that I found no answer to in the help file. Is there a way to speed execution of the script? compiling seems to have no effect.

TIA for your kind and patient respsonse(s) :ph34r:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hello Folks,

It's my first time posting here so plese take that into account when answering, I'm a newbie!

I've been experimenting with AutoIt ofr a week or so now, as I was looking for a way to automate a batch of steps that take 2 hours of my time every day. Until I found AutoIt, I had found nothing remotely as useful as AutoIt to do this.

So, CONGRATULATIONS Jon for a GREAT utility which IMHO holds a LOT of promise!

OK the problem I have now is that I have not found a way to test execution of my scripts with step-by-step confirmation/execution. Is there such a feature in AutoIt? I have serched the help file with no success. Maybe the syntax is completely different. I do have some BASIC programming skills, where you have commands such as TRON/TROFF and the like.

I have another question that I found no answer to in the help file. Is there a way to speed execution of the script? compiling seems to have no effect.

TIA for your kind and patient respsonse(s) :ph34r:

<{POST_SNAPBACK}>

The Debugging feature is on the TODO list...

The only thing available in Autoit is the Opt("TrayIconDebug", 1)...

Also Pekster made autoitscript which does someting like you ask for: #23221

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

The Debugging feature is on the TODO list...

The only thing available in Autoit is the Opt("TrayIconDebug", 1)...

Also Pekster made autoitscript which does someting like you ask for: #23221

<{POST_SNAPBACK}>

Thank you Jon, I was JUST looking at it!!! :ph34r:

Right now my script is approximately half done and I already have 65 lines not including comments, and there are a lots of controls to access, a lot of which must employ mouse clicks (have no controls using WindowsSpy), so I'm a bit nervous executing something I may regret... I haven't programmed like that since the early 80s when I was using BASIC on my first PC, the TRS-80, so I'm a bit rusty!!!

Right now as a work around I think I'll be looking into using MsgBox(0,"","") or something more sophisticated after each step to force a stop (and maybe a jump or a break?)...

Thanks again for your prompt reply! :(

Share this post


Link to post
Share on other sites

Hello 83bj60,

if you want to check your code for the right syntax, try Tylo's AU3check

He's an oldie :lol:

Open an the console, like cmd.exe or command.exe and enter

AU3check your.au3"

Works great :ph34r:

The other way:

Add this per line:

MsgBox(16, "Test", $var)

$var is your variable or your text.

I rememeber the old BASIC times :(

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Thank you Jon, I was JUST looking at it!!! :lol:

<{POST_SNAPBACK}>

Jon = Jon

JdeB = Jos :(

Hello 83bj60,

if you want to check your code for the right syntax, try Tylo's AU3check

He's an oldie  :D

Open an the console, like cmd.exe or command.exe and enter

AU3check your.au3"

Works great  :ph34r:

The other way:

Add this per line:

MsgBox(16, "Test", $var)

$var is your variable or your text.

I rememeber the old BASIC times  :lol:

<{POST_SNAPBACK}>

Use The Scite installer then:

Ctrl+F5 will run the AU3Check on the script being edited

Ctrl+Shift+F5 will run the AU3Check and AutoIt3 on the script being edited

Ctrl+Shift+D will add an MSGBOX for you automaticaly..

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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