SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Geek Stuff

(Solved) - iTunes AutoHotKey script

(3 posts)
  • Started 3 years ago by Slembroccoli
  • Latest reply from Slembroccoli
  • Topic Viewed 1387 times

Slembroccoli
Slembroccoli
Posts: 79

Well recently i reinstalled my machine, and forgot to backup my AHK files.
I remember something about it not being possible to map the function keys to anything, but i somehow discovered something along the lines of MediaPlayPause, MediaNext etc. that was the extra function of the Fn Key + F7 (Play/Pause).
I'm not really sure about any of this, so other solutions are always welcome.
The thing is i want to have them bound to the function keys and not some Win + ,/./- which many scripts on the forums does.

Regards

Posted 3 years ago
Top
 
Slembroccoli
Slembroccoli
Posts: 79

I think I've found the code if that is to any help. What i did was replace the "#right", "#left", and "#space" with the new "words". Those words are the ones I've forgotten.


#right::
DetectHiddenWindows , On
ControlSend , ahk_parent, ^{right}, iTunes ahk_class iTunes
DetectHiddenWindows , Off
return

#left::
DetectHiddenWindows , On
ControlSend , ahk_parent, ^{left}, iTunes ahk_class iTunes
DetectHiddenWindows , Off
return

#space::
DetectHiddenWindows , On
ControlSend , ahk_parent, {space}, iTunes ahk_class iTunes
DetectHiddenWindows , Off
return

Posted 3 years ago
Top
 
Slembroccoli
Slembroccoli
Posts: 79

Nevermind, I found it at last, it was Media_Play_Pause...

If a mod could close this I would NOT mind.

Posted 3 years ago
Top
 



Topic Closed

This topic has been closed to new replies.