Interrupt macro process


#1

Is there any way to stop Glyphs’ python (like the macro panel) if it is stuck in an extended / unending process without force-quitting the app?


#2

Not currently. What code gets it stuck? Are you using a while loop?


#3

Oh, it is one of my scripts that was in progress and I’d accidentally hit “run” on “for x in Glyphs.font:” which turns out to be a very large dataset.

I was just wondering if there was a better way to stop the process than force closing, but seems not!


#4

I believe we have had that on the list for a long time. IIRC @Tosche once asked for the feature.


#5

I had that but that caused to many problems. Now the script runs in the main tread to not cause any multi treading problems.