Page 2 of 2

Re: Triggered Capture - please move to Scripting forum

Posted: Fri Jan 09, 2026 12:40 pm
by Borodog
Thanks Robin. The error on interrupt is cosmetic. I can live with it.

Re: Triggered Capture - please move to Scripting forum

Posted: Fri Jan 09, 2026 1:43 pm
by admin
Hi Mike,

I ended up asking Google Gemini if there was a neater way to cancel IronPython scripts and it came up with a cunning mechanism that (mis-)uses the tracing system built into the interpreter to be able to cancel the script in a cleaner way. I guess someone has posted about this somewhere online so it is in the training data, but having searched previously I never found it... AI can be handy sometimes. Anyway, I will be looking to implement this improved mechanism in the next update if I get time - it was one of those things where I had never been 100% comfortable with the way it works right now, so having both a concrete example of it not working right and a better alternative is enough to take some action.

cheers,

Robin

Re: Triggered Capture - please move to Scripting forum

Posted: Fri Jan 09, 2026 5:15 pm
by Borodog
That's great. Glad my pestering has been productive. ;O)