AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

iTunes and AutoHotkey
Goto page Previous  1, 2, 3
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ramel
Guest





PostPosted: Tue Oct 20, 2009 7:03 am    Post subject: Re: media keys Reply with quote

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

PostPosted: Mon Nov 09, 2009 12:07 pm    Post subject: SC122 - Play/Pause Reply with quote

Code:
SC122:: ; added
PlayPause:
  COM_Invoke(iTunesApp, "PlayPause")
  If COM_Invoke(iTunesApp, "Mute")
    {
      Gosub, ToggleMute
    }
Return
Back to top
View user's profile Send private message
ophthalmos



Joined: 17 Jun 2008
Posts: 19
Location: Kiel, Germany

PostPosted: Wed Dec 16, 2009 11:00 am    Post subject: New Version Reply with quote

There is a newer version of the script. Please look at the first post.
Back to top
View user's profile Send private message
quixilvr



Joined: 01 Sep 2010
Posts: 1

PostPosted: Wed Sep 01, 2010 6:51 pm    Post subject: Scroll Bar for "Switch Current Playlist" window Reply with quote

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
View user's profile Send private message
maximo3491



Joined: 10 Feb 2007
Posts: 92

PostPosted: Mon Nov 22, 2010 6:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
ophthalmos



Joined: 17 Jun 2008
Posts: 19
Location: Kiel, Germany

PostPosted: Sat Dec 11, 2010 2:41 pm    Post subject: Update Reply with quote

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
View user's profile Send private message
boiledfox



Joined: 17 Oct 2011
Posts: 1
Location: KeongKie Korea

PostPosted: Mon Oct 17, 2011 1:37 pm    Post subject: itunes window name has been changed Reply with quote

from ahk_class iTunes into ahk_class ITWindow
Back to top
View user's profile Send private message
ophthalmos



Joined: 17 Jun 2008
Posts: 19
Location: Kiel, Germany

PostPosted: Mon Oct 17, 2011 4:41 pm    Post subject: iTunes 10.4 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group