I can program in Swift, but Apple's Shortcuts app has consistently proven confusing and almost incomprehensible to me.
I'm trying to use the Choose from List action to display text items that have a customized display name, and where the actual text content is shown as a subtitle. Like this:
This is accomplished like so:
The problem occurs when I have a name that includes a dot, like Name.mkv, because apparently my text item is now an MKV file and will have a duration instead of a subtitle:
I then look up what extension a Text item has, determine it's txt, and add that to the name:
Now it displays the correct name again, but the subtitle is still missing:
Also, enabling this option...
...seems to make no difference, despite its description explicitly stating:
Turn this on if you want to create a file with no extension.
I just want it to show up the normal way with "Text Name.mkv" as title and "Text Content" as subtitle.
At this point I conclude that I once again don't understand Shortcuts, and have probably misunderstood something at a fundamental level. It took me long enough just to figure out that the Name field is actually a filename and file extension field and not just a name field, let alone that I'm creating files as opposed to values.
I'm on iOS 16.







