a new problem every OS update with shortcuts. The latest is when I attempt to use the create function of DT in shortcuts - see screenshot. This command also used to let me use a variable as a destination in DTTG so that I could put the pdf into a chosen group from a pick list any workarounds, or is this command just broken?
I am having the same or a similar issue. My shortcut is fairly complex, with different 3rd party apps involved, but it fails when I get to the create item action (same as you).
To isolate the issue, I made a new shortcut to create a ‘File’ with [title], in [specific group]. The file selected was one local to the iPad. The same “An unknown error occurred.” ipad OS 27 on M2 iPad Air.
The latest bug fix 27.01 has not fixed this problem
Shortcuts also messed up my auto crop of screenshots - I do so hate this when you eventually get a workflow working after much trial and error and then it doesn’t work any more. Back to the drawing board!
A Shortcuts bug introduced in OS26 that caused problems with tags wasn’t fixed by the time Apple released OS27, at which point I realised Apple doesn’t really care that much about fixing bugs in Shortcuts… I guess they test it with what they think most users want, and then leave it there even if stuff is broken
Hey, it took them only about five years to fix a stupid bug in the maps part of Shortcuts. Some patience, please.
OTOH, given Apple’s record with automation: they may well abandon Shortcuts instead of fixing it. Easier.
Well I’ve fixed the crop screenshot dimensions issue - so the remaining problem is the Create command.
The question I have, is who codes that command is it the DT team or the Shortcuts team. So who should I ask for help?
Am I right that the 3rd party dev ie DT team oroduce some ‘hooks/triggers’ within DTTG that respond to a request sent by shortcuts? Maybe the new shortcuts is sending a differently formatted request that DTTG does not understand and then throws a ‘fit of pique’ and refuses to play nice?
Thoughts on the back of a fag packet please (Brit expression)
It’s a bit complicated to figure out “who does it”:
DT announces abilities etc. Shortcuts must handle these announcements correctly. Given the track record of this app, I’d tend to think that it carries the responsibility in this case. Just a hunch, of course.
P.s. you had a query about choosing the group and I see you made a variable for it in your shortcut. You shouldn’t need to; if you long press on the group variable in the shortcut, you will see an option for “ask every time”. If you choose this, when the shortcut runs it should give you a drop down menu asking you where you’d like the new item saved.
Choosing the destination works with the dropdown choice
As you say, the error is located in the create file command. If I change the type to textdocument then the shortcut finishes -however, a pdf is not saved - it is saved as a text document of a few bytes
So here are screenshots of the shortcut - I’ve removed superfluous lines to choose the destination group
Basically, I screenshot pages of the magazine on the iPad, OCR (extract) test from page 1 for a title. Then convert to pdf and attempt to save directly to DTTG into the chosen group
It should save as a pdf - no OCR yet. OCR in DTTG always gives a larger file size than OCR in DT on the Mac - so when my databases are synchronised back to my Mac, DT will then OCR to PDF+TXT, delete the simple PDF and sync the final version back to DTTG