SuperEdi

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Raduga (English)
Song Requester

Macros

Posted on: SuperEdi

From Message

Sean Healy

2004-09-24 02:20:10

Macros

I'm able to make the Startup and Shutdown events work in a macro file, but could you post some code showing how to call a macro function from a script? I couldn't find any examples in the documentation.

Wolfgang Loch

2004-09-26 16:27:50

Re: Macros

Suppose you have a function "MyFunction" that's defined in the add-in "MyMacro". Then you can call this function from a script using this syntax:

Application.Macros("MyMacro").Dispatch.MyFunction();

You can also access variables that are defined in the add-in code.

The "Dispatch" property was broken in SuperEdi 3.4. It works in version 3.4.1..

Post a reply to this message: