| View previous topic :: View next topic |
| Author |
Message |
ramel Guest
|
Posted: Tue Oct 20, 2009 7:03 am Post subject: Re: media keys |
|
|
| ophthalmos wrote: | The script is already using media keys. However, only together with the modifier keys.
You can search for "Media_" to find the corresponding lines. |
But I can do the following on another script that semi-works...
SC122::
DetectHiddenWindows,On
ControlSend, ahk_parent, {space}, iTunes ahk_class iTunes
return
This detects the keyboard's play/pause button if iTunes is minimized and works... I want this as part of the HotKeys for iTunes... |
|
| Back to top |
|
 |
ophthalmos
Joined: 17 Jun 2008 Posts: 19 Location: Kiel, Germany
|
Posted: Mon Nov 09, 2009 12:07 pm Post subject: SC122 - Play/Pause |
|
|
| Code: | SC122:: ; added
PlayPause:
COM_Invoke(iTunesApp, "PlayPause")
If COM_Invoke(iTunesApp, "Mute")
{
Gosub, ToggleMute
}
Return
|
|
|
| Back to top |
|
 |
ophthalmos
Joined: 17 Jun 2008 Posts: 19 Location: Kiel, Germany
|
Posted: Wed Dec 16, 2009 11:00 am Post subject: New Version |
|
|
| There is a newer version of the script. Please look at the first post. |
|
| Back to top |
|
 |
quixilvr
Joined: 01 Sep 2010 Posts: 1
|
Posted: Wed Sep 01, 2010 6:51 pm Post subject: Scroll Bar for "Switch Current Playlist" window |
|
|
I am using v2.3. I have about 75 different smart playlists in iTunes, and the default "Switch Current Playlist" window that pops up doesn't show them all. Can you implement a scroll bar so that I can select playlists that are further down in the window.
Or better yet, if there are more playlists than will fit in the window, create a multiple column window that will show all of the playlists on the screen at the same time! Either way... |
|
| Back to top |
|
 |
maximo3491
Joined: 10 Feb 2007 Posts: 92
|
Posted: Mon Nov 22, 2010 6:32 pm Post subject: |
|
|
It might just be me, but I think this needs updating.
Windows 7 iTunes 10.0.1 gets error "Could not locate iTunes! Applications exits." (lng_NoiTunes) |
|
| Back to top |
|
 |
ophthalmos
Joined: 17 Jun 2008 Posts: 19 Location: Kiel, Germany
|
Posted: Sat Dec 11, 2010 2:41 pm Post subject: Update |
|
|
| Quote: | | error "Could not locate iTunes! Applications exits." |
This error message appears only once after installing a newer iTunes version, for example when the database is updated.
| Quote: | | Can you implement a scroll bar so that I can select playlists that are further down in the window. |
The latest version (for AHK_L) should work for you. Please download it from the first post in this thread. |
|
| Back to top |
|
 |
boiledfox
Joined: 17 Oct 2011 Posts: 1 Location: KeongKie Korea
|
Posted: Mon Oct 17, 2011 1:37 pm Post subject: itunes window name has been changed |
|
|
| from ahk_class iTunes into ahk_class ITWindow |
|
| Back to top |
|
 |
ophthalmos
Joined: 17 Jun 2008 Posts: 19 Location: Kiel, Germany
|
Posted: Mon Oct 17, 2011 4:41 pm Post subject: iTunes 10.4 |
|
|
Thank you for the hint. I have not updated iTunes and therefore not noticed the problem.
In newer versions (>= 10.4) the iTunes window class name has changed from "iTunes" to "ITWindow".
I changed the following line in both scripts (AHK_L und AHKBasic):
| Code: | | iTWinID := WinExist("iTunes ahk_class iTunes") |
to:
| Code: | Process, Wait, iTunes.exe
iTPID = %ErrorLevel%
iTWinID := WinExist("iTunes ahk_pid" . iTPID) |
|
|
| Back to top |
|
 |
|