Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Steps to make Flashlight work on 10.10.4 (doesn't work for El Capitan)

Make Flashlight work on 10.10.4

  1. Install SIMBL http://culater.net/software/SIMBL/SIMBL.php
  2. Copy SpotlightSIMBL.bundle to /Library/Application Support/SIMBL/Plugins/ (a)
  3. Copy Flashlight.osax to ~/Library/ScriptingAdditions/ (b)
  4. Disable Flashlight
  5. Enable Flashlight
  6. Open Script Editor on your Mac (look for "Script Editor In Spotlight") and paste the following code (don't change Snow Leopard for Yosemite)
tell application "Spotlight" to inject SIMBL into Snow Leopard
  1. Run the script. if it worked, export it with the name "Inject SIMBL into Spotlight" or something and with file format Application (important).
  2. then go to users & Groups -> login items, select your user and press '+' and select the newly exported script.

That's it. Thanks to hufufuf for the explanation of how he did it.

(b) Flashlight.osax is in

/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/PlugIns/ 

(a) SpotlightSIMBL.bundle is in

/Applications/Flashlight.app/Contents/Library/LoginItems/FlashlightSIMBLAgent.app/Contents/Resources/SIMBLPlugins/
@CodeBrauer
Copy link

CodeBrauer commented Aug 3, 2015

Did not work for me, but I didn't used flashlight before – so I keep using alfred+spotlight combo till this is getting offical fixed.

Copy link

ghost commented Aug 11, 2015

nice ,,thanku

@tsimmons
Copy link

tsimmons commented Aug 14, 2015

Can anyone confirm that this also works on the official release of 10.10.5?

Copy link

ghost commented Aug 16, 2015

@tsimmons: Don't work for me at 10.10.5. Any suggestions?

@mstumbo
Copy link

mstumbo commented Aug 17, 2015

I'm having trouble getting this to work. I get as far as running the the "Inject SIMBL into Spotlight" application. The next time I use spotlight, spotlight crashes as soon as I type something. Spotlight works the second time I run it, but the Flashlight plugins do not work. Has anyone else encountered this?

@petyosi
Copy link

petyosi commented Aug 19, 2015

Works in 10.10.5 for me, too. No tweaks needed.

@jcislinsky
Copy link

jcislinsky commented Aug 19, 2015

@jendas1
Copy link

jendas1 commented Aug 24, 2015

I have the same problem as @mstumbo . Here is the crash log:
http://pastebin.com/tBpjFr0W

@mat1th
Copy link

mat1th commented Aug 26, 2015

Thanks, It works!

@tommychat
Copy link

tommychat commented Aug 26, 2015

Amazing thanks a lot!

@adri2906
Copy link

adri2906 commented Sep 5, 2015

@selaromi what about the new 10.10.5? It seems not working as the 10.10.3, can I follow the same path to install it with SIMBL?

@vhristev
Copy link

vhristev commented Sep 7, 2015

I make it work with 10.10.5 but it's buggy.

When it crash i need to Initiate Apple Scrip to make it work again and its crashing randomly

@BraisDosGoros
Copy link

BraisDosGoros commented Sep 8, 2015

Thanks, working on 10.10.5!

@itsgg
Copy link

itsgg commented Sep 9, 2015

Works fine in 10.10.5

@learn2reid
Copy link

learn2reid commented Sep 10, 2015

Worked great for me on 10.10.5! Thanks so much!

@dramaticlly
Copy link

dramaticlly commented Sep 17, 2015

unable to run the script "tell application "Spotlight" to inject SIMBL into Snow Leopard
"..error -> "Spotlight got an error: Can’t continue inject SIMBL into Snow Leopard." number -1708

@theRealNG
Copy link

theRealNG commented Sep 23, 2015

I'm also getting error
error "Spotlight got an error: Can’t continue inject SIMBL into Snow Leopard." number -1708

@shrx
Copy link

shrx commented Oct 3, 2015

Thanks, works for me on 10.10.5.

@uxDaniel
Copy link

uxDaniel commented Oct 5, 2015

For anyone getting syntax error: 'Identifier' can't follow this 'Identifier', even after closing Flashlight, restart your mac, close Flashlight again, then run the script. Tested on 10.10.5!

@teddyknox
Copy link

teddyknox commented Oct 15, 2015

I'm also getting error
error "Spotlight got an error: Can’t continue inject SIMBL into Snow Leopard." number -1708

@Leomund
Copy link

Leomund commented Oct 30, 2015

is there any way how to make it work on El Capitan?

@abrown435
Copy link

abrown435 commented Dec 16, 2015

Thanks! Works in 10.10.5

@ashwinb
Copy link

ashwinb commented Jan 25, 2016

@mstumbo, @jcislinsky: I encountered the crash as well. Looking into system.log, I found a stacktrace and a message "launch path not accessible"... I hooked up lldb, and was able to locate the issue. The path

/Library/Application Support/SIMBL/Plugins/SpotlightSIMBL.bundle/Contents/Frameworks/FlashlightKit.framework/Resources/invoke_plugin.py

is not executable and cannot be marked as executable. I just changed the permissions using sudo and everything was well :) Hope that helps.

@Maximalsnooze
Copy link

Maximalsnooze commented Feb 9, 2016

Great, Thank you so much!!!

@nutelina
Copy link

nutelina commented Apr 22, 2016

I get an error with the Script Editor on El Capitan 10.11.4 "Spotlight got an error: A privilege violation occurred." number -10004 Flashlight does seem to work but it doesn't bring up Spotlight...

@Ru7z
Copy link

Ru7z commented Jul 31, 2016

Spotlight 1.0 (v972.34) has not been tested with the plugin SpotlightSIMBL 1.0 (v17). As a precaution, it has not been loaded. Please contact the plugin developer for further information.
What does this mean..
What can i do that?

@Krutterlax
Copy link

Krutterlax commented Aug 8, 2016

Please help

I dont know which link to click to install SIMBL. and what does SpotlightSIMBL.bundle mean and where can i find it?

@Krutterlax
Copy link

Krutterlax commented Aug 8, 2016

And where is Flashlight.osax

@SergioGeeK7
Copy link

SergioGeeK7 commented Mar 8, 2017

Works !!! ... the files paths are on the bottom of the guide O.o
Thanks

@Json-Luo
Copy link

Json-Luo commented Sep 6, 2017

thanks a lot! it works perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment