Jump to content

Create a new text or image file, automate name dating & location


Recommended Posts

I would love to add my workflow to assist those able to help me. Am I correct in understanding Alfred Forums only accepts images?

 

My challenge as a newbie is to create a file to save product purchase keys, either as screenshot images or text in a clipboard, or manually typed.

 

I use ^$ to initiate Alfred asking me if it is a txt file or an image file.

 

I then name it and it finishes before I get a chance to do anything else.

product purchase key.png

Link to comment

I like the way Workflow iOS app works on reddit. https://www.reddit.com/r/workflow/

What is Alfred replacing Dropbox links with. How do I get assistance with Alfred Workflows?

 

Perhaps I could simply ask, I don't know if I have a screen shot or text. If I wish to create a new file with a screen shot, how can I do that in Alfred?

Link to comment

Thanks deanishe. I appreciate you assisting. I note your dry wit, the good news is I followed your advice... even before you suggested it :)

Hopefully you can see my second post with the Dropbox link?

The issue a couple of responders posted back with was it provided a 403 error?

 

Link to comment

That works.

 

There are a few issues. I can't "fix" the workflow, as it isn't complete (You're using a bunch of variables that don't exist to create the file—in {var:path}/{var:name}.{var:type} only type is always set).

 

So, your first pair of filters are incorrectly configured. You've entered "Only continue if filetype is equal to…". That tests the string "filetype", but you want the variable filetype. Change the filters to read "Only continue if {var:filetype} is equal to…".

 

Now that's changed, you can get to step 2.

 

Your second level "image" Keyword should have the "Argument required" option set.

 

This is where the workflow stops working because, as noted, some of the necessary variables aren't set. name is set along the top branch, but not the bottom. Neither sets path.

Edited by deanishe
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...