Feature Request: Script Folders

#1

Would it be possible to add script folders as a feature? Would be useful for connected scripts, modules, etc.

1 Like
#2

Thanks for your feedback. I appreciate it.

This is something I have been working on and I’m hoping to support in future version. All scripts in Scriptable are plain JavaScript files stored on disk and when I add support for folders, I’d like that they are plain folders on disk too. That makes it a bit more complicated to support.

2 Likes
#3

Have you considered using say tags instead of folders?

It could keep a flat structure in a single folder and then you could use a more smart folder like approach with the files appearing in multiple folders if necessary, building smart folders based on the tags. You then still retain the parity with the inbuilt file system as you are simply making use of existing meta data properties.

I don’t know if that would make things simpler or harder to implement, but some sort of filtering via a smart folders sort of approach seems like an evolutionary step above standard folders in terms of flexibility. For users with simple needs a one tag, one folder equation is used. More sophisticated needs are then provided through filters utilising multiple tags and things like last modified date.

I think this is generally a better approach for apps that provide many related elements of executable content. I petitioned the Workflow guys for a few years about implementing this over folders and I still hold out some hope that this is an Apple-y thing to do with Shortcuts.

Just a thought :nerd_face:

3 Likes
#4

… “tags instead of folders” …

Why not do both?

But I would hope/suspect that Files this year would change / break this. :slight_smile:

#5

Because Simon was suggesting some notable complexity to having a folder structure. I was suggesting that tags might be a way to circumvent the complexity.

Both would be better, but one would be better than neither. :wink:

1 Like
#7

I think tags are also a good idea. I had not thought about that. My initial thought is that I like actual folders better but I’ll have to put a bit more thought into it.

The reason I tend to lean towards actual folders is that Scriptable is storing scripts as plain JS files in iCloud Drive (Files appp) and that’s a very deliberate choice. I think it makes Scriptable scripts feel like any other script you could write on any other computer - because that’s what they are! Actual folders would match that philosophy better because, again, that’s how it works on any other computer.

However, the upside of tags is that it’ll probably be easier to implement. Particularly because I’d like folders to have some metadata associated with them, just like scripts have an icon and a color right now.

1 Like