Augustiner
Aktives Mitglied
Thread Starter
- Dabei seit
- 25.10.2004
- Beiträge
- 143
- Reaktionspunkte
- 0
Hallo Leute,
hat jemand vielleicht eine Ahnung, wie ich ein einfaches Script schreiben kann, dass auf Knopfdruck Artist, Titel, Dauer und Rate ins aktive Nachrichtenfenster posted und dann abschickt ?
Hab sowas schon für mein IRC-Clienten, aber möchte es auch für mein Icy Juice nützen:
Gruß
hat jemand vielleicht eine Ahnung, wie ich ein einfaches Script schreiben kann, dass auf Knopfdruck Artist, Titel, Dauer und Rate ins aktive Nachrichtenfenster posted und dann abschickt ?
Hab sowas schon für mein IRC-Clienten, aber möchte es auch für mein Icy Juice nützen:
Code:
-- this script will announce the currently playing song
property autoannounce : 0
property counter : 0
property refreshrate : 5
property theartist : ""
property theartist2 : ""
property thetitle : ""
property thetitle2 : ""
on run {}
tell application "iTunes"
set thetitle to (name of current track)
set theartist to (artist of current track)
set thebitrate to (bit rate of current track)
set thetime to (time of current track)
end tell
tell application "Snak"
if theartist is not equal to "" then
type "[iTunes] " & theartist & " - " & thetitle & " [" & thetime & " @ " & thebitrate & "kbs" & "]"
else
type "[iTunes] " & thetitle & " // " & thetime & " @ " & thebitrate & "kbs" & ""
end if
end tell
end run
Gruß