Shortcut work from Shortcut app but not via Spotlight!?
Hi! New Mac user and, of course, new Spotlight enjoyer. I made a simple Shortcut that searches for terms listed in a .txt file (located in the Shortcuts folder). It creates a new folder on the desktop with the results and links(?) to the actually files.
When I run it in the Shortcuts app, it works as intended. When I run it from Spotlight it opens an empty folder.
Any help would be greatly appreciated.
Here's the shortcut: https://www.icloud.com/shortcuts/ea408b38fa1645dd98654c41b18b4b61
Note: the .txt contains jut two lines, one search term on each row (if you want to test it).
MacBook Air 13″, macOS 15.6