Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Interrupting a long-running script
Sorry if this question has already been answered, but I couldn't find anything relevant. How can I interrupt a long-running script if for some reason I don't want to wait for it to complete? The only way I've found is to go into Task Manager (on Windows) and kill it, which isn't very elegant and leaves the do/undo stack in an invalid state, so I have to exit Gimp and restart it. Is there a way to poll the keyboard, say once every 100 ms., and test for a keypress? Or is there another way?


Messages In This Thread
Interrupting a long-running script - by dfkettle - 01-15-2018, 06:42 PM

Forum Jump: