On Saturday, March 16, 2013 5:43:48 PM UTC+1, Patrick wrote:
>
> I see your points, but at the moment I don't think it's worth us 
> implementing as there doesn't seem to be a reliable method for ensuring 
> what you say.


Do you think there will ever be such? ;)  I couldn't find appropriate 
documentation.
 

> I haven't tried the services app, since I know not all users will be using 
> it and hence we can't rely on it.
>

Actually, we don't have to.


Let's put Services Manager app aside.

If you delete the NSRequiredContext key from a service in 
~/Library/Caches/com.apple.nsservicescache.plist under ServicesCache — and 
probably flush pbs (check 'man pbs'), does it show in Services/Context Menu 
as before?

If you make ~/Library/Preferences/pbs.plist with the following code — and 
probably flush pbs, is it still enabled?

<?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>NSServicesNoFilterServices</key>
 <false/>
 <key>NSServicesStatus</key>
 <dict>
 <key>com.apple.Stickies - Make Sticky - makeStickyFromTextService</key>
 <dict>
 <key>enabled_services_menu</key>
 <false/>
 </dict>
 </dict>
 <key>NSServicesUserDirectoryModDate</key>
 <real>1338123146</real>
</dict>
</plist>

(Nevermind NSServicesUserDirectoryModDate — I think it's just 'date +%s').

What I'm saying is that the plugin could check pbs dump or 
com.apple.nsservicescache.plist for the absence of NSRequiredContext key 
for services under ServicesCache (but not under NSUnrestricted) to disable 
the corresponding actions — and, _in case_ it's in place, for whatever the 
reason, also check pbs.plist for futher modifications of 
com.apple.nsservicescache.plist, namely disabled default services (under 
NSUnrestricted) or activated services disabled by default (no 
NSRequiredContext set). I think many users would be happy if at least the 
former is implemented.

I hope I could describe it better this time.

Or, just let me know if I rather not bother with this anymore :-)

-- 
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