MMOMinion
[LUA] how do you execute macro via lua? - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: Support - English, Deutsch, 中文 (https://www.mmominion.com/forumdisplay.php?fid=92)
+---- Forum: English Support & Questions (https://www.mmominion.com/forumdisplay.php?fid=93)
+---- Thread: [LUA] how do you execute macro via lua? (/showthread.php?tid=11006)



[LUA] how do you execute macro via lua? - richardwood - 02-28-2015

Hi, there's a macro I want to use with this certain addon. All I know is SendTextCommand("/party hi") to post action via chat box, but unfortunately there are no such command like /macro "1". Is there a way to execute macro via LUA?

Also, is there wait or sleep like function I can use?


RE: [LUA] how do you execute macro via lua? - kitanoi - 02-28-2015

There is no sleep command in lua. Look in the quest lua though yo see how they encorporated a wait.


RE: [LUA] how do you execute macro via lua? - richardwood - 02-28-2015

also is it possible to put the macro in skillbar (for example "="), and have the LUA trigger to press the = button


RE: [LUA] how do you execute macro via lua? - kitanoi - 02-28-2015

I do not believe so.


RE: [LUA] how do you execute macro via lua? - HansW - 02-28-2015

what do you want to use a macro for ?


RE: [LUA] how do you execute macro via lua? - richardwood - 02-28-2015

(02-28-2015, 05:08 PM)HansW Wrote:  what do you want to use a macro for ?

several set of auto-translated-texts greetings with delay in between.

I cant find how to post auto translated texts using SendTextCommand(), so I was trying to put them via macro, and have it executed from the lua