Login About Gallery
SW-DLT
Accepts
URLs
COMMENT
SW-DLT Official release on RoutineHub, avoid unknown sources!
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
COMMENT
SETTINGS: Configure these global settings in the below dictionary isMini: selects the a-Shell app you have installed True = a-Shell Mini False = a-Shell (full) deleteAll: enables or disables dependency deletion True = enabled False = disabled
DICTIONARY
<inline variable>
True
<inline variable>
False
COMMENT
-----END OF USER SETTINGS-----
DICTIONARY
<inline variable>
24 items
<inline variable>
14 items
<inline variable>
4 items
<inline variable>
7 items
SCRIPTING
Get name of
Shortcut Input
TEXT
Match
^DEBUG$
in
altInput
Case Sensitive
DOCUMENTS
Get text from
mode
SCRIPTING
Get
Value
for
isMini
in
globalSettings
SCRIPTING
Get
Value
for
deleteAll
in
globalSettings
SCRIPTING
URL
Decode
Shortcut Input
SCRIPTING
Get
Value
for
output_code
in
decodedProps
SCRIPTING
If
outputCode
has any value
COMMENT
==== Start exceptionCheck Macro ====
SCRIPTING
If
outputCode
is
exception
SCRIPTING
Get
Value
for
exc_path
in
decodedProps
SCRIPTING
Get
Value
for
excPath
in
properties
SCRIPTING
Show alert
Exception Alert
Title
Exception Alert
Show Cancel Button
Error Loading Action
End If
COMMENT
==== End exceptionCheck Macro ====
SCRIPTING
Get
Value
for
file_name
in
decodedProps
SCRIPTING
Get
Value
for
file_title
in
decodedProps
SCRIPTING
If
isMini
is
<value>
Under Construction
Otherwise
Under Construction
End If
SCRIPTING
DOCUMENTS
Show
finalMedia
in Quick Look
LIST
rm -rf SW_DLT*
SCRIPTING
If
isMini
is
<value>
Under Construction
Otherwise
Under Construction
End If
Error Loading Action
End If
SCRIPTING
Get
Value
for
updateEndpoint
in
properties
NETWORK
Get contents of
apiEndpoint
Options Under Construction
SCRIPTING
If
response
has any value
SCRIPTING
Get
Value
for
version
in
response
DOCUMENTS
Get text from
notes
SCRIPTING
COMMENT
==== Start updateMenu Macro ====
TEXT
An Update is Available (
version
->
latestVer
) Changelog:
changelogText
VARIABLES
SCRIPTING
Choose from Menu
Update Now
DOCUMENTS
Replace
^.+?(?=\/shortcut)
with
shortcuts:/
in
response
Case Sensitive
Regular Expression
SAFARI
Error Loading Action
Skip Once
End Menu
COMMENT
==== End updateMenu Macro ====
End If
End If
SCRIPTING
If
Shortcut Input
does not have any value
VARIABLES
Set variable
mediaURL
to
Clipboard
Otherwise
VARIABLES
Set variable
mediaURL
to
Shortcut Input
End If
SCRIPTING
If
deleteAll
is
<value>
SCRIPTING
Show Cancel Button
VARIABLES
Set variable
args
to
vars.deleteAll
VARIABLES
Set variable
mediaURL
to
vars.urlPlaceholder
Otherwise
WEB
Get URLs from
mediaURL
SCRIPTING
If
urls
has any value
TEXT
BEGIN:VCARD N:Download Video;;;; PHOTO;ENCODING=b:
icons.aIcon
ORG:Videos, GIFs, Clips at Custom Quality; END:VCARD BEGIN:VCARD N:Download Audio;;;; PHOTO;ENCODING=b:
icons.pIcon
ORG:Standalone or Video-Extracted; END:VCARD BEGIN:VCARD N:Download Playlist;;;; PHOTO;ENCODING=b:
icons.vIcon
ORG:Video or Audio, at Default Quality; END:VCARD BEGIN:VCARD N:Download Gallery;;;; PHOTO;ENCODING=b:
icons.gIcon
ORG:Images, GIFs, Clips, Albums, Entire Profiles; END:VCARD
VARIABLES
Otherwise
VARIABLES
Set variable
mediaURL
to
vars.noURL
End If
SCRIPTING
Count
Characters
in
mediaURL
SCRIPTING
If
charCount
is less than or equal to
30
TEXT
mediaURL
Otherwise
TEXT
Match
^.{30}
in
mediaURL
Case Sensitive
TEXT
End If
TEXT
icons.hIcon
BEGIN:VCARD N:About;;;; PHOTO;ENCODING=b:
enabledFeatures
ORG:Helpful links & Donations; END:VCARD
VARIABLES
SCRIPTING
Set name of
mainMenuTemplate
to
mainMenu.vcf
TEXT
SW-DLT: Main Menu
RUN_MODE
URL:
displayURL
VARIABLES
SCRIPTING
Choose from
mainMenu
Prompt
mainMenuHeader
Select Multiple
SCRIPTING
Get
Value
for
dlChoice
in
listMap
VARIABLES
Set variable
dlChoiceKeyText
to
dlChoiceKey
SCRIPTING
If
dlChoiceKeyText
is
videoDownload
SCRIPTING
Choose from
lists.videoRes
Select Multiple
SCRIPTING
Get
Value
for
resChoice
in
listMap
SCRIPTING
If
res
is not
default
SCRIPTING
Choose from
properties
Select Multiple
SCRIPTING
Get
Value
for
fpsChoice
in
listMap
TEXT

Showcuts

Magic Vars

Screenshot

Submitted Anonymously over a year ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

54 more actions