반응형
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- if
- API
- 배열
- SetKeyDelay
- StringGetPos
- Threads
- EnvSub
- 식
- ControlSend
- MouseClick
- Menu
- 함수
- EnvDiv
- if(식)
- SetTitleMatchMode
- EnvMult
- IfInString
- 식의 설명
- IfWinExist
- EnvAdd
- autohotkey
- IF (식)
- DetectHiddenWindows
- Blocks
- SetMouseDelay
- SetControlDelay
- SetEnv
- Var:=식
- EnvSet
- ControlGetText
Archives
- Today
- Total
ㄴrㅎnㅂrㄹrㄱi
Automating Winamp 본문
반응형
Automating Winamp
This section demonstrates how to control Winamp via hotkey even when it is minimized or inactive. This information has been tested with Winamp 2.78c and should work for Winamp 2.x and possibly other major releases as well. Please post changes and improvements in the forum or contact the author.
This example makes the Ctrl+Alt+P hotkey equivalent to pressing Winamp's pause/unpause button:
^!p:: SetTitleMatchMode, 2 IfWinNotExist, - Winamp IfWinNotExist, Winamp 2. ; Adjust this if your Winamp is not 2.x return ; Otherwise, the above has set the "last found" window for us: ControlSend, ahk_parent, c ; Pause/Unpause return
Here are some of the keyboard shortcuts available in Winamp 2.x (may work in other versions too). The above example can be revised to use any of these keys:
Key to send | Effect |
c | Pause/UnPause |
x | Play/Restart/UnPause |
v | Stop |
+v | Stop with Fadeout |
^v | Stop after the current track |
b | Next Track |
z | Previous Track |
{left} | Rewind 5 seconds |
{right} | Fast-forward 5 seconds |
{up} | Turn Volume Up |
{down} | Turn Volume Down |
; This next example asks Winamp which track number is currently active: SetTitleMatchMode, 2 SendMessage, 1024, 0, 120, - Winamp if ErrorLevel <> FAIL { ErrorLevel++ ; Winamp's count starts at 0, so adjust by 1. MsgBox, Track #%ErrorLevel% is active or playing. }
반응형
'AUTOHOTKEY > 레퍼런스' 카테고리의 다른 글
색 지정 (0) | 2007.11.08 |
---|---|
CLSID일람 (0) | 2007.11.08 |
대입 연산자 (0) | 2007.11.08 |
대표적인 사용 예 (0) | 2007.11.08 |
인트러덕션 (Introduction) (0) | 2007.11.08 |
Comments