Ways to invoke python and Spyder on OSX

To make spyder callable from Spotlight or Finder: Locate where your spyder executable is by running in Terminal: which spyder This should yield ~/anaconda/bin/spyder if you installed spyder via Anaconda, /opt/local/bin/spyder if you used MacPorts or something similar. Create a file called spyder in your Applications directory and make it executable. Then, fill it with … Read more

Howto add menu item to Mac OS Finder in Delphi XE2

Finally, I returned to this project and successfully registered service provider and handled service request. First of all I tried to use NSRegisterServicesProvider method, but there is no such method in Macapi sources, so I searched for applicationDidFinishLaunching delegate. Using it I registered my service provider: procedure TApplicationDelegate.applicationDidFinishLaunching(Notification: Pointer); var autoReleasePool: NSAutoreleasePool; app: NSApplication; provider: … Read more

How to Write OS X Finder plugin

The Finder Icon Overlay example project represents a small and very basic but actually working example of the answer below. https://github.com/lesnie/Finder-Icon-Overlay I know this is so old, but some may be still interested in topic (?) Here is what I have it done under Leopard (10.6). At first proper Finder’s headers are needed. Use class-dump … Read more