giovanni Posted June 13, 2014 Posted June 13, 2014 (edited) Hi all, When I save something from a browser or other application, I use Alfred to identify the target folder (or a file to replace), and then I drag and drop it from Alfred into the "Save as" window, so that it goes quickly to the target folder. Has anybody made a workflow to avoid the drag-and-drop part? In other words something that, if there is a "save as" window open, upon selection of a target folder in Alfred, will go to that folder in the 'save as' window. Thanks! giovanni Edited June 13, 2014 by giovanni
jdfwarrior Posted June 13, 2014 Posted June 13, 2014 Hi all, When I save something from a browser or other application, I use Alfred to identify the target folder (or a file to replace), and then I drag and drop it from Alfred into the "Save as" window, so that it goes quickly to the target folder. Has anybody made a workflow to avoid the drag-and-drop part? In other words something that, if there is a "save as" window open, upon selection of a target folder in Alfred, will go to that folder in the 'save as' window. Thanks! giovanni I've not seen this but that doesn't mean much. I'm not sure how scriptable that part would be (interacting with that save dialog). It could be totally easy, I've just never seen it done. Perhaps someone else knows of a way to do this. I'll look at it though and see if I come up with something giovanni 1
Tyler Eich Posted June 14, 2014 Posted June 14, 2014 (edited) When I save something from a browser or other application, I use Alfred to identify the target folder (or a file to replace), and then I drag and drop it from Alfred into the "Save as" window, so that it goes quickly to the target folder. Has anybody made a workflow to avoid the drag-and-drop part? After reading about your dilemma, I realized that I face the same issue on a daily basis. So I made a workflow that should cover our needs Download You can type 'sheet' and search for the file, or you can use the 'Send to Sheet' file action. When you send a file through this workflow, it will attempt to interact with the frontmost sheet. It will tell the sheet to load the folder provided, or the parent folder if a file is provided. Edited June 14, 2014 by Tyler Eich giovanni 1
giovanni Posted June 14, 2014 Author Posted June 14, 2014 Tyler, This is awesome, exactly what I had in mind. Thank you so much! Giovanni
xgo Posted July 16, 2020 Posted July 16, 2020 (edited) I'm bumping this because I had this exact same thought yesterday and started thinking about implementation options. Amazing to see this has been done before e.g. in Chrome, all PDFs that I want to download have a save prompt with default location "downloads" – using this shortcut I can now easily download into the needed directory without having to open a finder window and drag-and-drop its icon into the save prompt. "sheet" trigger works flawlessly. 6y thanks, @Tyler Eich! EDIT: sometimes I seem to get a double entry i.e. the filepath is entered in the cmd-shift-g prompt then entered as file name then saved immediately. I bruteforce fixed this by adding a slight delay before the 'return' key is captured tell sheet 1 keystroke parentFolder delay 0.1 keystroke return end tell Edited July 16, 2020 by xgo evanfuchs and giovanni 2
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