On Mac and PC I can use file:/// URLs to open files on the device. Does iOS support that or have an equivalent?
This is a simplified version that takes the name of the file (or part of the name) as the Shortcut input and opens the file app and searches for that file. If there is no input it will use the clipboard. At that point you can just tap the file to open it.@Morac Yeah you should show how to make a shortcut that takes the file name and path input, and how it work well no matter which values u give it (as long as they're valid).
Actually I could do that! I could create bookmarks in the app for specific directories, and make a script take a URL with an argument for the file path to open. However, I thought about it and decided I want to want to spent 30-60 mins figuring that out when I could quickly create a shortcut. Maybe I would if I had more files I wanted to open. Thanks anyway.It’s possible to write a Shortcut to do that, but it’s a lot harder and I don’t have the time to do that. The one I wrote will search for the file. If there’s 2 of them, you can tap on the one you want. It’s an extra step, but I’m not sure what your use case for all this is.
On a side note, there is also an app Scriptable which could probably do what you want more easily. It can be integrated into Shortcuts.