Spotlight Search file contents

I have a lot of Flash .as files. They are just text files, but they need the .as extension to work with Flash.
I'm trying to use Spotlight to search inside them, but it doesn't seem to work. I know that there are certain words in the contents of these files, but if I search I get no results.
Is there a way to tell Spotlight to index these types of files? Why wouldn't it just do it to begin with?

They open by default into Flash. But if I open one with text text they open just fine. They are simply text files.
Spotlight seems to know how to look inside all kinds of things. It seems to index jsfl (another kind of file related to Flash) so it seems to know about a lot of "fringe" types.
If not there must be some way to edit the spotlight settings and tell it that .as files are just text....

Similar Messages

  • Cannot search file content on Word document with embedded Excel table

    Cannot search file content on Word document with embedded Excel table. I have Windows 8.1 64-bit and Office 2010 Professional. Only phrases from within Excel tables are not searchable. I have many Word documents with embedded Excel table.
    I use it for my invoices. Those invoices are converted to pdf to be sent via mail. Searching the same phrases in related pdf files Works fine. And yes, folders are indexed, searching service is active......... For example I can find all invoices that have
    specific address or name, which is located in word document, but cannot find invoices with specific item name or price, being that information is in embedded Excel table. (not linked, embedded). I thought that is a question for Windows forum, but guys directed
    me here on Office forum. To clarify, I do not use Ctrl+F inside some document, but Windows Search in my folders. Probably the same happens in Office 2013.
    Thank you.

    Hi, I have a lot of Word documents (invoices, offers). Main part of those documents is embedded Excel file because it is easier to do mathematics in Excel than in Word. There are columns with description, unit price, quantity, taxes... Now, I need
    to find who bought HP switch 2530-24G last year. I open folder with last year invoices and search "2530". Cannot find any. But if that document was converted to pdf for mail, than I can find that phrase. Windows search does not work for content if the content
    is in embedded file.

  • Spotlight: Search in content working on substrings

    If you search for content with Spotlight, you have to type the search phrase from the beginning, i.e. searching for files containing the word homework you could search for home or homework but not for work.
    Capitalization is important. So homeWork can be searched by home, homework and work but not by ork.
    Does anyone know, how to create a spotlight search, that does a true search for "contains in content" working on substrings as well?
    Peter

    Hello JSam23,
    Thanks for using Apple Support Communities.
    If Spotlight isn't bringing up expected search results, you can reindex Spotlight so it knows where those files are located.  Take a look at the information below on how you can do this.
    I do want to forewarn you though, that reindexing Spotlight, especially your entire hard drive, can take time depending on how full the hard drive is.  This can result in your computer seeming slow, or the fans running at a higher speed than normal.
    From the Apple () menu, choose System Preferences.
    Click Spotlight.
    Click the Privacy tab.
    Drag a folder or an entire volume (your hard drive) to the list.
    If prompted for confirmation, click OK.
    Remove the item or volume you just added to the list by clicking it and then clicking the minus ("-") button.
    Close Spotlight preferences.
    Spotlight will re-index the contents of the folder or volume.
    Spotlight: How to re-index folders or volumes - Apple Support
    Cheers,
    Alex H.

  • How to search file contents in finder?

    How do I search for file contents in finder? All I see is the option to search "This Mac" or "Edited."

    Under the partial results appearing under the search box is a + icon (next to save).  To see it, click on the toolbar somewhere so the results popup clears.  Then you can define your search.

  • Search File Content

    I want to know, is there any way i can search a file for the occurence of a particular word.
    wants to get the count of this word in the whole file.
    Any help is appreciated.

    Your problem is under-specified.
    My assumptions:
    o By "word", you mean "string of text characters".
    o The file to search is a text file.;
    Solution:
    open the input file (File, FileStream).
    wrap it in a data stream.
    read lines of text.
    For each line
    search for the word counting occurances.
    Close the input file.
    Report your final count.

  • Cannot search PDF file contents - Windows 7 32 bit - Adobe Acrobat X

    Hello,
    If this is in the wrong forum please move it.
    I work in an enterprise environment and our systems are having trouble searching file contents in Windows Explorer using Acrobat X and Windows 7 32 bit. The files are on a mapped network location.
    After removing all adobe products from a test machine and reinstalling the Acrobat 10.0.0 software the windows explorer search function seems to work locally but once I install Acrobat 10.1.anything update, it will fail. It never worked on a networked location.
    I have also tried installing Adobe Acrobat 11.0.00 after removing 10.0. Then I made sure my indexing settings were setup to index files and contents and made sure the .pdf extension was selected under file types.
    I then created a mapped drive to the network location, and setup my indexing to the folder on that network drive. I was able to do this by installing this Microsoft Add-in that allows use of UNC paths in the indexing.
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=3383
    Once I set this up, I rebuilt my index and restarted the computer. This is where it gets weird. I can now search the contents of PDF files in this indexed network location, but only by one letter. Searching "c type:pdf" will produce results, but "co type:pdf" will not. I know for sure some of the documents have the work Comment in there so this should should up.
    Does anyone have experience getting this to work correctly with the latest versions of Adobe Acrobat X or XI and Windows 7 32 bit? It would be greatly appreciated.
    Thank you.

    I will never understand why but in the end I rebuilt my 32 bit dell laptop from scratch and the pdf files can now be searched.
    I cannot search them on a mapped drive as I was able to with Windows XP because now they must be indexed and windows 7 will seems not to allow a mapped location to be indexed which must be done to make the pdf files searchable so I have had to move the files to the local drive.
    My Windows 7 64 bit systems can search the mapped drives just fine without needing to be indexed. Again I will never understand why this works and the 32 bit machine does not.

  • Spotlight doesn't find search results in .HTML file contents

    When I use Spotlight to search, it doesn't find any .HTML file contents. If I rename an .HTML file to use a .TXT extension, the contents are found. Is there a way to enable Spotlight to find contents in .HTML files?

    I remembered that used to be problem, so I just checked on my local version of my site, and Spotlight found the files on the basis of content without a problem. So I took a look at my installed mdimporters in /Library/Spotlight, to see what may have led to this happy turn of events. I thought perhaps the iWeb mdimporter might be doing it, but was unable to find a reference to HTML in its type declarations. I then took a look at in /System/Library/Spotlight and discovered that RichText.mdimporter has a declaration for public.html as a content type. You should have that mdimporter installed by default, but you might take a look to make sure it is there.
    If the mdimporter is there, but the html files aren't being indexed, it could be that whatever program you are using to create them isn't giving them the appropriate content type. I code by hand using TextEdit, which saves them with the following metadata entry:
    kMDItemContentType = "public.html"
    kMDItemContentTypeTree = (
    "public.html",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
    They are then evidently indexed without problem by the RichText.mdimporter. You might try opening one of your html docs in TextEdit (as plain text), resave, and see if Spotlight then picks up the content of the file. Of course, the content means the words that people see when they look at the page in a browser. If the content you are talking about is stuff that is inside an html tag, you are out of luck. I know of NO way to get Spotlight to find that. EasyFind will though, but it is a brute force search and will take awhile, even when restricted to a particular folder.
    Francine
    Francine
    Schwieder

  • Finder/Spotlight does not seem to be searching the contents of docx files anymore. How do I re-enable this search function?

    I used to be able to search the contents of .docx MS Word files in the past, but this feature suddenly stopped working.
    Anyone else experiencing this as well and is there a fix?
    Thanks.

    Similar or same problem, with similar and same hardware/software.  This is incredibly frustrating given that for the last ten years we've been told not to worry about organizing our files but instead rely on tags and meta-data.
    .docx files are found when no file content is searched.
    When some content is searched, recent .docx files (last 7 days) files may appear, but nothing older.
    Just to be clear, when any content is searched for, no .docx files older than 7 days are present in search results.
    However, .doc files with identical content are found, as are PDFs etc.
    Reindexing changes nothing.
    MBP 15" 5,4  OS10.9.4
    Word 2011 for Mac 14.4.2 (140509)

  • How to search the contents of emlx files in 10.7 Lion ?

    Hi,
    Since Apple Mail in 10.7 leaved some messages in a Mail Lost+Found folder it would be nice to find out which of those messages might also exist in the active mailboxes and since Apple Mail cannot import these Lost & Found mails (unless manually opened and sorted in Mail), it would be handy to do a quick search for text in these messages. Why does no Search options ever works when needed in Mac OS X ? EasyFind could not find anything either. Reindexing did not help. Raw content serach in the Finder does not help. Why cannot the Mac system be a little helpful when it comes to searching?

    Yes, your conclusion seems logical, indeed, but I am copying text from an opened emlx file and even if I put it on my desktop and do a Finder search; a Spotlight search or a search via EasyFind, none of them actually find the file ... . Which may lead to the conclusion that I am doing something wrong, but I do not really think so ... .
    I now even created a new folder on the desktop and dragged the emlx message from which I choose a word and try to search it with EasyFind with no success, but I eventually managed to find it through Spotlight now, but Spotlight does not find the file in the Mail Lost+Found folder. Which makes clear this is related to permissions of the files in my own home folder that Lion has given them. And, yes, the solution is that the folder where the emlx file is stored within the Mail Lost+Found folder has no read permissions for anyone but the owner.
    Problem solved. Have to verify this on other computers (but the permissions were not handled correctly somewhere back through history or when converting the messages from 10.6.8 ...).

  • How to search the content of TPL files?

    Hi. I have a folder with hundreds of template "tpl" files that I'm needing to search the file contents of but using the regular search of that folder is unable to search the content of the tpl files, is it possible to do so?
    Thanks!,
    Wesley

    I assume there's not a "scan all files" with Spotlight?
    I don't think that would be possible in the specific case of content searches. Here's my understanding:
    EasyFind searches the files themselves when it looks for content, which makes it slow but very flexible.
    In contrast, Spotlight searches a pre-existing index when it looks for things - it can be instructed to search the index in various ways, but if the desired information is not in the index in the first place, it won't be found. Indexing the content of every file in the system is not feasible, so only the contents of certain file types get indexed. I found the following in [this Wikipedia article|http://en.wikipedia.org/wiki/Spotlight_%28software%29]:
    Aside from basic information about each file like its name, size and timestamps, the mdimport daemon can also index the content of some files, when it has an Importer plug-in that tells it how the file content is formatted. Spotlight comes with importers for certain types of files, such as Microsoft Word, MP3, and PDF documents. Apple publishes APIs that allow developers to write Spotlight Importer plug-ins for their own file formats.[3]
    So unless you'd care to write your own Spotlight Importer plug-in for tpl files, I think you are out of luck!

  • How do you search for file content in Mountain Lion?

    I recently upgrade my MacBook Pro to Mountain Lion. I used to use spotlight to search for specific content within files before the upgrade. Now spotlight is only giving me file names and won't allow me to search for content within the files, even if I used quotations in my search. Is this just a glich on my computer or is there something I need to reset? Thanks!

    Try rebuilding the Spotlight index.  Go into the Spotlight privacy pane, and then add your hard drive to the "privacy" section.  This will erase its index.  Then remove your hard drive from the index and Spotlight will rebuild  the index.  It will take an hour or two.

  • 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.)

  • 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.

Maybe you are looking for