On May 30, 2013, at 5:12 AM, Elias Levy <[email protected]> wrote:

> I know you can add actions using scripts, but can you add catalog entries 
> using a script?
> 
> A review of the docs in qsapps.com and some Google searches did not answer 
> this question.
> 
> The plug-in developer how-to hints that you can (it mentions that you should 
> not use AppleScript to extract this information from an application  as you 
> don't want the application launching every time the catalog is rebuilt), but 
> its quiet about the topic otherwise.

I guess it depends on what you’re trying to add and whether or not you truly 
mean “entries” or just individual items. Files/folders, URLs, and strings are 
pretty straightforward. For just about anything else, you’d need to write a 
plug-in.

If it’s a file or folder, you can select it in Quicksilver and use the “Add to 
Catalog” action.

There are also multiple ways to pre-create an entry that you can add individual 
items to on-the-fly whenever you want.

One way is to add a “File & Folder Scanner” entry that points to a text file. 
For the “Include” setting, pick “Text Lines”. You can add URLs, filesystem 
paths, or arbitrary lines of text to this file however you want, and they’ll 
appear in the catalog (after the next scan).

If you just want to add files/folders, you can install the OpenMeta plug-in and 
add an “OpenMeta Tags” entry for a particular tag and then at any later point, 
assign that tag to a file to have it added to the catalog. I went into more 
detail about that at http://projects.skurfer.com/posts/2013/tagging_tips/ under 
“One-off Catalog Entries”.

-- 
Rob McBroom
<http://www.skurfer.com/>

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to