Finding something in windows is easier

I don't understand why Apple can't release a new version of Spotlight that index all the files, for example if you want to search a word inside a PHP file you don't have any results, in Windows you can do this very easy, and I can't figure a way to do it on Mac os X.
I have found a way to index PHP files in Mac os X but it takes a lot of steps, and a lot of people would avoid doing this.
Is there a way to find text inside documents like windows? Why you need to index the contents of all documents to find something, in windows you don't need to do that, this way I can find files.
Here is how you can index PHP files in mac os x:
Here's how to get Spotlight to index your PHP scripts. In the Finder, navigate to /Library/Spotlight and locate SourceCode.mdiporter (this is installed with the Developer Tools). Select the file, control-click on it, and choose "Show Package Contents" from the pop-up menu. Now go into the Contents folder in the newly opened window. Double-click on info.plist (this should launch Property List Editor).
Click the triangle to expand Root, then expand CFBundleDocumentTypes, expand 0, then finally expand LSItemContentTypes. Click on the last number in the list (for me it was 6), then click the New Sibling button in the toolbar to add a new key. For the string value, enter public.php-script.
Close the Property List Editor and save when prompted. Go to a Terminal prompt and type:
mdimport -r /Library/Spotlight/SourceCode.mdimporter
Spotlight will now set to work indexing all your PHP files.
( WHERE I CAN DOWNLOAD SourceCode.mdiporter )
PLEASE APPLE FIX THIS PROBLEMS AND LET US SEARCH ALL THE DOCUMENTS LIKE WINDOWS, THIS WOULD BE VERY USEFUL.
ALSO MODIFY SPOTLIGHT TO INDEX ALL DOCUMENTS, WHAT IS THE DIFFERENCE IN A HTML DOCUMENT FROM A PHP FILE, OR PERL FILE, THE INSIDE OF THE TEXT IS THE SAME.

Ramiro -
Please be sure to tell Apple directly of your concerns:
http://www.apple.com/macosx/feedback/
That's the best way to let them know. And the more they hear from folks who are unhappy with Spotlight, the more likely it is they will do something about it. (Crosses fingers and hopes --)

