Using variables in a pop up window?

I created a workflow with

  1. Get Value of Variable’
  2. New folder

So when run a box pops up (that says ˜New Folder’ in the title bar), you type in a name & it creates a new folder with that name.

Instead of the small window that says ˜New Folder’ in the title bar I’d like something like the ˜Ask for Confirmation’ window to pop up where I could add some more descriptive text.
For example a window would pop up with the text:

“Please enter a name for the folder where the photos will be copied to”.

After creating the folder with the name that was typed I’d add more actions to the workflow.

Does anyone know if this is possible, & if so how?

See if this helps get you closer:

Add a Run AppleScript action at the top, with this code:

on run
	
	set new_folder_Name to text returned of (display dialog "Please enter a name for the folder where the photos will be copied to" default answer "")
	
	return new_folder_Name
end run

Then:
Set Value of Variable
New Folder

Be sure that the variable you choose in the Set Value of Variable action is also used in the New Folder action, in the box that says Name:.

Good luck,

Works great, thanks a lot! :slight_smile: