Closed dipique closed 8 months ago
I think you need something like Universal Actions
in Alfred. You just select my_new_video.mkv
and hit a hotkey, a list will popup waiting for you filter, like
We will support kind of this in v2
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.
This issue was closed because it has been stale for 10 days with no activity. If you feel this issue still needs attention please feel free to reopen.
Is your feature request related to a problem? Please describe. Plugins do two things:
Result
s in response to aQuery
Action
on a user-chosenResult
These two functionalities are very different; consider Everything (the application, not the plugin), which generates search
Result
s but uses the windows context menu to supply theAction
(s). This decoupling is extremely useful.I would like to be able to choose the action for a result without the need to replicate the search plugin's functionality. For example, I would like to search for a file and open it, edit it, delete it, and any other arbitrary
Action
. I would like to build thatAction
functionality without needing to duplicate the functionality of Everything, or even to depend on Everything specifically.Describe the solution you'd like Provide an optional pipe syntax that specifies an alternative handler using a non-optional action word. For example, I have a plugin that uploads a video file to youtube. I would like to type:
yt | my_new_video.mkv
The meaning of this command would be:
my_new_video.mkv
(i.e. the string after an plugin action word + ' | ') using existing rules and pluginsResult
to theyt
pluginResult
and returns a newResult
Result
In other words, the yt plugin would transform the
Result
object, but the execution of thatResult
would remain unchanged.Describe alternatives you've considered To provide the functionality above, I could use the Everything skd to build a plugin that uses that functionality but performs the upload action. However, this means that 1) I would need to duplicate the functionality of the Everything plugin, and 2) I would not be able to use the results from any other plugin (e.g. one that provides access to online files).