Siri Shortcuts restricted you to automatically save any file in any folder of your desire. The app can only automatically save in the shortcuts cloud folder, but In case you want to save on different folders, you have to activate “Ask Where to Save”
Now each time you run automation it will ask you where to save the file. The problem with this method it ruins the idea of automation, and for that reason, i wrote small script that will allow us to save any file in any location we desire(Cloud or On My IPhone).
I will be happy to take you through step by step on how to configure it and get it up running.
Download app called scriptable at app store, and if you already have it then skip to step 2.
- Open your scriptable app, click on button located at top left which has gear icon
- Scroll Down and tap on File Bookmarks
- In File Bookmarks page you will have to create two bookmarks, one for “iCloud Drive” and other is for “On My iPhone”
- To create the bookmark click on the plus sign at the top right corner, then chose Pick Folder
- Select “iCloud Drive” then click done, you will be promoted to choose name… type ‘’iCloud Drive’’ without quotes.
- Create smiler for ‘’On My iPhone’’ and Type name as “Local Drive” without quotes.
- Once you complete you can go back to the scriptable home screen.
- On Scriptable Home Page click on the plus button at the top right coroner.
- Then add the following Script
- Save the Script as Auto Save.
- Open your Shortcuts project the one you want to save file in specific location .
- Click on add Action > Apps > Scriptable and chose Run Script ( Now Run Script it will be added in the Action).
- Tap on Script next to Run and Chose Auto Save.
- In The Parameter section leave it blank then Tap on the Show More.
- Under Texts type the following “local:” for local Drive or “Cloud:” for iCloud Drive following the Path where you want to save. See Example Below.
- Example 1: local:/Photos/Events/
- Example 2: cloud:/Photos/Events/
- In Files section tap on chose select Magic Variable of the action which returns file(Image, PDF, MP3….etc).
- Finally switch off Show When Run.
Run the Application and Enjoy it.