Jump to content

Creating a folder based on user input


Recommended Posts

Hi

 

I know how to create a folder based on a keyword so for example. 

 

Open Alfred > cfolder {query} 

 

However, I want to be able to have the automated task of creating the folder ran when the hot key is pressed, then it prompts the user with a dialog window, to ask them what they want the project called. That is then stored in a variable called "userInput". Then I go grab my environment variable where I want to create these folders and then create a folder by passing in the argument to  "make a new folder" automation by {var:path}/{var:userInput}. I have searched the lands far and wide, but can't seem to find a dialog box that allows me to type in a field text. I have only found a dialog box that offers buttons. 

Link to comment
5 hours ago, drizzyrascal said:

I want to be able to have the automated task of creating the folder ran when the hot key is pressed, then it prompts the user with a dialog window, to ask them what they want the project called

Use the Kayword Action with no keyword. Here’s an example of how I used it in one of my workflows (see the second Keyword Action in the workflow).

 

Stephen

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...