Skip to content

Instantly share code, notes, and snippets.

@selaromi
Last active July 25, 2023 19:21
Show Gist options
  • Star 49 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save selaromi/59666a71387d39b5bfac to your computer and use it in GitHub Desktop.
Save selaromi/59666a71387d39b5bfac to your computer and use it in GitHub Desktop.
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/
@mat1th
Copy link

mat1th commented Aug 26, 2015

Thanks, It works!

@tomibennett
Copy link

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

Thanks, working on 10.10.5!

@itsgg
Copy link

itsgg commented Sep 9, 2015

Works fine in 10.10.5

@learn2reid
Copy link

Worked great for me on 10.10.5! Thanks so much!

@dramaticlly
Copy link

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

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

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

@abrown435
Copy link

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

Great, Thank you so much!!!

@nutelina
Copy link

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?

@martindieck
Copy link

Please help

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

@martindieck
Copy link

And where is Flashlight.osax

@SergioGeeK7
Copy link

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