Similar Messages

  • When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Dumb Q: problem with Find And Replace window in Flash 8

    Dear Flash Group,
    apologies if this is trivial, it's my first day using Flash.
    I downloaded a Flash project from
    http://www.flashorb.com/articles/benchmark_files/flash-benchmark.zip.
    This
    flash calls into a web service at localhost:8080. I used the
    'Find and
    Replace' window within Flash Professional 8 to locate the
    string
    'localhost:8080' and replaced it with plain 'localhost'.
    However, when I 'Debug the Movie' (Ctrl-Shift-Enter), it
    still tries to
    access port 8080! Obsiously, my replace command did not do
    what I thought it
    would do. I opened the FLA file in a binary editor, and saw 4
    more
    references to 8080, One if them in 'Properties' of a
    WebServicesConnector,
    but I cannot figure out how to find the other occurences.
    Checking on google, I see lots of people having similar
    problems, but no
    solutions
    Any ideas?
    Regards, /george
    PS. What do you guys do for code completion - is there a tool
    that would
    bring Flash on par with an professional IDE?

    george,
    > when I 'Debug the Movie' (Ctrl-Shift-Enter), it still
    > tries to access port 8080! Obsiously, my replace
    > command did not do what I thought it would do.
    Agreed.
    > I opened the FLA file in a binary editor, and saw 4
    > more references to 8080, One if them in 'Properties'
    > of a WebServicesConnector, but I cannot figure out
    > how to find the other occurences.
    Might they be the result of that WebServicesConnector
    reference?
    > Checking on google, I see lots of people having
    > similar problems, but no solutions
    That's really odd, actually. I'm on these boards every day,
    and I've
    never heard of this issue. I don't *think* the Find/Replace
    dialog visits
    panel contents, such as the Component Inspector panel, but I
    wouldn't swear
    to that.
    > What do you guys do for code completion - is there
    > a tool that would bring Flash on par with an
    professional IDE?
    Well, Flash is a professional IDE, of course. By definition,
    if you pay
    for something, you have acquired a professional product or
    service. I know
    what you mean, though. Flash itself rocks, but the Actions
    panel can be
    glaringly weak. Personally, I use SE|PY to edit ActionScript.
    http://www.sephiroth.it/python/sepy.php
    Sorry I can't speak to your other issue. :-/
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Kill Finder pop-up window for LiveUpdate "ALERT: Please contact the Service Desk at (212) 522-7777."?

    Hello! I bought a second-hand 2008 Intel iMac last May from Ebay, which I was told was wiped but was/is not entirely. First off I will say I'm not a programmer; secondly I will say I first had Snow Leopard on this system and have recently upgraded to Mavericks, and the problem remains.
    I started receiving the occassional popup window on my desktop: "ALERT: Please contact the Service Desk at (212) 522-7777. Your AntiVirus software needs repair. LiveUpdate could not be found in the expected location." Typically appears after every time I restart my computer. I don't have LiveUpdate installed, so I did some Web searching and found that Symantec installs can sometimes leave crumbs around your computer, so I did some Terminal window stuff to try to clean this up (can't remember exactly what I did, but it was instructions from the Symantec website for uninstalling LiveUpdate). Didn't stop the the windows from popping up. I left it for a while, then was aggravated again when I found some parental settings in iTunes set by what seemed like a ghost administrator that was not there -- searched on that, and resolved the parental settings issue by clearing all relevant settings and fields under System Preferences > Network > Advanced, through which the computer was once remotely administered by TimeInc.
    I thought that would also take care of the popups as well but it didn't. I did the Symantec uninstall (that I mentioned above) again, no luck. I had been trying to search the Web for the entire popup message text to no avail, but then I tried just searching for the first sentence, and I found a website where someone had written code that looks to be for sysadmins to make these messages appear on computers they administer. I am almost positive my computer is not being remotely administered, but I assume I need to do something in my Terminal window to make this message stop appearing. Here's the code I found on the Web:
    if [ -f "/Applications/Symantec Solutions/LiveUpdate.app/Contents/MacOS/Liveupdate" ]
    then
    $logger "LiveUpdating Silently"
    "/Applications/Symantec Solutions/LiveUpdate.app/Contents/MacOS/LiveUpdate" -liveupdateautoquit YES -update LUal -liveupdatequiet YES
    $logger "LiveUpdating Completed"
    else
    $logger "LiveUpdate is missing!"
    osascript -e 'tell app "Finder" to activate' -e 'tell app "Finder" to display dialog "ALERT: Please contact the Service Desk at (212) 522-7777. Your AntiVirus software needs repair. LiveUpdate could not be found in the expected location."'
    fi
    $logger "Terminating Normally"
    exit 0
    Any advice on how to kill this Finder pop-up window will have my eternal gratefulness. Thanks!
    - Justin

    My preference is to not reinstall from scratch.
    Well, I can't in good conscience help with that. Essentially, what you're asking is the same as a guy telling his doctor, "Sorry, doc, I'm going to keep right on eating a dozen doughnuts a day, I just want you to give me a pill I can take to keep my arteries clear."
    Not only might there be malware on the machine, either accidentally (no, Symantec products won't do a decent job of protecting against that) or purposefully installed by the seller, but the machine obviously contains all manner of software that you do not have a license for. That software should not have been left on the machine, and it is not legal for you to be using it.
    Save yourself a lot of trouble and just wipe it clean. You'll get a fresh system, with no residual issues and no legal problems to deal with.

  • Windows 7 Easy To Install?

    Is windows 7 easy to install on a mac?

    Boot Camp instructionsare located here: http://www.apple.com/support/bootcamp/
    Some find the process easy some do not. It is a lot easier if you print, read, and follow the instructions.

  • Finding out about window size

    Hello
    I'm trying to find out the window size of the browser
    visiting my web site. There is several javascript codes but I'm
    wondering whether there is anything in CF? I checked CFlib and
    unfortunately didn't find anything....
    At the end I would like to have the width and height
    available for further use. My problem (because I'm a rookie) is to
    take this information out from javascript to a CF variable (or
    structure or whatever).... Thats why I prefer not to use javascript
    at all ;-)
    Is there an easy solution?
    Thank you very much

    >
    > Thanks for further inputs.
    >
    Play with this code a bit.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script type="text/javascript">
    <!--
    function Box(){
    var viewportwidth;
    var viewportheight;
    // the more standards compliant browsers
    (mozilla/netscape/opera/IE7)
    use window.innerWidth and window.innerHeight
    if (typeof window.innerWidth != 'undefined')
    viewportwidth = window.innerWidth,
    viewportheight = window.innerHeight
    // IE6 in standards compliant mode (i.e. with a valid
    doctype as the
    first line in the document)
    else if (typeof document.documentElement != 'undefined'
    && typeof document.documentElement.clientWidth !=
    'undefined' && document.documentElement.clientWidth
    != 0)
    viewportwidth = document.documentElement.clientWidth,
    viewportheight = document.documentElement.clientHeight
    // older versions of IE
    else
    viewportwidth =
    document.getElementsByTagName('body')[0].clientWidth,
    viewportheight =
    document.getElementsByTagName('body')[0].clientHeight
    alert('Your viewport dimension is '+viewportwidth+' x
    '+viewportheight+' pixels');
    document.cookie =
    'windim='+viewportwidth+'|'+viewportheight+';
    expires=Fri, 24 Oct 2008 00:00:00 UTC; path=/';
    //-->
    window.onload = Box();
    </script>
    </head>
    <body>
    <cfoutput>
    <h1>Fun with window sizes</h1>
    Diminsion Cookie
    <cfif structKeyExists(cookie,"windim")>
    <p>Your viewport dimension is
    #listFirst(cookie.windim,'|')# x
    #listLast(cookie.windim,'|')# pixels</p>
    </cfif>
    <p><a href="#cgi.SCRIPT_NAME#">Click here to
    update windows
    diminsion.</a></p>
    </cfoutput>
    </body>
    It is important to note the order of things. When this page
    is first
    ran the JavaScript gets the dimensions and writes the
    cookies.
    When it is run again ColdFusion reads the cookies that from
    the previous
    request and then the client gets it and runs the JavaScript
    again
    updating the cookie.
    I.E. JavaScript is always outputting the current dimensions,
    ColdFusion
    is output the *last* dimensions. Play with this page by
    changing the
    browser size and then clicking on the link.
    If you wanted more immediate feed back replace the
    document.cookie line
    in the javascript with a call to a ajax function that sends a
    request
    immediately to the server.
    It'll have to wait for different day for me to have time to
    whip up an
    example like that.

  • Every time I ask Siri to find something near me, she says that she cannot find my location, and to turn on my location settings and siri settings. These are both on and after rebooting it still doesn't work. How do I fix this?

    Every time I ask Siri to find something near me, she says that she cannot find my location because I need to turn on location services in the settings menu and in siri. These are both on, and after rebooting my phone it still doesn't work correctly. How do I fix this?

    No, the app does not have to completely restart. It gets shifted in its open state into storage. Similar to how a computer uses the hard disk when it has insufficient memory.
    What complicates things is that sometimes memory does not get returned for reuse when you close an app. Thus yo should periodically double click the Home button and "delete" unnecessary apps from the multitasking dock and power off and then back on the iPod.

  • I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    I try to find something on my iPad, many results are emails, when I push on an email I can't see the email, because I get ever the first email,or the previous selected email in my inbox. How can I see the email selected?

    Is your Yahoo account set up as POP3 or IMAP?

  • I have a 2009 macbook pro with os x10.9.2 and can't find drivers for windows

    i have a 2009 macbook pro with os x10.9.2 and can't find drivers for windows. i trying to install windows using bootcamp but does not allows me to download the drivers..

    From the system requirements page: http://support.apple.com/kb/HT5634 for your computer
    MacBook Pro
    (13-inch, Mid 2009)
    4
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (15-inch, 2.53 GHz, Mid 2009)
    4
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (15-inch, Mid 2009)
    4
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (17-inch, Mid 2009)
    4
    4
    DVD
    DVD
    DVD
    MacBook Pro
    (17-inch, Early 2009)
    4
    4
    DVD
    DVD
    DVD
    The drivers are located on the OS DVD that came with your computer.

  • Satellite A135-S2276 - can't find drivers for Windows XP

    Hi! I can't find drivers for windows XP to this notebook. Do anyone know where I can find it?

    Hi stalker (what a crazy nic)
    The Satellite A135 is not known to me but it looks like the US model.
    Did you take a look on the Toshiba US website???
    Please check this link:
    http://www.csd.toshiba.com/cgi-bin/tais/su/su_sc_home.jsp
    Its a Toshiba US driver download page.

  • After starting Creative Cloud just a white Window appears, no Apps or something else Windows 8.1, more uninstallation and re-install didn't bring a solution

    After starting Creative Cloud just a white Window appears, no Apps or something else Windows 8.1, more uninstallation and re-install didn't bring a solution. I have had installed Photoshop CC Trial Version, but had to re-boot the system, so I lost the Software. After re-installing the Creative Cloud Desktop appeared just a White window. I tried to delete the file of OOBD in AppData but no reaction. It still appears as a clear window.

    See if the following helps:
    https://forums.adobe.com/thread/1249756

  • I cant find create a Windows 7 or ... in my bootcamp

    i want install windows 8.1 on my macbook pro mid 2010 but i cant find create a Windows 7 or ... in my bootcamp
    I have yosemite on my macbook

    Your Boot Camp Assistant is prompting you to remove Windows 7 or later version. If on your mac there is already a Boot Camp partition then you need to remove it first and then start the process again.
    If you have Windows 7 on it, you might try to upgrade to windows 8: Boot Camp 5.1: Frequently asked questions about installing Windows 8 - Apple Support
    There is also one more thing... Your Mac model has a built-in SuperDrive. I might be wrong but the option to create a bootable usb drive from Windows ISO file might be only available for 2012 models of Macs without a SuperDrive. In that case, you might have to Burn your Windows ISO and install it from DVD.

  • HT2513 I have an iCal calendar downloaded and I can't find it in any calendar listings. I've read the above article, but I can't even find my iCal window (don't know where my applications folder or dock is and a search of the iPhone turns up nothing)...

    I can't find my iCal window to try to get rid of this iCal calendar I downloaded, but want to delete. I can't seem to find the applications folder or dock that I've heard the iCal window is in. A search of the iPhone won't turn either up. Can someone please help?

    have you tried rebooting your computer?

  • Auto Time change, Sound mute and trying to read something before windows 7.

    Dear,
    I recently bought a MacBook Pro i7. I installed Windows 7 Ultimate through Boot Camp. But after installing i am faceing few problems as listed below:
    1: *Automatic Time change*
    When i am in windows 7 and i switch to Mac OS X the time of my Mac OS X automaticly changes every time and i have to adjust the time every time i switch from Windows 7 to Mac OS X. This problem is when i change my operatinf system from Win to Mac.
    2: *Sound Mute*
    Whenever i log into Windows 7 i always fine the sound to be mute and i always have to unmute the sound from the button.
    3: *MacBook trys to read something before Windows 7 starts booting*
    Whenever i start windows 7, before the windows 7 booting screen, there is a black screen with a gray underscore (_) which blinks for a minute or two. And after that the booting of windows 7 starts. That (_) makes me wait a lot before booting into windows 7.
    Please help me regarding these problems of mine. I even called the Apple care but they dint have any solution to it.
    Waiting for your reply.

    hi,
    I tried all the methords as u said and it dint work atoll for me. If you have a video or some kinda software which can dignolise these problems than i feel that i can do it. Neways im rely getting so ****** off that after buying such an expensive product, it cant give me complete satisfaction, I feel that apple should first make their current products perfect and then go on launching some other products. Apple shoudent lie to sell it products that windows is compatible with MacBook. I went to a authorised service center Unicorn Infosolutions Pvt Ltd situated in Mumbai,Maharashtra,India. Even they said that all these three problems cant be resolved. This is rely bad, i never thought that apple is like this!!!! i always was a fan of apple n used to always pro-vogue people to buy its products. But now i dont think so. Neways if buy chance there is some other methord or way than please tell me.

  • HT5887 How can I find something I airdropped to someone vis email. I cannot find it in my email

    How can I find something I airdropped to another via email. I cannot find it in my email box?

    I thought AirDrop uses Bluetooth.

Maybe you are looking for

  • Grouping and sum values in XI

    Hello, I 'm working with invoice and I have this source structure as XI input: Invoice -- |.... -- |.... -- |Item1 |taxcode=01 |Amount=12 --|Item2 |taxcode=08 |Amount=10 --|Item3 |taxcode=01 |Amount=24 Now my scope is to map these fields to the IDOC

  • Using Decklink SP to record audio out of a mixer

    Hello everyone, My question is can I plug the outputs of my makie mixer into the inputs of my decklink sp card? I have a Sure Sm58 and a Line 6 Pod going through the mixer which I want to record in Soundtrack Pro. I was changing the record inputs in

  • User defined query parameter in query generator

    Hi All, i am using query generator in SAP to print some records of user defined query. precisely, the details about sales employees are to be printed. now the columns which exist in the database (ie. sales employee code, name, cardcode) etc can be gi

  • Re: how can i transmit live video that is captured by a usb webcam with rtp

    oh,my oicq number is:282987147 Anyone can leave a message to me. Thanks a lot !

  • T500 Windows 7 Home Premium Bit to Bit transition

    I bought a T500 with 4GB of RAM and Windows 7 Home Premium 32Bit Russian As I read in When is it possible to switch between 32 bit and 64 bit versions of Microsoft Operating Systems by u..., I "might" have the rights to put in its place 64Bit OS.  Lo