Skip to content
This repository has been archived by the owner on Jul 18, 2019. It is now read-only.

Injecting simbl into background processes #31

Open
jrhe opened this issue Mar 2, 2016 · 1 comment
Open

Injecting simbl into background processes #31

jrhe opened this issue Mar 2, 2016 · 1 comment

Comments

@jrhe
Copy link

jrhe commented Mar 2, 2016

@norio-nomura

I have installed an old version of SIMBL on El Capitan using your instructions but this old version doesn't allow loading of plugins into background processes.

I am attempting to create a plugin for the lookup view (Right click, "look up") which records what has been looked up so that unfamiliar words can be automatically fed to anki or other places. To do this I want to intercept calls to the LookupViewService (/System/Library/Frameworks/Foundation.framework/Versions/C/XPCServices/LookupViewService.xpc/Contents) which is an XPC process started by launchd (although seemingly not listed by it). All attempts to do so have been fruitless, including attempting to reboot the process to make sure SIMBL is loaded when it loads.

Any guidance on how to inject a plugin into a background process would be greatly appreciated.

@norio-nomura
Copy link
Owner

I don't know whether the background processes accept Apple Event or not, but have you tried the instruction on #25 (comment) ?
The original SIMBL does not detect launching of background process, but the injection mechanism is not limited to foreground process.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants