Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translating scripts back into steps
#1
I have a bunch of scripts i'd like to study/reverse engineer.
Sadly i dont understand the scripting language, and its a lot of work to look up every step with the console.

Is there a way to "play" a script in slowmotion so i can watch the steps, or some kind of verbose log or something ?
Reply
#2
Nothing for this purpose. ... But what you can do, however, is:
  • remove the calls that alter the undo stack (usually, undo_group_start() and undo_group_end(), that put all the script actions into a single undo/redo step).
  • play the script (with a big undo stack...)
  • undo  (Ctr-Z) repeatedly until you are back to the initial state,
  • play the Gimp actions step by step using Edit>Redo (Ctrl-Y).

If there are too many steps, you won't be able to redo them manually anyway Smile
Reply
#3
Nice !

Its even better with the History tab.
Reply


Forum Jump: