Jump to content
Sign in to follow this  
Ghost21

Starting the script

Recommended Posts

Ghost21

Is it possible to start the script to run at a certain point so say line 144 it will start and send the commands or wait statements or whatever ?>

Thanks

Share this post


Link to post
Share on other sites
chickenselects

well why not have that code first? Maybe set IF statements as switches and have them default off (rather skip) and switch the others on after it runs? Just an idea

Edited by chickenselects

Share this post


Link to post
Share on other sites
evilertoaster

why does it matter what line is ran first? looks like your fishing for a goto, it which case whatever you're thinking can be done using func-endfunc

Share this post


Link to post
Share on other sites
SmOke_N

This what most of us use functions for, when we need to run something specific at specific times or for specific reasons.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
herewasplato

...looks like your fishing for a goto,...

I assumed that the OP was talking about wanting to skip code that works and start the script on the part that needs work - debug.

@OP,

If debug is your goal - From within SciTE, you can select the lines that you do not wish to run and press Ctrl-Q. Selecting those lines again and pressing Ctrl-Q toggles the "remark-out" off.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
Ghost21

I assumed that the OP was talking about wanting to skip code that works and start the script on the part that needs work - debug.

@OP,

If debug is your goal - From within SciTE, you can select the lines that you do not wish to run and press Ctrl-Q. Selecting those lines again and pressing Ctrl-Q toggles the "remark-out" off.

Yay, A winner ... I figured it was a simple question .. Did I not explain it right?? ... Oh well Thanks for the help ...

Share this post


Link to post
Share on other sites
SmOke_N

@OP,

If debug is your goal - From within SciTE, you can select the lines that you do not wish to run and press Ctrl-Q. Selecting those lines again and pressing Ctrl-Q toggles the "remark-out" off.

I've found the '-' minus key on the number pad does this as well (annoying sometimes lol).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.