MEs Posted September 3, 2016 Share Posted September 3, 2016 (edited) Hi, On alfredapp.com and on packal.com, I found some workflows that have script or other type of files embedded in the .workflow file. For example this one. Do I need some specific app to create this kind of workflows ? Because I once found some error in the code but couldn't correct it by myself. To have access to the embedded files, I had to "unzip" the workflow file. Then, no way to "rezip" it. Could anyone point me to some How To here ? Tried to read the Help pages an Alfredapp, without any luck. Maybe I wasn't searching for the proper keywords. Regards Edited September 3, 2016 by MEs Link to comment
Andrew Posted September 3, 2016 Share Posted September 3, 2016 Once a workflow is installed, if you select it in the list, right click and choose "Open in Finder" then simply put any additional resources here. When you export the workflow, it will automatically be included in the workflow itself. Likewise, you'll also be able to edit any scripts directly in this workflow folder too. Cheers, Andrew MEs 1 Link to comment
MEs Posted September 3, 2016 Author Share Posted September 3, 2016 Great, thank you. Didn't think it wold be that simple..! Is there an ideal structure to respect for any ressources I may add ? Just checked a few Workflow and some have kind of a structured folder organisation when other don't. Link to comment
deanishe Posted September 4, 2016 Share Posted September 4, 2016 info.plist and icon.png need to be in the workflow root directory. Beyond that, it's entirely up to you to do what you feel is best for the workflow and language you're using. In the case of workflows written in Python, subdirectories are often 3rd-party libraries bundled with the workflow. MEs 1 Link to comment
MEs Posted September 4, 2016 Author Share Posted September 4, 2016 Again deanishe, thank you for your help Link to comment
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