Spotlight search in Actionscipt files / Lion

I'm using the latest version of Coda (1.7.4) as my default text editor and Coda is using Spotlight to search in the content of text files.
I'm developing a flash project and it has a lot of .as files which are linked to the Archive Utility by default. (UTI: com.apple.applesingle-archive)
Coda is searching only in text files (it *****, i know) and changing .as files' default application has no effect in the results.
My secound try was to add these lines
<string>public.archive.applesingle</string>
<string>com.apple.applesingle-archive</string>
<string>com.panic.coda.actionscript</string>
to the Info.plist file in /System/Library/Spotlight/RichText.mdimporter and reindexing with the following commands:
mdimport -r /System/Library/Spotlight/RichText.mdimporter
and
sudo mdutil -E /
No luck.
Does anyone have a working solution of adding new text file extensions to Spotlight?

It seems that after this tweaks spotlight has the expected search results.
Coda don't, so i think it's their turn now to fix the "search in files" option.

Similar Messages

  • Spotlight searches missing some files

    My searches in Spotlight are returning only some of the files that should be found. I finally narrowed this problem down to files that I had archived with BetterZip, but kept on my hard drive. The files are definitely still there on my hard drive, but they no longer appear in Spotlight searches. As soon as I open the files with an app, the files appear again in Spotlight searches. What has been done to the files that they don't appear in Spotlight searches? What is the fast method to change a setting/flag/unmark all the zipped files so they will all appear in Spotlight searches.
    Reindexing Spotlight has not helped--I have reindexed Spotlight probably a dozen times with various methods over the past few days and nothing happened until I opened and closed the file. Once I open the file, it's a matter of moments before it appears in a Spotlight search.
    System: OSX 10.4.11
    Thanks!

    I experimented some with rights and I can't see any consistent differences. All permissions seem to be 644 or 755. Neither the files that appear in Spotlight searches nor the files that do not appear in Spotlight are one or the other. Plus the permissions do not change after opening and closing the file.
    I am the Owner of all the files. I noticed that some files appearing in Spotlight had a different Group assigned, so I changed the Group on a few files, but that made no difference in whether the file appeared in Spotlight.
    Would upgrading to Leopard solve this problem?

  • Mail+Spotlight Search Not Working in Lion

    I've been dealing with this problem for over a month and have not been able to fix it.  Search works fine in Lion on several computers, but on my laptop it still won't do a complete search.  It will only pull up emails from people in my contacts list..... no subject key word searches or people outside my contacts searches..... very frustrating! The searches also don't work in Spotlight, so I can't use spotlight as a backup.
    I've tried rebuilding my mailbox.... deleting and recreating the account.... tossing out the Envelope Index folders in the Mail library... Deleting and re installing my search window, etc...... I see lot's of other people with the same issue. It's frustrating when your running your business on your computer and have to deal with a flaw in a new OS..... it was working fine in Leopard..... whats up APPLE?  Please help! 
    Other Info:
    Macbook Pro 2008 Version with 2.5 Ghz Intel Core 2 Duo
    Running 10.7.4

    Glenn,
    Regarding adding and deleting the System Drive from the Spotlight Privacy Tab...... I'm following your sequence, but when I come back to Spotlight Search in the menu bar it just works the same.... no mention of indexing. What's interesting is that "Mail" dosn't appear anywhere in search results when a keyword search is performed via spotlight.
    Regarding the "enevelope Index Files" ..... I followed the instructions and quit and re-opened mail as instructed.  When I re-opened Mail I selected "continue" and the program began to index the contents of mail for about 30 minutes.  I thought that would would fix the issue, but it's still not working. 
    I've tried to compare the account setup from my IMAC which works fine to see if I have something setup wrong in the account, but everything looks the same. 
    I guess I can try to re-index again?  Don't know what else to do? 
    Thanks,
    Bill

  • Searching for (1) file

    I'm trying to do a spotlight search for certain files named "DSC0xxxx (1).JPG" that I want to delete. When I type "(1)" in the search field all files with the number 1 come up. It's as though the parenthesis are ignored.
    Is there something with parenthesis that makes them invisible.
    I have thousands of files with the (1). It would be nearly impossible to locate and delete them one by one.

    I came here with a similar issue. Many files with (xx) don't show up under xx search or (xx) search with OS 10.5.6. Not sure if Tiger was any different.
    From the advice of one of the folks in this thread (Francine Schwieder), I used "Raw Query" instead of "Kind" using the Finder search (not the Spotlight up in the corner). I assume this will work with msfind in the Terminal but haven't tried it.
    What I found so far...
    _kMDItemDisplayName == "("_ This finds the first item only *within the folder* that I'm searching. That is, once it finds one item, it seemed to stop(?!). It didn't find the next match, just the one.
    _kMDItemFSName == "("_ Finds all that match, unlike above. Very promising. All items with "(" are found whereas kMDItemDisplayName returned the only the first item in the searched directory. Don't know why.
    _kMDItemFSName == "(*B"_ This finds all matches, as above, if B is removed. But here, the letter B was within the last item in the directory. kMDItemDisplayName did not find this. Zero results. Nice that more than two wild-cards can be used!
    Message was edited by: kerferfer for a more beautiful formatting

  • Spotlight search doesn't work on Time Machine after Lion

    I've got a new (couple of months old) iMac that came with Snow Leopard.  Since updating to Lion however, I've been unable to search for any files on my Time Machine drive (external USB connected HDD).
    I've tried forcing Spotlight to re-index my external drive by adding the external drive to the Spotlight Privacy and then removing again but I'm not convinced It's doing anything.  I've also tried repairing the time machine disk in Disk Utility (which completed with no problems)
    The strange thing about this problem is that if I set Finder to show all hidden files (via the "defaults write com.apple.finder AppleShowAllFiles TRUE" command), after I reboot and go into Time Machine, it starts picking up files that I'm searching for.  But when I disable the hidden files again, Spotlight goes back to returning 0 results.
    This is really frustrating as everything was working before I updated to Lion.  I've tried searching for other clues to clearing my Spotlight cache on the external drive but nothing has worked.  Some methods (such as this:- http://web.me.com/pondini/Time_Machine/A5.html) refer to repairing a sparse bundle on my external drive but I can't find the file it's talking about.  Am I missing something obvious here?
    Any help would be most appreciated.

    Anyone can help on that topic ?
    I'm looking for a solution for that too ...

  • Continuing to "index spotlight search" in Lion?

    how do i help my MBP finish indexing the spotlight search now that i've upgraded to Lion?

    After Lion upgrade my TM took a long time and subsequent TM back ups should have been trivial but also took a long time.  I searched google and found this:
    http://maurodelrio.com/2011/07/24/fix-lion-slow-timemachine-backups/
    which suggests to turn TM off, then delete the .Spotlight-V100 file at the root level of the partition that contains the TM directory. My TM location is a network drive on a Mac Mini, so  I had to mount the network drive on the MacMini, then double click the  sparse bundle to mount the TM directory, cd into the TM partition, then
    sudo rm -r .Spotlight-V100
    Now my TM backups are very fast.

  • When i search for mp3 files spotlight shows id3 tags instead of filenames as it used to do !!! I DONT want that .. how can i disable it !!!!!???????

    when i search for mp3 files spotlight shows id3 tags instead of filenames as it used to do !!! I DONT want that .. how can i disable it !!!!!???????

    Sorry, my handful of mp3's had the file name as the id3 tag name.
    So, I am seeing the same thing as you.
    Oddly, a while back I was trying to help someone out in Mountain Lion that wanted to see the id3 tags in the Finder.
    It's all a bit silly. They should have added columns instead or changing it to tag song name.
    They are transitioning to having everything reflect the content and not the file system, so this may not be reversible.
    The best I think you can do is provide feedback: http://www.apple.com/feedback/macosx.html

  • Spotlight cannot find any files on an OS X Lion server. Any ideas?

    Spotlight cannot find any files on an OS X Lion server.
    Spotlight keeps on "losing" the files on the system. Spotlight searches will show applications, but no files. Rebooting the system will cause the files to start appearing again in searches, but the problem re-occurs within a day or two of the reboot. Removing and re-adding the volume with mdutil has the same effect as rebooting the system, but is much slower due to the re-indexing once the indices are deleted.
    $ sudo mdutil -sv /
              Indexing enabled.
              Scan base time: 2011-11-07 15:43:31 +0000 (1209505 seconds ago), reasoning: 'scan required - mount side'
    So it seems to know it needs to scan the volume. When I do
    $ sudo mdutil -i on /srv/store2
    I then get
    $ sudo mdutil -sv /srv/store2
    /srv/store2:
              Error: unexpected indexing state.  kMDConfigSearchLevelTransitioning
    Which would assume means it's changing from an unindexed state to an indexed one.
    There is no Spotlight config that would prevent Spotlight from locating the files in question. The index just appears to be inaccessible. mdutil -s / shows "Indexing enabled" for / (the mount point in question) and "Indexing disabled" for /srv/store2, another folder it should be indexing.

    Update
    After reboot, mdutil -sv /srv/store2 shows:
    /srv/store2:
      Indexing enabled.
      Scan base time: 2011-08-22 15:53:26 +0100 (7954912 seconds ago), reasoning: 'scan required - shutdown side'
    And I can see three mdworker processes running
    $ ps ax | grep mdworker
      299   ??  SN     0:00.35 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.pool.0
      341   ??  SN     0:00.41 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.pool.0
      634   ??  SN     0:00.43 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker -s mdworker -c MDSImporterWorker -m com.apple.mdworker.pool.1

  • When importing a cd on to itunes where is the original file kept because my itunes folder doesn't have it, the song does come up when i spotlight search it but i can't locate it

    i cannot seem to find where the original file for tracks that have been imported from a cd are kept because they are not in the itunes folder, however the song is somewhere as it does show up on spotlight search and plays when i click it. where would i find it?!

    It will be in the iTunes media folder location shown in iTunes prefs > Advanced.
    Select the song, right click > Show file in Finder.

  • File not visible in Finder until spotlight search

    Wierd.
    I have been working on a Photoshop project all week. The project uses several jpg files and I have saved the psd's in the same folder. Toady when starting up PS, none of the psd files were in the folder - everything else for the project was. Baffeled and panicked, I did a spotlight search and found them.
    Here's the wierd part. The psd files are in the folder they belong in! But I can't see them in the folder. PS also cannot "see" them if I try to open from within PS.
    I can open the psd files direct after finding them with Spotlight. ***.

    Change the Finder view mode; for example, from icon view to list view, or vice versa.

  • Hundreds of Identical Files & Folders Show In All Spotlight Searches

    Hundreds of Identical Files & Folders Show In All Spotlight Searches
    Hi,
    I had this issue posted in September and didn't get back to it 'till today so I found it archived. I don't think I got any answers the first time around. When a post is archived, are replies archived also?
    Here's the problem:
    Spotlight works for me the way it’s designed to work. It finds what I’m looking for if the item is in the computer.
    But what are showing up in most of my searches, are long columns of files, all with the same names, sometimes as many as forty or fifty identical items. These files have the same dates and sizes. Some are located in different folders, including Trash, but most are complete duplicates
    I do occasionally save as the same document in different places, or make a duplicate/copy to put in more than one location. But I have never created more than a few duplicates. In Spolight, there are hundreds
    Any suggestions?
    Rafael
    ibook g4 Mac OS X (10.4.7)

    I rebooted the machine. Now all the files show up in Finder. But when I repeat the exporting procedure I get the same problems again. Files are not showing up in Finder as they are supposed to.

  • When I do a Spotlight search I would like it to show which folder a file is in

    When I do a Spotlight search I would like it to show which folder a file is in

    Thanks for the response.  When I do a search on my PC the folders are all shown.  That is very helpful because I can sort by folder.  Is there no way to do this with my Macbook?

  • Does Spotlight Search HTML Files?

    I have a folder full of HTML files I just imported to my MacBook about a week ago. They have been backed up by my Time Capsule. But when I search for keywords in the contents of them, they do not show up. The file names will show up, but none of the contents (which are mainly text). I have tried to force Spotlight to search only the folder that contains the files, but it does not seem to be searching the HTML files.
    Are HTML file contents excluded from Spotlight searches? I seem to have a number of webpages that come in Spotlight for keyword searches that appear to be the result of searching the file contents. So is there a trick to this? Is there some way I can force Spotlight to index this folder? Just not sure why it seems to search the contents of some HTML files and not others.

    Are HTML file contents excluded from Spotlight searches?
    No, HTML files are not excluded.
    Open System Preferences > Spotlight, under Search Results tab is Webpages checked?
    If yes, download a new html file and see if Spotlight finds it. If yes, then it could be a permissions issue with the files you imported. Do a Get Info and compare permissions between the new and old files.
    You can reset your permissions on all your files similar to Disk Utility using the Recovery Drive. See instructions here:
    Use OS X Recovery Disk Assistant to reset Your files and folder permissions
    (Fair disclosure: NeedHelp4Mac is my site. I may receive some form of compensation, financial or otherwise, from my recommendation or link.)

  • Spotlight Search is not working with Lion

    I was on 10.6.5 and installed Lion.
    Spotlight searching is not working at all now. I have tried everything in the Spotlight preferences Confidentiality, selecting my hard disk and exclusding it quitting putting it back.
    I waited 3 days to be sure it was not because indexing is not finished.
    I don't know what I can try now..
    I have Time Machine I tried Mac OSX Combo 10,7.3.

    Try this, lauch Terminal and at the prompt copy & paste
    sudo mdutil -i off /
    Press return.
    You'll be prompted for you password, it will be invisible
    Then copy & paste this command
    sudo rm -rf /.Spotlight-V100
    Press return and finally
    sudo mdutil -i on /
    Press return

  • Spotlight/Finder Search not finding files in search

    Hello everyone,
    When I do a search for a file, any file or folder in fact, that exists in any of the system folders or the /library and user/library folders, they NEVER appear in the search results.
    Could someone please explain to me, for example, why a simple seacrh, say for example, for a folder called "Desktop Pictures" which can be found in MacOS X/Library, never shows up in the search result. Is it just my mac that has this problem?
    I look forward to any responses volunteered!
    thanks!
    SB

    As baltwo eventually explained, you have to add the search criteria "System files" to your search, with the option "Include" selected, to find many items Spotlight otherwise excludes from search results. Alternately (& quite ridiculously), if your search is restricted to the parent folder containing the item, you don't need to add this.
    For example, if you open /Library in the Finder, enter "Desktop Pictures" in the search box, you won't get it in the results with the default "This Mac" location, but if you click "Library" for the location, you will. (Yes, many users think this is bizarre, "what were they thinking?" behavior.)
    What Spotlight considers "system files" is only slightly less bizarre, as you will probably discover once you start using it to broaden searches. For instance, Safari history items & Mail.app messages are not found unless you include system files, but many files like C Header Source files (in System/Library/Frameworks) are found without including system files in the search.
    When it was introduced in Tiger, Spotlight was supposed to be a next-generation search engine, capable of accurately guessing what you were looking for (& filtering out what you weren't) with near-sentient intelligence. I think almost anyone who used that version will agree it did not achieve that lofty goal. Apple apparently agreed, or at least listened to the complaints enough to realize it needed rethinking. Unfortunately, what its designers came up with for the Leopard rethink feels like an early beta version, full of hastily implemented, quirky features that never got sorted out before it was released.
    We can only hope that we won't have to wait for OS 10.6 for a more mature, less quirky version.

Maybe you are looking for

  • 0CUSTOMER data from Unicode R/3 to Non-Unocode BW Error

    Hi, I am getting error data when extracting 0CUSTOMER_ATTR. the error is similar to SDN Link: [Extraction from a unicode ERP to a non unicode BW|Extraction from a unicode ERP to a non unicode BW] We don't have any Languages installed at present. we a

  • IPod visible in iTunes but not Windows explorer

    Hi there, I recently upgraded from windows 7 to Windows 8.1 and since then, my iPod touch and Windows do not seem to be getting along very well. Below is a screen shot of my device manager showing that very sad little yellow triangle next to my iPod.

  • Event.hits property does not work at Adobe 9

    I have just discovered that the property "event.hits" does not work at Adobe Reader 9 properly. I have some JavaScript, which uses this property: if (event.hits.length > 0) var targetPos = event.hits[0].position; Now, at Adobe Reader 9 the value of "

  • Is there anyway i can create a new apple id with my outlook email

    somebody help me before this ****** me off!

  • Retina macbook pro, worst purchase experience ever

    I bought my Macbook pro at the beginning of July.  Specs were 2.6ghz processor, 512 drive with 16 gb of ram.  First mac I ever purchased.  Sold my windows laptop which had similar specs and had worked a charm but the enticement of the new pro was too