AutoHotkey Community

It is currently May 27th, 2012, 5:10 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: media keys
PostPosted: October 20th, 2009, 8:03 am 
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...


Report this post
Top
  
Reply with quote  
 Post subject: SC122 - Play/Pause
PostPosted: November 9th, 2009, 1:07 pm 
Offline

Joined: June 17th, 2008, 9:03 pm
Posts: 19
Location: Kiel, Germany
Code:
SC122:: ; added
PlayPause:
  COM_Invoke(iTunesApp, "PlayPause")
  If COM_Invoke(iTunesApp, "Mute")
    {
      Gosub, ToggleMute
    }
Return


Report this post
Top
 Profile  
Reply with quote  
 Post subject: New Version
PostPosted: December 16th, 2009, 12:00 pm 
Offline

Joined: June 17th, 2008, 9:03 pm
Posts: 19
Location: Kiel, Germany
There is a newer version of the script. Please look at the first post.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: September 1st, 2010, 7:51 pm 
Offline

Joined: September 1st, 2010, 7:44 pm
Posts: 1
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...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 22nd, 2010, 7:32 pm 
Offline

Joined: February 10th, 2007, 5:18 am
Posts: 92
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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Update
PostPosted: December 11th, 2010, 3:41 pm 
Offline

Joined: June 17th, 2008, 9:03 pm
Posts: 19
Location: Kiel, Germany
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.


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 17th, 2011, 2:37 pm 
Offline

Joined: October 17th, 2011, 2:34 pm
Posts: 1
Location: KeongKie Korea
from ahk_class iTunes into ahk_class ITWindow


Report this post
Top
 Profile  
Reply with quote  
 Post subject: iTunes 10.4
PostPosted: October 17th, 2011, 5:41 pm 
Offline

Joined: June 17th, 2008, 9:03 pm
Posts: 19
Location: Kiel, Germany
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)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg and 11 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group