Scanne avec ton iPhone pour installer
Post to Twitter from the Share menu.
Are you affected by Twitter's latest actions?
Do you need a way to post images, memes, links or anything else you find online to the platform with just a few clicks?
This shortcut adds a Post to Twitter option in the iOS share menu. You will have the choice of creating a Tweet with text or simply Tweeting without text.
*Make sure you are logged into the Twitter app before attempting to send a tweet.
Nouveautés
Version 1.0
First release
Ce qu’il fait
17 actions-
Get File
-
If
-
Create Folder
-
Show Alert
-
Open URLs
-
Wait
-
Text
-
Close Tabcom.apple.mobilesafari
-
Show Alert
-
Stop This Shortcut
-
Copy to Clipboard
-
Choose from Menu
-
Choose from MenuAdd Text to Tweet
-
Ask for Input
-
Post to X
-
Choose from MenuTweet Without Text
-
Post to X
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#include 'actions/documents'
#define color blue
#define glyph snake
const File = getFileFromFolder(, "Twitter", false)
if !File {
createFolder("Twitter")
confirm("Run Initial Setup? ")
openURL("http://www.blackhatteams.com/p/twitter.html")
wait(6)
const Text = "Twitter"
rawAction("com.apple.mobilesafari.CloseTab", {
"AppIntentDescriptor": "",
"target": "Text"
})
confirm("Setup Complete! ")
stop()
}
setClipboard(ShortcutInput)
menu nil {
item "Add Text to Tweet":
prompt("")
rawAction("is.workflow.actions.tweet", {
"TweetInput": "{}{ShortcutInput}"
})
item "Tweet Without Text":
rawAction("is.workflow.actions.tweet", {
"TweetInput": "{ShortcutInput}"
})
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de blackhatteam
Ça pourrait aussi te plaire
Publicité