1: One other tidbit just came to mind. I'm not sure if this is relevant, but the 'record macro' off of the menus is always greyed out on my fresh install of OOo2.0 so I'm assuming this is a future feature. Is that an accurate assumption?
2: Anyway, as things stand right now, I remain unable to call a macro from a dialog unless the macro editor is open. In fact, the document's macros are invisible to Open Office when trying to add them, say, to a toolbar... unless, of course, the macro editor is open. The first few moments after installing OOo2.0 things worked wonderfully, but stopped working shortly after that for no obvious reason. How can I resolve this nagging problem? thanks doug > It worked for me in OOo 2.0 for a short time as well. After closing and > re-opening the file, that 2nd macro no longer gets called until I have opened > the macro editor. If nobody else has ever had this problem, what can I do? > I'm > running Windows XP using VMware. The host operating system is Red Hat Linux. > I'm > not sure if those details are relevant but it's probably an unusual setup. > > thanks > doug > > > > > > Hi Douglas, > > > > > I have a macro that calls a dialog. The dialog calls a 2nd macro. The 2nd > > macro doesn't run unless the macro editor is open. Is this the right place > > to > > seek guidance on this issue? If not, where should I look? > > > > works for me with OOo 2.0, well I changed your macro slightly, so that > > no error will appear from > > > > oGraph.setposition(oPos) > > ThisComponent.getDrawpage().add(oGraph) > > oGraph.GraphicURL = ... > > > > to > > > > oGraph.setposition(oPos) > > ThisComponent.Drawpages(0).add(oGraph) > > oGraph.GraphicURL = ... > > > > Hope that helps > > > > Regards > > > > Stephan > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
