Scan med din iPhone for at installere
Forhåndsvisning
Twitter Video Downloader ...
Auto Save To Camera Roll
If You Want To Save
Downloaded Video
To File Application
Open Shortcut
And Delete
(Camera Roll)
From Text
Thank ...
ပုံ / ကိုရဲရင့် 😎😎😎
Nyheder
Version 1.0
First release
Hvad den gør
65 handlinger-
If
-
If
-
Get Clipboard
-
Set VariableURL
-
URLhttps://tvd.now.sh/download
-
Get Contents of URL…
-
Set VariableResponse
-
Get Variable
-
If
-
Get Dictionary Value
-
Set VariableError
-
Show AlertError
-
Stop This Shortcut
-
If
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableHighSize
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableMediumSize
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableLowSize
-
Count
-
If
-
Count
-
If
-
Choose from Menu
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
If
-
Choose from Menu
-
Choose from MenuMedium (MediumSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
If
-
Choose from Menu
-
Choose from MenuHigh (HighSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuMedium (MediumSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
Choose from MenuLow (LowSize)
-
Get Dictionary Value
-
Get Dictionary Value
-
Set VariableVideoURL
-
URL Encode
-
Get Contents of URL…
-
Set Name
-
Text
-
If
-
Save to Photo Album
-
Show AlertComplete ...
-
If
-
Save File
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/web'
#include 'actions/sharing'
#define color lightblue
#define glyph textSymbol
if ShortcutInput contains ShortcutInput {
} else {
getClipboard()
}
@URL
url("https://tvd.now.sh/download")
jsonRequest(, "POST", {
"url": "{@URL}"
})
@Response
// TODO: Get Variable not supported: Assign variable here to '@Response'.
if @Response contains "error" {
@Error = @Response['error']
alert("An error occurred: {@Error}", "Error")
stop()
} else {
}
const DictionaryValue = getValue(@Response, "high")
@HighSize = DictionaryValue['size']
const DictionaryValue1 = getValue(@Response, "medium")
@MediumSize = DictionaryValue1['size']
const DictionaryValue2 = getValue(@Response, "low")
@LowSize = DictionaryValue2['size']
const Count = count(@HighSize, "Characters")
if Count == "2" {
const Count1 = count(@MediumSize, "Characters")
if Count1 == "2" {
menu nil {
item "Low ({@LowSize})":
const DictionaryValue3 = getValue(@Response, "low")
@VideoURL = DictionaryValue3['downloadURL']
}
} else {
menu nil {
item "Medium ({@MediumSize})":
const DictionaryValue4 = getValue(@Response, "medium")
@VideoURL = DictionaryValue4['downloadURL']
item "Low ({@LowSize})":
const DictionaryValue5 = getValue(@Response, "low")
@VideoURL = DictionaryValue5['downloadURL']
}
}
} else {
menu nil {
item "High ({@HighSize})":
const DictionaryValue6 = getValue(@Response, "high")
@VideoURL = DictionaryValue6['downloadURL']
item "Medium ({@MediumSize})":
const DictionaryValue7 = getValue(@Response, "medium")
@VideoURL = DictionaryValue7['downloadURL']
item "Low ({@LowSize})":
const DictionaryValue8 = getValue(@Response, "low")
@VideoURL = DictionaryValue8['downloadURL']
}
}
urlEncode(@VideoURL)
const ContentsOfURL = downloadURL()
const RenamedItem = setName(ContentsOfURL, "Twitter Video")
const Text = "Camera Roll"
if Text == "Camera Roll" {
savePhoto(RenamedItem, "Recents")
alert("Download Complete & Saved to the Camera Roll ...", "Complete ...")
} else {
saveFilePrompt(RenamedItem)
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra reviver
Du vil måske også kunne lide
Annonce