-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInfo.plist
455 lines (455 loc) · 16.9 KB
/
Info.plist
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
<?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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Spotlight Plugin</string>
<key>CFBundleIdentifier</key>
<string>com.blacktree.Quicksilver.QSSpotlightPlugIn</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Spotlight Plugin</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.3.1</string>
<key>CFBundleSignature</key>
<string>0.8</string>
<key>CFBundleVersion</key>
<string>F4</string>
<key>NSPrincipalClass</key>
<string>QSSpotlightPlugIn</string>
<key>QSActions</key>
<dict>
<key>QSAddFileTagsAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>addTagsForFile:tags:</string>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Add Comment Tags...</string>
</dict>
<key>QSRemoveFileTagsAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>removeTagsForFile:tags:</string>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Remove Comment Tags...</string>
</dict>
<key>QSSetFileCommentAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>setCommentForFile:to:</string>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>icon</key>
<string>com.apple.finder</string>
<key>name</key>
<string>Set Comment…</string>
<key>validatesObjects</key>
<false/>
</dict>
<key>QSSetFileTagsAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>setTagsForFile:tags:</string>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Set Comment Tags...</string>
</dict>
<key>QSShowFileTagsAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>showTags:</string>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Show Comment Tags</string>
</dict>
<key>QSShowTaggedFilesAction</key>
<dict>
<key>actionClass</key>
<string>QSFileTagsPlugInAction</string>
<key>actionSelector</key>
<string>showTaggedFilesInFinder:</string>
<key>directTypes</key>
<array>
<string>qs.tag.file</string>
</array>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Show Files Matching Comment Tag</string>
<key>precedence</key>
<integer>3</integer>
</dict>
<key>QSSpotlightSearchFilenamesInFolder</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>spotlightSearchFilenamesInFolder:forString:</string>
<key>directFileTypes</key>
<array>
<string>'fold'</string>
</array>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Spotlight Filenames Matching…</string>
<key>xalternateAction</key>
<string></string>
</dict>
<key>QSSpotlightSearchInFolder</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>spotlightSearchInFolder:forString:</string>
<key>alternateAction</key>
<string>QSSpotlightSearchInFolderWithFinder</string>
<key>directFileTypes</key>
<array>
<string>'fold'</string>
</array>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Spotlight Contents…</string>
</dict>
<key>QSSpotlightSearchInFolderWithFinder</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>spotlightSearchFinderInFolder:forString:</string>
<key>directFileTypes</key>
<array>
<string>'fold'</string>
</array>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Spotlight Contents in Finder…</string>
</dict>
<key>QSSpotlightStringSearch</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>spotlightSearchForString:</string>
<key>directTypes</key>
<array>
<string>*</string>
</array>
<key>icon</key>
<string>Spotlight</string>
<key>name</key>
<string>Spotlight in Window</string>
</dict>
<key>QSSpotlightStringSearchInternal</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>internalSpotlightSearchForString:</string>
<key>directTypes</key>
<array>
<string>*</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Get Spotlight Results</string>
</dict>
<key>QSSpotlightStringSearchWithFinder</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightPlugIn_Action</string>
<key>actionSelector</key>
<string>finderSpotlightSearchForString:</string>
<key>directTypes</key>
<array>
<string>*</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Show Spotlight Results in Finder</string>
</dict>
</dict>
<key>QSActionsDisabled</key>
<dict>
<key>QSSpotlightRunSavedQuery</key>
<dict>
<key>actionClass</key>
<string>QSSpotlightSavedSearchSource</string>
<key>actionSelector</key>
<string>spotlightRunSavedQuery:</string>
<key>directFileTypes</key>
<array>
<string>savedSearch</string>
</array>
<key>directTypes</key>
<array>
<string>NSFilenamesPboardType</string>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Run Search with Spotlight</string>
<key>precedence</key>
<integer>5</integer>
</dict>
</dict>
<key>QSLoadImmediately</key>
<true/>
<key>QSPlugIn</key>
<dict>
<key>author</key>
<string>Rob McBroom</string>
<key>categories</key>
<array>
<string>Search</string>
<string>Files</string>
</array>
<key>description</key>
<string>Spotlight actions and integration</string>
<key>extendedDescription</key>
<string><h2>Spotlight Plugin</h2>
<p>This adds Spotlight integration to Quicksilver. It allows you to add files to your catalog based on Spotlight queries, tag files, and perform searches directly from Quicksilver.</p>
<h3>Tagging</h3>
<p>Users on OS X 10.9 or later are strongly encouraged to use the tagging features from the File Attribute Plugin. It offers all of the same features without the compromises by taking advantage of OS X's native tagging system. Tagging related actions and catalog presets are disabled by default, but can be activated in the preferences.</p>
<p>To distinguish between the two systems, the type of tags offered by this plug-in are now referred to as "comment tags".</p>
<p>Comment tags are all prefixed with one or more characters to make them stand out from regular text. By default, tags will be prefixed with <code>#</code>, but you can change this (to <code>@</code> or <code>tag:</code>) in the preferences. You should choose a prefix prior to tagging any files and stick with it. If you change it later, you'll have to go update all existing tags manually.</p>
<p>Tags and comments are both stored in a file's "Spotlight Comments" field, but they don't interfere with each other. In other words, manipulating tags will not erase an existing comment, and setting a comment will not alter any tags.</p>
<h3>Catalog</h3>
<h4>Presets</h4>
<p>There are two catalog presets added by this plug-in.</p>
<ul>
<li><strong>Smart Folders</strong> - Automtically adds any Smart Folders you've created and saved. Presently, all you can do is open them in Finder.</li>
<li><strong>Comment Tags</strong> - If you've added any tags (using Quicksilver's tag prefix) to your files' Spotlight Comments, this will add them directly to the catalog. Using → or / on a tag will show all files matching that tag.</li>
</ul>
<h4>Custom Entries</h4>
<p>You can create custom catalog entries to add files based on a Spotlight search. (See the <a href="#syntax">Syntax</a> section.) From the catalog preferences, click the "+" and choose "Spotlight". You'll be able to define the query, limit the search to a specific folder, and ignore removable disks via the entry's info panel.</p>
<h3>Actions</h3>
<h4>Get Spotlight Results</h4>
<p>Searches for text and shows the results in Quicksilver.</p>
<h4>Show Spotlight Results in Finder</h4>
<p>Uses search text to create and display a Smart Folder.</p>
<h4>Spotlight in Window</h4>
<p>Opens a Finder window with the search text pre-populated. The main advantage to this action is that it allows you to use the search syntax most users are familiar with.</p>
<h4>Spotlight Contents…</h4>
<p>Perform a Spotlight search inside the selected folder and display the results in Quicksilver. Enter search text in the third pane.</p>
<h4>Spotlight Contents in Finder…</h4>
<p>Perform a Spotlight search inside the selected folder and display the results in Finder. Enter search text in the third pane.</p>
<h4>Spotlight Filenames Matching…</h4>
<p>Search only filenames inside the selected folder and display the results in Quicksilver. Enter search text in the third pane.</p>
<h4>Show Files Matching Comment Tag</h4>
<p>Create and display a Smart Folder containing files matching the selected comment tag.</p>
<h4>Show Comment Tags</h4>
<p>Show any comment tags for the selected file or folder.</p>
<h4>Add Comment Tags…</h4>
<p>Add comment tags to the selected file or folder. Enter the new tags separated by a single space in the third pane. Existing tags and comments will be preserved.</p>
<h4>Remove Comment Tags…</h4>
<p>Remove comment tags from the selected file or folder. Enter the tags to remove separated by a single space in the third pane.</p>
<h4>Set Comment Tags…</h4>
<p>Replace any comment tags with the ones specified. Enter the tags separated by a single space in the third pane. Existing comments will be preserved.</p>
<h4>Set Comment…</h4>
<p>Set the file's Spotlight comment to the text entered in the third pane. Tags in the comments (if any) will be preserved.</p>
<h3>Syntax</h3>
<p>To search for basic terms like "vacation", you can just search for the word. For more complicated searches (by type, etc.) this plugin is unfortunately not able to support the familiar Spotlight syntax like <code>kind:movie</code>, so you might have to get your hands dirty to set up a search. The syntax for most searches is poorly documented by Apple in <a href="https://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849-CJBEJBHH">two</a> <a href="https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Predicates/Articles/pSyntax.html#//apple_ref/doc/uid/TP40001795-SW1">places</a>. It's really only worth the trouble if you're adding a custom catalog entry based on Spotlight, but it also works with most of the actions.</p>
<p>Some examples might be helpful.</p>
<p>To search for movies related to "vacation", you might do something like this:</p>
<pre><code>kMDItemKind LIKE '*movie' &amp;&amp; (kMDItemDisplayName LIKE[cd] '*vaction*' || kMDItemTextContent LIKE[cd] '*vaction*')
</code></pre>
<p>To replace the default "Applications" preset in your catalog with one that finds <em>all</em> applications, you could add a new entry with this query:</p>
<pre><code>kMDItemKind == 'Application'
</code></pre>
<p>A good way to see what attributes are available and what the values look like is to examine a file in Terminal using <code>mdls</code>.</p>
<pre><code>mdls ~/Movies/Beach.mov
</code></pre>
<p>To make things worse, Smart Folders use a different syntax so if you're trying to do a complicated search with the "Show Spotlight Results in Finder" action, you'll need to use that, which is also <a href="https://developer.apple.com/library/mac/#documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html#//apple_ref/doc/uid/TP40001849">documented</a>.</p></string>
<key>icon</key>
<string>Find</string>
</dict>
<key>QSPresetAdditions</key>
<array>
<dict>
<key>ID</key>
<string>QSPresetSpotlightGroup</string>
<key>children</key>
<array>
<dict>
<key>ID</key>
<string>QSPresetSpotlightSavedSearches</string>
<key>enabled</key>
<true/>
<key>icon</key>
<string>SmartFolderIcon</string>
<key>name</key>
<string>Smart Folders</string>
<key>settings</key>
<dict>
<key>folderDepth</key>
<integer>1</integer>
<key>folderTypes</key>
<array>
<string>savedSearch</string>
</array>
<key>parser</key>
<string>QSDirectoryParser</string>
<key>path</key>
<string>~/Library/Saved Searches</string>
<key>skipItem</key>
<true/>
</dict>
<key>source</key>
<string>QSFileSystemObjectSource</string>
</dict>
<dict>
<key>ID</key>
<string>QSPresetQSFileTagsPlugIn</string>
<key>enabled</key>
<false/>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Comment Tags</string>
<key>source</key>
<string>QSFileTagsPlugInSource</string>
</dict>
</array>
<key>icon</key>
<string>Find</string>
<key>name</key>
<string>Spotlight</string>
<key>source</key>
<string>QSGroupObjectSource</string>
</dict>
</array>
<key>QSRegistration</key>
<dict>
<key>QSActionProviders</key>
<dict>
<key>QSFileTagsPlugInAction</key>
<string>QSFileTagsPlugInAction</string>
<key>QSSpotlightPlugIn_Action</key>
<string>QSSpotlightPlugIn_Action</string>
<key>QSSpotlightSavedSearchSource</key>
<string>QSSpotlightSavedSearchSource</string>
</dict>
<key>QSFSFileTypeChildHandlers</key>
<dict>
<key>com.apple.finder.smart-folder</key>
<string>QSSpotlightSavedSearchSource</string>
</dict>
<key>QSObjectHandlers</key>
<dict>
<key>qs.tag.file</key>
<string>QSFileTagsPlugInSource</string>
</dict>
<key>QSObjectSources</key>
<dict>
<key>QSFileTagsPlugInSource</key>
<string>QSFileTagsPlugInSource</string>
<key>QSSpotlightObjectSource</key>
<string>QSSpotlightObjectSource</string>
</dict>
<key>QSPreferencePanes</key>
<dict>
<key>QSFileTagsPrefPane</key>
<dict>
<key>class</key>
<string>QSPreferencePane</string>
<key>description</key>
<string>Comment Tag Options</string>
<key>icon</key>
<string>Tag</string>
<key>name</key>
<string>Comment Tags</string>
<key>nibBundle</key>
<string>com.blacktree.Quicksilver.QSSpotlightPlugIn</string>
<key>nibName</key>
<string>QSFileTagsPrefPane</string>
</dict>
</dict>
</dict>
<key>QSRequirements</key>
<dict>
<key>obsoletes</key>
<array>
<string>com.blacktree.Quicksilver.QSFileTagsPlugIn</string>
</array>
<key>version</key>
<string>4023</string>
</dict>
<key>QSResourceAdditions</key>
<dict>
<key>Tag</key>
<dict>
<key>bundle</key>
<string>com.blacktree.Quicksilver.QSSpotlightPlugIn</string>
<key>resource</key>
<string>Tag.png</string>
</dict>
</dict>
</dict>
</plist>