zerodivisi0n / findermenu Goto Github PK
View Code? Open in Web Editor NEWAdding items to Finder's contextual menu
License: MIT License
Adding items to Finder's contextual menu
License: MIT License
Is there a way to create and inject multiple NSMenuItem entries into the Finder Menu?
Can you elaborate on the build instructions? I've pulled in the submodules, used xcodebuild
but it's getting link errors still. Maybe Im missing something obvious?
Undefined symbols for architecture x86_64:
"___pthread_set_self", referenced from:
_injectEntry in mach_inject_bundle_stub.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/mach_inject_bundle_stub.build/Default/mach_inject_bundle_stub.build/Objects-normal/x86_64/mach_inject_bundle_stub normal x86_64
(1 failure)
I see that there is a Finder_symbols.txt which contains TContextMenu. How do I incorporate that into the project to be used? Do I need to convert it to a .h file and then include that in my .m?
I am trying to use the FinderMenu project within my own project to add a context menu.
Even if I do put TContextMenu interface in a header file, it still fails at objc_getClass("TContextMenu") as an unknown class/nil.
I know its only developer preview 2 but it is failing on the injection command... not so much the injection methods... but the actual injection of a basic log statement is failing...
Ill try to find the time to discover why... together we can all get this resolved!
Is it possible for you to provide an explicit license for your project? I've used your project though I've modified a lot. But since it is originally yours, I need an explicit license in order to use it. Let me know as soon as possible. Thanks!!
Test results:
Hey
I tried the code and it works fine on my machine.
I few issues though. Can you please help ?
When I click on the Menu I want to get a callback to my application saying the item was clicked. I tried googling and I haven't found single way to do this :(
Will you also let me know how I can inject the code during my app launch and remove it during my app quit. Like how it works on dropbox ?
Please help.
Thank You
Gautham
@zerodivisi0n waiting for you reply.
Hi. Launching the run.sh script causes the Finder in Yosemite to crash. Can you suggest a way to make FinderMenu work with Yosemite?
Hi zerodivisi0n,
First I have to say you have really done a good job. It works neatly!
However, it seems like not working while browsing Finder in icon browser mode.
Was it happened only to me? Or you're encountering the same issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.