Show Open Recent Files List

I don't think so. It should work as is out-of-the-box – remember though – you have to type a search string.

(By removing the prompt Title and not providing a search-string the prompt will show a list of less than 100 items. – I'll either change the first macro or upload a new one that incorporates this change.)

Something like this should do what you want:

mdfind -onlyin ~/Desktop -onlyin ~/Documents -onlyin ~/Downloads -onlyin ~/Dropbox 'kMDItemContentModificationDate >= "$time.now(-24h)"'

Invisible items with names prefixed with a dot should automatically be omitted by Spotlight.

Well, this action is a little quirky.

You can remove the title, and if the paragraphs in the search text are less than 100 they'll be shown automatically.

You can also give the acton an initial search string like “.” (dot). I don't particularly like this, because it's a purely literal search – and items without a dot in the name will be excluded.

Peter – Can the Prompt with List action be given a special variable to capture the last search? That would make it easy to bring it back where you last started which is often very useful.

@sims -- See the gear-menu in the Prompt with List action for the available options.

NOTE – If you install Dan Thomas' Spotlight Search Prompt macro, you have a great deal more control over the pop-up dialog than you do with KM's native Prompt with List action.

Spotlight Search Prompt Macro

Yes – something of that sort could be coded into the macro.

If key down then
...
else
...

Peter – why does the Prompt with List action BALK when you hit Return – but is fine with and any of , , .

Can this be changed? Or is there a good reason for the current behavior?

-Chris