Recommended Posts

Is anyone else less than impressed with Spotlight? Completely aside from the fact that it's a pain in the backside to get it to index images (can be done with mdutil I think?), and that it won't index removable media, it also is simply inconsistent about the things it does find.

Take this screenshot for an example.

Note the info window in the background for Essay Grades.xls. I have put in Spotlight keywords 'iDisk Backup'. The reason for this is there are files that I store on my iDisk that I would like to backup and archive automatically via an Automator plugin.

The only thing is, the Automator plugin I created can't find the files by keyword search.

Why not? After all, take a look at the spotlight popup in the screenshot. A search for 'iDisk Backup' returns Essay Grades.xls, along with the other files I marked with identical keywords. Something fishy is going on.

Furthermore, look at the Finder search. Supposedly this is using the same search API as the Spotlight panel, yet it can't find anything using exactly the same string as the Spotlight popup. Why in the world would there be any difference between the two? Why can the panel find what I want when Automator and Finder cannot?

So yeah, less than impressed :x

Link to comment
https://www.neowin.net/forum/topic/315875-tiger-fog-light/
Share on other sites

i did the same sort of test by adding spotlight comment on to a .rtf file and searched throught spotlight and finders search bot found the .rtf file contains comment I made earlier with spotlight showing the rtf file as Top hit ;)

I see that you have put criterie as a keyword could you just type idisk backup in to the finders search bar ? it should popup the files you are looking for ;)

Corona: Yeah it does, but I can't get Automator to do it. I am trying to do a dirty fix in Automator by doing an 'any' search for iDisk Backup and narrowing that down with other criteria like extensions.. but this is not a very elegant solution.

If the Spotlight popup can find a string in the comments, a keyword search within Automator should turn up the same results.

Hopefully 10.4.1 will fix all of these little bugs.

It indexes all my images by default. I tried the same test as you, and was able to bring up the same files under both searches

im not a mac user but it looks like in the screen, youre searching for a "computer" named idisk which, doesnt exist? search for folder documents or smthg. im not mac user so i have no idea how this goes. no flame

Good idea, but that just shows what directory he is searching in. It signifies he is searching any hard disk in his computer

Corona: Yeah it does, but I can't get Automator to do it. I am trying to do a dirty fix in Automator by doing an 'any' search for iDisk Backup and narrowing that down with other criteria like extensions.. but this is not a very elegant solution.

If the Spotlight popup can find a string in the comments, a keyword search within Automator should turn up the same results.

Hopefully 10.4.1 will fix all of these little bugs.

585864808[/snapback]

in automator you have to use spotlight in the library than drag and drop spotlight from the actions in to the workspace then you could search for it, than you could use finder library and filter finder items action to filter them out, it worked fine, if you havent give it a go :)

Chad: sorry, I meant disk images. I don't really care about that anyway, that's a minor grumble. My main concern is that Automator can't find files based on their keywords in a keyword-specific search, whereas it can find them on an 'any' search. That's just not right.

What I'm trying to achieve is an easy backup of my iDisk documents (which come in many flavours.. doc, xls, vdoc, rtf, pdf, etc). With Spotlight and Automator, as they have been advertised, it should be a simple thing to automate the process of finding files by keyword and archiving them.

I guess not :)

edit: okay, I've just tried disk images again and now it seems to be working fine. Withdrawn :)

Edited by am_fek

Corona: yeah, my original workflow went like this

1. Spotlight - Find Finder Items (keyword 'iDisk Backup)

2. Finder - Get Finder Items

3. Finder - Create Archive (save to ~/Documents)

4. Finder - Rename Finder Items (to add current date)

edit: I'm just going to make the keywords unique and do an 'any' search for the exact phrase. It'll work, it just takes a little bit of the shine and luster out of Tiger :wacko:

Edited by am_fek
Corona: yeah, my original workflow went like this

1. Spotlight - Find Finder Items (keyword 'iDisk Backup)

2. Finder - Get Finder Items

3. Finder - Create Archive (save to ~/Documents)

4. Finder - Rename Finder Items (to add current date)

585864933[/snapback]

use spotlight action instead of find finder items , and see what happens

Edit: I just used finder library instead of spot library and find finder items action seems working and the file i made had spotlight comment on it and i searched for that comment and found it, :happy:

Edited by Corona

PureEdit: yep, that's what I found.. thanks macosxhints.com.

I have my workflow running now. Had to make the keyword so unique that an 'any' search could never turn up a false positive. Still a bit peeved that it can't successfully search on the keyword itself, but at least it's working.

Thanks everyone.

Okay, I'm sorry to dig this up again, but Spotlight simply doesn't work properly and it's growing quite tiresome dealing with its inconsistencies.

To illustrate with a relevant example, look at this.

How can it be possible for Spotlight to find the file in one instance and not in another?

Okay, I'm sorry to dig this up again, but Spotlight simply doesn't work properly and it's growing quite tiresome dealing with its inconsistencies.

To illustrate with a relevant example, look at this.

How can it be possible for Spotlight to find the file in one instance and not in another?

585883107[/snapback]

cause i dont have Tiger yet ( :angry: ) i cant really say, but it looks like your searching within a folder called "iDisk Backups" in the open dialog, yet the big spotlight window is searching through everything.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Was it too much to ask to show the icon in this article?
    • Frankly, I blame whoever is writing such articles. "A big improvement/update and/or new feature is now available to everyone! Also, use this unofficial tweak tool to enable it because it actually isn't available to you yet officially and might not in fact even be entirely ready or whatever, hence why it is perhaps not enabled for you*. But it's great and you should enable it!" I mean there's nothing wrong with sharing info about some feature you might need to enable via unofficial means, of course. It's just that these articles tend to essentially end up being two news pieces in one, and one of them tends to be a bit misleading. (*Yes, yes, the "it's a controlled rollout!" thing. Not a fan of that one either. The argument, not the actual rollout.)
    • Thank you. Will do. I read in the release notes that editor config might be at play here.
    • Actually, I think even Microsoft doesn't know how to control it
    • OpenAI is making Codex more useful in Chrome and the cloud by Pradeep Viswanathan OpenAI's Codex now has more than 5 million users, up nearly 4x from earlier this year. To further accelerate Codex's growth among developers, OpenAI today announced that it has agreed to acquire Ona, a company that builds secure cloud execution and orchestration technology for developers. Ona will enable developers to run Codex with persistent and controlled cloud infrastructure for long-running agentic workflows. Right now, most Codex execution happens locally on developers' laptops and PCs, and the agents work continuously for hours. Through Ona, OpenAI aims to make Codex agents keep working for days without being tied to a user’s local machine or an active session. This will be an important capability for enterprises that want to deploy AI agents in production while maintaining control over infrastructure, data, security boundaries, credential scope, logging, and review workflows. Like any acquisition, the deal is still subject to customary closing conditions, including regulatory approvals. Until the deal closes, OpenAI and Ona will continue to operate as separate companies. After closing, Ona’s team will join the Codex team to improve developer workflows. Alongside the Ona acquisition announcement, OpenAI today introduced a few Codex updates. Developers can now save Codex rate limit resets and use them later instead of losing them when they are not needed immediately. OpenAI is also adding a referral option where users can invite a friend to Codex and get a saved rate limit reset. OpenAI today also announced a developer mode for browser use in Chrome and the Codex in-app browser. With this mode, Codex can use the Chrome DevTools Protocol to debug web apps, inspect pages, and work more directly with browser-based development workflows. Developers can use this when they want Codex to profile JavaScript, inspect console output and network traffic, examine web page states including the DOM and applied styles, and more.
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      PsYcHoKiLLa
      186
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!