Script for GrowlTunes Notification?
-
TheLastShack
- Harmless
- Posts: 21
- Joined: Tue Jan 25, 2005 5:28 am
- Location: Santa Barbara, CA, US
- Contact:
Script for GrowlTunes Notification?
I would like to know if there is a way, via AppleScript (since I am using Quicksilver) to call up the GrowlTunes iTunes notification on-demand. I would like to have the option, like in Synergy, to press a hotkey combination and have the notification pop up. Thanks for any help!
-
TheLastShack
- Harmless
- Posts: 21
- Joined: Tue Jan 25, 2005 5:28 am
- Location: Santa Barbara, CA, US
- Contact:
-
TheLastShack
- Harmless
- Posts: 21
- Joined: Tue Jan 25, 2005 5:28 am
- Location: Santa Barbara, CA, US
- Contact:
-
IngmarStein
- Latté
- Posts: 63
- Joined: Fri Dec 03, 2004 5:35 pm
I've just added AppleScript support for GrowlTunes. You will be able to bind the script
to a qs trigger.
Code: Select all
tell application "GrowlTunes" to show current track-
TheLastShack
- Harmless
- Posts: 21
- Joined: Tue Jan 25, 2005 5:28 am
- Location: Santa Barbara, CA, US
- Contact:
Thanks! Will this be added in the next release? Also, since I do not know AppleScript very well, what would the script be required to include other than that line? Thanks again.IngmarStein wrote:I've just added AppleScript support for GrowlTunes. You will be able to bind the scriptto a qs trigger.Code: Select all
tell application "GrowlTunes" to show current track
-
IngmarStein
- Latté
- Posts: 63
- Joined: Fri Dec 03, 2004 5:35 pm
-
TheLastShack
- Harmless
- Posts: 21
- Joined: Tue Jan 25, 2005 5:28 am
- Location: Santa Barbara, CA, US
- Contact:
I downloaded the newest beta, and the script works. However, now there is a problem with GrowlTunes displaying the current rating. If I change the rating of a song, either via script or iTunes, then use the script to call up the notification, it shows the older rating from the time the song started playing. If I skip ahead one song, then back, it shows the correct rating.
I may be mistaken, but is this due to GrowlTunes caching the song's information when it starts?
I may be mistaken, but is this due to GrowlTunes caching the song's information when it starts?
-
InTheLight
- Harmless
- Posts: 3
- Joined: Mon May 02, 2005 4:01 am
You can use Growl for all QS notifications, and let QS monitor iTunes tracks. Make sure that you have the Notification Hub and the iTunes plugins installed. I assigned a trigger is QS to bring up the iTunes notification, but if you tell QS to monitor tracks, the notification comes up whenever the track changes.
Im trying to build a script for Adium, and i want growl to show the current ly playing track, this snippet doesnt seem to be working:
Help! lol
Adam
Code: Select all
tell application "GrowlTunes" to activate
show current track
end tell
Adam
- zaudragon
- Growl Team
- Posts: 1852
- Joined: Sat Dec 04, 2004 5:05 am
- Location: Kensington, CA, USA
- Contact:
First, you don’t have to tell it to activate since it’ll do that anyways.adambrown wrote:Im trying to build a script for Adium, and i want growl to show the current ly playing track, this snippet doesnt seem to be working:Help! lolCode: Select all
tell application "GrowlTunes" to activate show current track end tell
Adam
Second, are you sure you have the latest beta?
Code: Select all
tell application "GrowlTunes" to show current trackFor those who want it:
Code: Select all
//iBRB V.1.0 (C) Adam Brown 2005
set wait to 0.013
tell application "iTunes"
activate
pause
display dialog "Click OK to Continue Playing." giving up after 900
end tell
tell application "GrowlTunes" to show current track
wait
tell application "iTunes"
play
end tellThank you,
I actually did it with Synergy installed. My whole reasoning is I do not want the bezel to show when I'm sitting in front of my computer. A giant info bezel across my screen while I'm working isn't productive.
However when I am walking around (I use my keyspan remote) I'd like to see the bezel when I glance at the screen from up to 20 feet away.
So now my keyspan buttons (on the remote) are linked to this applescript solution:
http://forums.cocoaforge.com/viewtopic.php?t=4433
I actually did it with Synergy installed. My whole reasoning is I do not want the bezel to show when I'm sitting in front of my computer. A giant info bezel across my screen while I'm working isn't productive.
However when I am walking around (I use my keyspan remote) I'd like to see the bezel when I glance at the screen from up to 20 feet away.
So now my keyspan buttons (on the remote) are linked to this applescript solution:
http://forums.cocoaforge.com/viewtopic.php?t=4433