Hallo, Gast! Registrieren

Themabewertung:
  • 1 Bewertung(en) - 5 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
AppleScripts
#3
Code:
on run
    try
        tell application "iTunes"
            set songTitle to the name of the current track
            set songArtist to the artist of the current track
            set songAlbum to the album of the current track
            set songYear to the year of the current track
            set the clipboard to "/me lauscht:" & the songArtist & " - " & songTitle & " \"" & songAlbum & ", " & songYear & "\""
        end tell
    end try
    try
        set the clipboard to Unicode text of (the clipboard as record)
    on error errMsg
        display dialog errMsg
    end try
    tell application "System Events"
        key code 9 using {command down}
    end tell
end run
I hate my flesh.
It's dimension poisoned my soul with doubt.
It made me question the essence of the "I".
Antworten


Nachrichten in diesem Thema
AppleScripts - von padrak - 07.03.2011, 21:26
RE: AppleScripts - von malde - 08.03.2011, 00:16
RE: AppleScripts - von Azathoth - 08.03.2011, 03:28
RE: AppleScripts - von padrak - 08.03.2011, 07:51
RE: AppleScripts - von Azathoth - 08.03.2011, 14:26
RE: AppleScripts - von padrak - 08.03.2011, 15:51
RE: AppleScripts - von malde - 08.03.2011, 16:14
RE: AppleScripts - von Azathoth - 08.03.2011, 17:10
RE: AppleScripts - von Azathoth - 08.03.2011, 17:11

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste