#NoEnv
#SingleInstance, FORCE
SetTitleMatchMode, 2
SetBatchLines, -1
^F7::
SetTimer, inActive, 100
SetTimer, PlayStop, 5000
Paly:=False ; Àç»ý ÁßÀÎ »óÅ¿¡¼ ½ÃÀÛÇÑ´Ù¸é False ¸¦ True ·Î ¼öÁ¤
return
^F8::
SetTimer, inActive, off
SetTimer, PlayStop, off
return
^F9::ExitApp
inActive:
if WinActive("ahk_exe vlc.exe") ; À©µµ¿ì ½ºÆÄÀÌ·Î ÄîŸÀ̸Ӹ¦ È®ÀÎÇÏ°í ¼öÁ¤
WinActivate, ahk_id %WinID%
else WinID:=WinExist("A")
return
PlayStop:
if !WinExist("VLC")
return
if Paly
ControlSend ,Qt5QWindowIcon6 , s, VLC ; Á¤Áö ´ÜÃàÅ°
else ControlSend ,Qt5QWindowIcon6 , p, VLC ; Àç»ý ´ÜÃàÅ°
Paly:=!Paly
return
¿ÀÅäÇÖÅ°·Î vlcÇÏ°í ÄîŸÀ̸Ӱü·Ã ÀÌ·± ±¸¹®À¸·Î ¾²°í Àִµ¥¿ä
ÀÌ ±¸¹®Àº Ç÷¹À̵ǰí 5ÃÊµÚ Á¤ÁöµÇ°í ¶Ç 5ÃÊµÚ Ç÷¹À̵ǰí..ÀÌ°Å ¹Ýº¹Àä
¿©±â¼ Á» ÀÀ¿ëÇؼ Ç÷¹À̵ǰí 5ÃÊµÚ Á¤ÁöµÇ°í 1ÃÊµÚ Ç÷¹ÀÌ 5ÃÊµÚ Á¤Áö..ÀÌ·¸°Ô
¹Ù²Ü·Á¸é ¾î¶»°Ô °íÃļ ½á¾ßÇÏÁÒ?