How to share after running a script? #327
-
I have a script that takes input from share function and removes everything except the URL, I have it set to copy to clipboard, but would like to share it. Cannot seem to find a way:
Any help? |
Beta Was this translation helpful? Give feedback.
Answered by
Waboodoo
Feb 10, 2023
Replies: 1 comment 1 reply
-
The app currently doesn't have a feature to share text directly from Scripting, but you can work around this via the sendIntent({
"type": "activity",
"action": "android.intent.action.SEND",
"dataType": "text/plain",
"dataUri": " ",
"extras": [
{
"name": "android.intent.extra.TEXT",
"value": "Your text here"
}
]
}); I will add a more convenient way to share text into the next version (2.30.0). |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kzshantonu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The app currently doesn't have a feature to share text directly from Scripting, but you can work around this via the
sendIntent
function. To do so, copy the following code snippet:I will add a more convenient way to share text into the next version (2.30.0).