def Posted May 23 Share Posted May 23 Made an File Action upload tool, with a framework to be able to more easily add other destinations. Leverages existing upload cli tools where possible. Currently supports nextcloud upload + share link generation and immich. https://github.com/deafmute1/alfred-upload Link to comment
vitor Posted May 23 Share Posted May 23 Welcome @def, Here are a few suggestions for improvements, in particular in the configuration: The Default Value field is for things that would, well, benefit from a default value. If no default value is appropriate, what you should do is leave that field empty (and maybe write something in the Placeholder), not use None as a default value. For the folder you should use a File Picker, not a Text Field. That allows users to pick a directory via a GUI and it does allow paths starting with ~. Link to comment
def Posted May 24 Author Share Posted May 24 (edited) 10 hours ago, vitor said: The Default Value field is for things that would, well, benefit from a default value. If no default value is appropriate, what you should do is leave that field empty (and maybe write something in the Placeholder), not use None as a default value. I'm using None to detect if the correct values are set for a given Action using a conditional, so I can display an error message. Is there way to detect if a var is completely unset? Edit: the condition works if you just leave the field empty.. silly me 10 hours ago, vitor said: For the folder you should use a File Picker, not a Text Field. That allows users to pick a directory via a GUI and it does allow paths starting with ~. Okay, will do, thanks for the tip! Edited May 24 by def 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