How to stop and continue a script

Scripts and programs to automate Astroart
Post Reply
VAastro
Posts: 19
Joined: 07 Jan 2019, 18:32

How to stop and continue a script

Post by VAastro » 17 Jan 2019, 15:54

I want to write a script to do the following:
1. take an image,
2. stop the script
3. manually analyze the image using the AA toolbar (sizing,draw a box, statistics, etc.)
4. resume with the script

Can I stop and resume a script?

Thanks

fabdev
Posts: 461
Joined: 03 Dec 2018, 21:43

Re: How to stop and continue a script

Post by fabdev » 17 Jan 2019, 17:08

Yes, just put a long pause, for example:

Pause(9999)

where you want to stop. Then click the button "Run" to resume. Try for example:

Code: Select all

For i = 1 to 8
  Print i, i*i
  Pause(9999)
Next i

VAastro
Posts: 19
Joined: 07 Jan 2019, 18:32

Re: How to stop and continue a script

Post by VAastro » 17 Jan 2019, 17:42

Thanks Fabio

Post Reply