Call a Servoy Method from inside a Plugin

This seems like a stupid question, but I can’t figure out how to call a method in Servoy from my plugin. So, for example, if I have a Global method in Servoy called “myMethod” and I want to call that method to run from inside of my Plugin, how would I do that?

Thanks in advance.

As far as I know that is not (yet?) possible…

Look at the scheduler plugin

Oh dear, STUPID me :oops:

How else did I make the menubar plugin… Must have had a blackout

I’m still having some trouble with this one. I’ve looked at the scheduler plugin, and it appears to use CRON to schedule and run the method. It also uses the quartz jar to store jobs, etc. But I can’t find the simple call to say from my plugin, run the script named “xyz” now.

You need to use the javascript java classes to identify your Method.
That’s (part of what) what the scheduler demonstrates.