Page 1 of 1

Macro recording in OODraw

Posted: Fri May 16, 2008 6:55 pm
by Dirk Bock
Hi,

I want to record a macro in OODraw as a starting point for a little bit of programming. Sadly, the Extras > Macro > Record Macro command is inactive. In OOWrite and OOCalc it is available and works. What could be the problem - or is Macro Recording not available in Draw?

Regards

--Dirk Bock

Re: Macro recording in OODraw

Posted: Sat May 17, 2008 9:19 pm
by DrewJensen
As far as I know it is not available...

Maybe try asking in the Macro section of the board about what it is you want to do, and get a start at it that instead :D

Re: Macro recording in OODraw

Posted: Fri May 23, 2008 4:43 pm
by Dirk Bock
Thanks for the info. So it's not a problem with my system or some settings of my installation, but a bug^H^H^H feature. ;)

---Dirk Bock

Re: Macro recording in OODraw

Posted: Fri May 23, 2008 6:35 pm
by DrewJensen
I don't know why not - same is true for the Base module - no macro recording.

Re: Macro recording in OODraw

Posted: Fri May 23, 2008 7:09 pm
by Villeroy
The macro recorder in Calc and Writer records the most simple input and some point-and-click actions. In many cases you get the same dialog as you get as a user. Macro recorder uses the so called dispatch framework. If you are familiar with MSAccess: It is roughly the same as recording doCommand(command_number).
Search everything from "DannyB" on http://ooomacros.org/ as well as http://www.oooforum.org/ (search for "Draw" by "DannyB" in the snippets-forum for working code yields 23 matches).

This is the tool you need to comprehend everything: http://ooomacros.org/dev.php#101416