Scripting step menu missing

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
blewis999
Posts: 25
Joined: 24 Nov 2009 07:50

Scripting step menu missing

Post by blewis999 »

Hi

I was going through the scripting example and wanted to use the step mode of scripting. But I don't get the example "single step" menu appearing. I added the button to the toolbar, but that just toggles the menu iterm/Scripting/Step Mode

I am unable to find any other settings other than Enable Scripting.

Is there another setting I am missing?

Thanks

Robert

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Scripting step menu missing

Post by Stefan »

To get the "Stepping Through Scripts" dialog do:


1.) Enable 'Scripting > Step Mode'
2.) Execute an script.
The "Stepping Through Scripts" dialog will appear.

or

1.) use the scripting command 'step;' inside an script
2.) execute that script
The "Stepping Through Scripts" dialog will appear.


I guess you just did not the second step?
To execute an script you can e.g. just use 'Scripting > Run script...' with that:

Code: Select all

    msg "<date>";  step;

Post Reply