-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinfo.plist
More file actions
37 lines (34 loc) · 949 Bytes
/
info.plist
File metadata and controls
37 lines (34 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>action</key>
<false/>
<key>background</key>
<true/>
<key>category</key>
<string>APPLESCRIPTS</string>
<key>command</key>
<string>on ApplicationIsRunning(appName) tell application "System Events" to set appNameIsRunning to exists (processes where name is appName) return appNameIsRunningend ApplicationIsRunning
on alfred_script(q)
set theURL to "http://www.rdio.com/#/search/" & q if ApplicationIsRunning("Rdio") is false then do shell script "open -a Rdio" delay 5 end if tell application "Rdio"
activate open location theURL end tell
end alfred_script</string>
<key>keyword</key>
<string>rd</string>
<key>subtitle</key>
<string>Search Rdio for Artist/Album/Song</string>
<key>title</key>
<string>Rdio Search</string>
</dict>
</plist>