Refresh Smart List Folder?
-
- Addicted to Bruji
- Posts: 71
- Joined: Tue May 30, 2006 4:57 pm
Refresh Smart List Folder?
Is it possible to refresh a Smart List Folder and it's included Smart Collections with a terminal command?
Re: Refresh Smart List Folder?
Interesting question; I'm curious what your intention is.
If nothing else, maybe possible with a wrapper command that uses AppleScript GUI scripting to simulate keyboard input.
If nothing else, maybe possible with a wrapper command that uses AppleScript GUI scripting to simulate keyboard input.
Re: Refresh Smart List Folder?
There a lot done by us in Cocoa and even more by Core Data when updating a smart collection. So it's not possible to trigger the updating directly in the SQLite3. If you want a generic solution the best solution is AppleScripting of the GUI, otherwise writing a specific SQL command to mimic a smart collection: e.i, "select uid from zentry where director like Peter%".
-
- Addicted to Bruji
- Posts: 71
- Joined: Tue May 30, 2006 4:57 pm
Re: Refresh Smart List Folder?
Thank you for the quick reply.
I didn't think it was possible, as I figured a lot more was done than a simple database command. But never hurts to asks.
Nice idea, sjk. You are always friendly and helpful to all the questions around here. I check the forum most everyday and see you often assisting others. Very cool of you.
I didn't think it was possible, as I figured a lot more was done than a simple database command. But never hurts to asks.
Nice idea, sjk. You are always friendly and helpful to all the questions around here. I check the forum most everyday and see you often assisting others. Very cool of you.