Difference between revisions of "Inkscape/macrogoodness"

From Inkscape Wiki
Jump to navigation Jump to search
(Create Page for Macro/Action Dialog Goodness)
 
(fleshed out the basics a bit)
Line 2: Line 2:


=== Basic Outline of Features/Functions ===
=== Basic Outline of Features/Functions ===
*Standard macro controls = Record, Play, Stop, New, and Delete (plus Save and Load)<br>
*New macros
**Create macros by recording
**Create macros from undo history
**It's desirable to have the macros work contextually and include things such as selection (and also to include TABing to make context more useful)<br>
*Play macros
**Macros need to intelligently skip impossible steps (such as font size changes being applied to a path)
**A spinbox next to play to tell it the number of times to play the macro (It should also give info to the status bar to say "playing macro n, X of Y scheduled times", or something like that)<br>
*Saving/Loading macros
**Save macros to sets and load sets of macros
**Optionally save macros only in the current document (stored in defs perhaps)<br>
**Documents should remember which sets they've had loaded and auto-load those when the document is re-opened
*Undo
**Undo should undo individual steps
**Undo History Dialog should have a wrapper for "Played Macro", to easily step back to before it was played.
=== Discussion ===
Should macros be written in XML, or something else?<br><br>
Mental commented that it could be similar to how the Undo History Dialog works except it probably needs to be on a slightly higher level and we'd probably need richer tagging for the XML.


=== BUGS ===
=== BUGS ===

Revision as of 16:59, 26 January 2007

Macro/Action dialog goodness that Gustav and Josh are working on. As items are taken care of, they're removed from the main text of this page. The controls/features will be copied to the bottom of this page in temp release notes (they will be fleshed out prior to the 0.46 release).

Basic Outline of Features/Functions

  • Standard macro controls = Record, Play, Stop, New, and Delete (plus Save and Load)
  • New macros
    • Create macros by recording
    • Create macros from undo history
    • It's desirable to have the macros work contextually and include things such as selection (and also to include TABing to make context more useful)
  • Play macros
    • Macros need to intelligently skip impossible steps (such as font size changes being applied to a path)
    • A spinbox next to play to tell it the number of times to play the macro (It should also give info to the status bar to say "playing macro n, X of Y scheduled times", or something like that)
  • Saving/Loading macros
    • Save macros to sets and load sets of macros
    • Optionally save macros only in the current document (stored in defs perhaps)
    • Documents should remember which sets they've had loaded and auto-load those when the document is re-opened
  • Undo
    • Undo should undo individual steps
    • Undo History Dialog should have a wrapper for "Played Macro", to easily step back to before it was played.

Discussion

Should macros be written in XML, or something else?

Mental commented that it could be similar to how the Undo History Dialog works except it probably needs to be on a slightly higher level and we'd probably need richer tagging for the XML.

BUGS

Can't have bugs without code. ;)

Release Notes

Can't have release notes without code. :)