Mike Chambers

code = joy

Spotlight Search Plugin for ActionScript

with 16 comments

I have created a simple plugin for Spotlight search on Mac OS X 10.4 (Tiger), that allows Spotlight to index ActionScript files. This will allow you to use Spotlight to search for terms / functions / code, etc within ActionScript files on your system.

NOTE, THIS CODE AND PLUGIN IS NOT SUPPORTED BY MACROMEDIA. USE AT YOUR OWN RISK.

This is a very Alpha version of the plugin.

You can download the plugin from here.

Installation instructions are included in the readme file within the zip.

If you have any bug fixes, problems, recommendations, etc…, just post them in the comments.

Written by mikechambers

June 27th, 2005 at 9:42 am

Posted in General

16 Responses to 'Spotlight Search Plugin for ActionScript'

Subscribe to comments with RSS

  1. Sweet!!

    ericd

    27 Jun 05 at 9:59 am

  2. this is awesome.

    are there any known bugs already?

    Patrick

    27 Jun 05 at 10:09 am

  3. by the way, i really appreciated this system message when removing my spotlight index:

    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

    Patrick

    27 Jun 05 at 10:15 am

  4. just a warning for some of y’all who are about to delete the spotlight index, mine is estimating that it is going to take up to 5 hours to re-index.

    Patrick

    27 Jun 05 at 10:18 am

  5. how would one go about un-installing it? its probably my system causing the issues, but since i stalled it my system is running really poorly so i think i want to uninstall the plug-in just to be sure.

    thanks.

    Patrick

    27 Jun 05 at 10:56 am

  6. You can uninstall it by removing it from:

    /Library/Spotlight/SourceCode.mdimporter

    I actually had the same problem (it was mds). Once I rebooted, everything seemed to work fine.

    mike chambers

    mesh@macromedia.com

    mike chambers

    27 Jun 05 at 11:23 am

  7. i’m wating for the index to finish rebuilding, then i’ll go for another restart and see what happnes.

    Patrick

    27 Jun 05 at 11:42 am

  8. how about us windows users

    eurosickwitit

    27 Jun 05 at 11:47 am

  9. >how about us windows users

    As soon as apple releases spotlight in Windows, ill look into getting the plugin to work there.

    mike chambers

    mesh@macromedia.com

    mike chambers

    27 Jun 05 at 12:00 pm

  10. alright. the index finished rebuilding. i powered down the machine for a little while. started back up and everything seems fine. and the plugin seems to be working great.

    thanks mike.

    Patrick

    27 Jun 05 at 12:31 pm

  11. What exactly does this add to spotlight?

    When i search for function names in my .as class files they already show up in spotlight.

    Geoff

    28 Jun 05 at 8:42 am

  12. Thanks Mike! I was searching around this morning and found directions to build a plugin. That prompted me to look for one already built. Whatdyaknow… you had already built one. Very cool.

    Patrick – that behaviour is pretty normal. When I first installed 10.4 I was really worried because of the constant disk activity and pegged cpu caused by mdimport.

    John

    21 Jun 07 at 8:54 am

  13. Any chance this works with 10.5.2? Spotlight doesn’t appear to be indexing the contents of .as files in Leopard.

    LEE

    20 Mar 08 at 7:42 am

  14. Hmmm, I’m running 10.4.11, and it’s not working. Did you ever update this?

    Chris

    20 Mar 08 at 3:42 pm

  15. If you’re on Leopard and Spotlight isn’t searching the content’s of your .as files. Here is a solution for youuu

    http://www.leefernandes.com/blog/blog/Entries/2008/7/17_Leopard’s_Spotlight_%26_Actionscript_Reunited!.html

    lee

    30 Jul 08 at 2:04 pm

  16. I’ve found similar solution to index .as files at http://www.macosxtips.co.uk/index_files/terminal-commands-for-improving-spotlight.html (the minute before visiting this post). Seems it works.

    Denis

    9 Apr 11 at 4:34 pm

Leave a Reply