Guest User

Untitled

a guest
Feb 24th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. {
  2. "alfredworkflow" : {
  3. "config" : {
  4. "script" : "set output to \"No track\"\n if appIsRunning(\"iTunes\") then\n\ttell application \"iTunes\"\n\t\tif exists name of current track then\n\t\t\tset aTrack to the current track\n\t\t\tset aName to the name of aTrack\n\t\t\tset aArtist to the artist of aTrack\n\t\t\tset output to aArtist & \" - \" & aName & \" lyrics OR kasi\"\n\t\tend if\n\tend tell\nend if\n\non appIsRunning(appName)\n\ttell application \"System Events\" to (name of processes) contains appName\nend appIsRunning",
  5. "scriptfile" : "",
  6. "escaping" : 68,
  7. "scriptargtype" : 1,
  8. "type" : 6,
  9. "concurrently" : false
  10. }
  11. }
  12. }
Add Comment
Please, Sign In to add comment