I am calling “Run Action with text” in iOS Shortcut. How do I get the “text” in the respective “Action” called?
Tried the following without success:
let text = app.getClipboard();
Could somebody help, please?
I am calling “Run Action with text” in iOS Shortcut. How do I get the “text” in the respective “Action” called?
Tried the following without success:
let text = app.getClipboard();
Could somebody help, please?
The text gets put in a temporary draft that isn’t saved. The text can therefore be accessed through draft.content
.