Skip to content

Macros pl PL

Reetus edited this page Sep 2, 2024 · 240 revisions

Lista komend makr

Utworzono na 02.09.2024 22:46:49
Wersja: 4.425.19+0c26057dbb7e7e285dbbb7378d1639f9d9112e29
Aru (ŁCh)

Makra

IsRunning

Sygnatura metody:

Boolean IsRunning(System.String)

Parametry

  • name: Nazwa makra.

Opis:

Zwraca True jeśli podane makro jest obecnie uruchomione

Przykład:

if IsRunning('macro'):  

PlayCUOMacro

Sygnatura metody:

Void PlayCUOMacro(System.String)

Parametry

  • name: Nazwa makra.

Opis:

Plays the specified CUO macro name

Przykład:

PlayCUOMacro('Paperdoll')  

PlayMacro

Sygnatura metody:

Void PlayMacro(System.String, System.Object[])

Parametry

  • name: Nazwa makra.
  • args: Comma seperated list of parameters.

Opis:

Uruchamia podane makro.

Przykład:

# Play another macro

PlayMacro("beep")

# Play another macro passing parameters to it

PlayMacro("beep", 1, "moo")

# In the played macro, args[0] will be 1 and args[1] will be "moo"  

Replay

Sygnatura metody:

Void Replay(System.Object[])

Parametry

  • args: Comma seperated list of parameters.

Opis:

Odgrywa ponownie obecne makro.

Przykład:

Replay()  

Stop

Sygnatura metody:

Void Stop(System.String)

Parametry

  • name: Nazwa makra. (Opcjonalny)

Opis:

Zatrzymuje obecne makro.

Przykład:

# zatrzymanie obecnego makra
Stop()
# zatrzymanie obecnego makra z podaniem nazwy
Stop("Background Macro")  

StopAll

Sygnatura metody:

Void StopAll()

Opis:

Zatrzymuje wszystkie makra włącznie z tymi działającymi w tle.

Przykład:

StopAll()  
Clone this wiki locally