forked from quicksilver/com.apple.AddressBook-qsplugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelement.xml
175 lines (175 loc) · 7.99 KB
/
element.xml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<element name="Apple Address Book Module" id="com.blacktree.Quicksilver.QSAddressBookPlugIn" version="150">
<info>
<category>Contacts</category>
<category>Applications</category>
<image>com.apple.AddressBook</image>
</info>
<requirements/>
<extensions xmlns:qs="com.blacktree">
<extension point="com.blacktree.catalog.presets">
<catalog-preset name="Recent Mail Addresses" id="QSPresetABMailRecents">
<plist version="1.0">
<dict>
<key>ID</key>
<string>QSPresetABMailRecents</string>
<key>enabled</key>
<false/>
<key>name</key>
<string>Recent Mail Addresses</string>
<key>source</key>
<string>QSABMailRecentsObjectSource</string>
</dict>
</plist>
</catalog-preset>
<catalog-preset name="Apple Address Book" id="QSPresetAddressBookGroup">
<plist version="1.0">
<dict>
<key>ID</key>
<string>QSPresetAddressBookGroup</string>
<key>children</key>
<array>
<dict>
<key>ID</key>
<string>QSPresetAddressBook</string>
<key>name</key>
<string>Address Book Contacts</string>
<key>source</key>
<string>QSAddressBookObjectSource</string>
</dict>
<dict>
<key>ID</key>
<string>QSPresetAddressBookScripts</string>
<key>enabled</key>
<false/>
<key>name</key>
<string>Scripts (Address Book)</string>
<key>requiresSettingsPath</key>
<true/>
<key>settings</key>
<dict>
<key>folderDepth</key>
<integer>1</integer>
<key>folderTypes</key>
<array>
<string>scpt</string>
</array>
<key>parser</key>
<string>QSDirectoryParser</string>
<key>path</key>
<string>~/Library/Address Book Scripts</string>
<key>skipItem</key>
<true/>
</dict>
<key>source</key>
<string>QSFileSystemObjectSource</string>
</dict>
</array>
<key>icon</key>
<string>com.apple.AddressBook</string>
<key>name</key>
<string>Apple Address Book</string>
<key>requiresBundle</key>
<string>com.apple.AddressBook</string>
<key>source</key>
<string>QSGroupObjectSource</string>
</dict>
</plist>
</catalog-preset>
</extension>
<extension point="com.blacktree.actions">
<action name="Add Note..." id="QSABContactAddDataAction">
<plist version="1.0">
<dict>
<key>actionClass</key>
<string>QSABMimicActionProvider</string>
<key>actionSelector</key>
<string>addData:toContact:</string>
<key>directTypes</key>
<array>
<string>ABPeopleUIDsPboardType</string>
</array>
<key>icon</key>
<string>com.apple.AddressBook</string>
<key>name</key>
<string>Add Note...</string>
<key>reverseArguments</key>
<true/>
<key>validatesObjects</key>
<false/>
</dict>
</plist>
</action>
<action name="Show Contact" id="QSABContactShowAction">
<plist version="1.0">
<dict>
<key>actionClass</key>
<string>QSABContactActions</string>
<key>actionSelector</key>
<string>showContact:</string>
<key>directTypes</key>
<array>
<string>ABPeopleUIDsPboardType</string>
</array>
<key>icon</key>
<string>com.apple.AddressBook</string>
<key>name</key>
<string>Show Contact</string>
<key>precedence</key>
<integer>3</integer>
<key>validatesObjects</key>
<false/>
</dict>
</plist>
</action>
<action name="Edit Contact" id="QSABContactEditAction">
<plist version="1.0">
<dict>
<key>actionClass</key>
<string>QSABContactActions</string>
<key>actionSelector</key>
<string>editContact:</string>
<key>directTypes</key>
<array>
<string>ABPeopleUIDsPboardType</string>
</array>
<key>icon</key>
<string>com.apple.AddressBook</string>
<key>name</key>
<string>Edit Contact</string>
<key>validatesObjects</key>
<false/>
</dict>
</plist>
</action>
</extension>
<extension point="QSActionProviders">
<action-provider id="QSABContactActions" class="QSABContactActions"/>
<action-provider id="QSABMimicActionProvider" class="QSABMimicActionProvider"/>
</extension>
<extension point="QSObjectHandlers">
<object-handler id="ABPeopleUIDsPboardType" class="QSContactObjectHandler"/>
</extension>
<extension point="QSAETypeConverters">
<extension id="com.apple.addressbook.item-object" class="QSContactObjectHandler"/>
</extension>
<extension point="QSTypeDefinitions">
<object-type name="Address Book Contacts" id="ABPeopleUIDsPboardType">
<plist version="1.0">
<dict>
<key>icon</key>
<string>com.apple.addressbook</string>
<key>name</key>
<string>Address Book Contacts</string>
</dict>
</plist>
</object-type>
</extension>
<extension point="QSObjectSources">
<object-source id="QSAddressBookObjectSource" class="QSAddressBookObjectSource"/>
<object-source id="QSABMailRecentsObjectSource" class="QSABMailRecentsObjectSource"/>
</extension>
<extension point="QSBundleChildHandlers">
<bundle-child-handler id="com.apple.AddressBook" class="QSAddressBookObjectSource"/>
</extension>
</extensions>
</element>