I want to capture a query in this file filter of this workflow (https://transfer.sh/9V1Ep/a-search-for-content.alfredworkflow).
Right now it passes a path to the file but I want to save the actual query. For example I highlight some text, press the trigger and it would do this :
Then if I press on let's say 'cocoa', I want to put this 'highlight' or any other query I made into my clipboard. I am sure you can do it, just not sure how.