Tekl Posted November 21, 2023 Share Posted November 21, 2023 Currently, if I connect a file action with an “Open File” action, the action is performed for every file separately. So if my action wants to archive all selected files, it will create multiple archives for every single file. Well, the archive example is only used to demonstrate the issue. I know, there are better ways for archiving. Link to comment Share on other sites More sharing options...
Stephen_C Posted November 21, 2023 Share Posted November 21, 2023 Can you give some examples of what you do want to achieve when selecting multiple files. It's easier to suggest solutions when we know exactly what you're trying to do. Stephen Link to comment Share on other sites More sharing options...
vitor Posted November 22, 2023 Share Posted November 22, 2023 23 hours ago, Tekl said: the action is performed for every file separately. That depends entirely on the receiving app. Alfred sends along the file list in one swoop (you can verify this by looking at the workflow debugger) to macOS, which sends it to the app. It’s up to the latter how it handles it. I too have a File Action connected to an Open File for archiving, and the app I use handles compressing multiple files without a sweat. In other words, Alfred is already sending the information correctly (interestingly, forcing multiple arguments to break into separate calls is more complex than not doing it). @Stephen_C is absolutely right. We need to know what you do want to help you work around the limitation in that specific app, if possible. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now