Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Scriptet er en videreutvikkling og utvidelse av scriptet som TormodRL la ut på http://www.pastebin.com/MPtmGEDx
- ;Man må laste ned AutoHotkey (gratis for windows) for å kjøre scriptet. http://www.autohotkey.com/
- ; ------------------------8<----------------------
- #SingleInstance force
- ; Play/Pause-button pauses Wimp (to use custimized button change "Media_Play_Pause" with desired button ref: http://www.autohotkey.com/docs/KeyList.htm )
- Media_Play_Pause::
- ; Need to use regex mode to match ahk_class since Wimp windows title changes each song
- SetTitleMatchMode RegEx
- ; Check if wimp is running (possibly any Adobe Air application running??)
- IfWinExist, ahk_class ApolloRuntimeContentWindow
- {
- ;Change "C:\Program Files (x86)\Wimp\" with your instalation path
- Run "C:\Program Files (x86)\Wimp\wimp.exe" "C:\Program Files (x86)\Wimp\play"
- return
- }
- return
- ; Next-button next song in wimp (to use custimized button change "Media_Next" with desired button ref: http://www.autohotkey.com/docs/KeyList.htm )
- Media_Next::
- ; Need to use regex mode to match ahk_class since Wimp windows title changes each song
- SetTitleMatchMode RegEx
- ; Check if wimp is running (possibly any Adobe Air application running??)
- IfWinExist, ahk_class ApolloRuntimeContentWindow
- {
- ;Change "C:\Program Files (x86)\Wimp\" with your instalation path
- Run "C:\Program Files (x86)\Wimp\wimp.exe" "C:\Program Files (x86)\Wimp\next"
- return
- }
- return
- ; Prev-button prev song in wimp (to use custimized button change "Media_Prev" with desired button ref: http://www.autohotkey.com/docs/KeyList.htm )
- Media_Prev::
- ; Need to use regex mode to match ahk_class since Wimp windows title changes each song
- SetTitleMatchMode RegEx
- ; Activate WiMP if on(possibly any Adobe Air application running??)
- IfWinExist, ahk_class ApolloRuntimeContentWindow
- {
- ;Change "C:\Program Files (x86)\Wimp\" with your instalation path
- Run "C:\Program Files (x86)\Wimp\wimp.exe" "C:\Program Files (x86)\Wimp\previous"
- return
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment