Macros ko KR - Reetus/ClassicAssist GitHub Wiki

ํด๋ž˜์‹์–ด์‹œ์ŠคํŠธ ๋งคํฌ๋กœ ๋ช…๋ น์–ด

์ƒ์„ฑ๋œ 2024-12-15 ์˜ค์ „ 3:30:41
๋ฒ„์ „: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Translated by Mark Hunt & Andy H.

๋งคํฌ๋กœ

IsRunning

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Boolean IsRunning(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋งคํฌ๋กœ ์ด๋ฆ„.

์„ค๋ช…:

์‹คํ–‰์ค‘_๋ช…๋ น_์„ค๋ช…

์˜ˆ์‹œ:

if IsRunning('macro'):  

PlayCUOMacro

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void PlayCUOMacro(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋งคํฌ๋กœ ์ด๋ฆ„.

์„ค๋ช…:

Plays the specified CUO macro name

์˜ˆ์‹œ:

PlayCUOMacro('Paperdoll')  

PlayMacro

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

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

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋งคํฌ๋กœ ์ด๋ฆ„.
  • args: Comma seperated list of parameters.

์„ค๋ช…:

์ฃผ์–ด์ง„ ์ด๋ฆ„์˜ ๋งคํฌ๋กœ๋ฅผ ์žฌ์ƒํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

# 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

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void Replay(System.Object[])

ํŒŒ๋ผ๋ฏธํ„ฐ

  • args: Comma seperated list of parameters.

์„ค๋ช…:

ํ˜„์žฌ ๋งคํฌ๋กœ ์žฌ์ƒํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

Replay()  

Stop

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void Stop(System.String)

ํŒŒ๋ผ๋ฏธํ„ฐ

  • name: ๋งคํฌ๋กœ ์ด๋ฆ„. (์˜ต์…˜)

์„ค๋ช…:

ํ˜„์žฌ ๋งคํฌ๋กœ๋ฅผ ์ค‘์ง€ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

# Stop the current macro
Stop()
# Stop a macro by name
Stop("Background Macro")  

StopAll

๋ฉ”์„œ๋“œ ์‹œ๊ทธ๋‹ˆ์ฒ˜:

Void StopAll()

์„ค๋ช…:

์‹คํ–‰์ค‘์ธ ๋ชจ๋“  ๋งคํฌ๋กœ๋ฅผ ์ค‘์ง€ํ•ฉ๋‹ˆ๋‹ค.

์˜ˆ์‹œ:

StopAll()