Login About Gallery
HiRes Tweet
Accepts
URLs
COMMENT
This Twitter client lets you download media from public or private accounts at the highest quality, save to Photos or Files or share. It can also upload images at up to 8K. 2022-02-12 v2.5.1 u/gluebyte https://routinehub.co/shortcut/7912
LIST
<inline variable>
SCRIPTING
Get dictionary from
List
VARIABLES
Set variable
mainDict
to
Dictionary
SCRIPTING
If
WFInput?
is
<value>
NUMBER
4
Otherwise
SCRIPTING
Get the
System Version
DOCUMENTS
Replace
^(\d+)\.(\d).*
with
$1$2
in
System Version
.0
Case Sensitive
Regular Expression
NUMBER
3
SCRIPTING
If
Updated Text
is less than
150
NUMBER
2
SCRIPTING
If
Updated Text
is less than
143
NUMBER
1
SCRIPTING
If
Updated Text
is less than
140
NUMBER
0
End If
End If
End If
End If
VARIABLES
Set variable
OS
to
If Result
COMMENT
◥◤ CHECK INPUT
SCRIPTING
If
Shortcut Input
has any value
SCRIPTING
If
Shortcut Input
begins with
{"
VARIABLES
Set variable
command
to
mainDict
Otherwise
SCRIPTING
Get
Last Item
from
Shortcut Input
SCRIPTING
If
Item from List
contains
t.co/
WEB
End If
SCRIPTING
If
twurl
contains
twitter.com/
DOCUMENTS
Replace
^.*/(\d{17,}).*$
with
$1
in
twurl
Case Sensitive
Regular Expression
SCRIPTING
If
ID
begins with
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
Otherwise
VARIABLES
Set variable
input
to
twurl
VARIABLES
Set variable
command
to
mainDict
End If
Otherwise
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
End If
End If
End If
COMMENT
◥◤ CHECK PREF
SCRIPTING
If
OS
is greater than
2
SCRIPTING
Set
filename
to
Shortcuts/
mainDict
in
Dictionary
VARIABLES
Set variable
mainDict
to
Dictionary
End If
DOCUMENTS
Get File
Service
iCloud Drive
Show Document Picker
File Path
/Shortcuts/example.txt
Error If Not Found
SCRIPTING
If
File
does not have any value
SCRIPTING
If
OS
is greater than
2
DOCUMENTS
Create Folder
Service
iCloud Drive
Path
/Shortcuts/Shortcuts/
End If
SCRIPTING
Get dictionary from
mainDict
VARIABLES
Set variable
pref
to
Dictionary
DOCUMENTS
Save
pref
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
mainDict
Overwrite If File Exists
DOCUMENTS
Make rich text from
mainDict
DOCUMENTS
Show
Rich Text from HTML
in Quick Look
Otherwise
SCRIPTING
Get dictionary from
File
VARIABLES
Set variable
pref
to
Dictionary
SCRIPTING
Get
Value
for
prefversion
in
pref
SCRIPTING
If
prefversion
is not
mainDict
SCRIPTING
If
prefversion
is greater than
mainDict
SCRIPTING
Choose from Menu
mainDict (gotoweb)
SAFARI
Open
mainDict
End Menu
SCRIPTING
Exit shortcut with
Result
End If
TEXT
Combine
pref
with
Custom
Text
SCRIPTING
DOCUMENTS
Replace
...$
with
2$0
in
Combined Text
Case Sensitive
Regular Expression
End If
SCRIPTING
If
prefversion
is less than
3
DOCUMENTS
Replace
^.
with
$03
in
If Result
Case Sensitive
Regular Expression
End If
SCRIPTING
If
prefversion
is less than
4
DOCUMENTS
Replace
.$
with
2$0
in
If Result
Case Sensitive
Regular Expression
End If
SCRIPTING
If
prefversion
is less than
5
DOCUMENTS
Replace
2(.)$
with
3$1
in
If Result
Case Sensitive
Regular Expression
End If
TEXT
Split
If Result
by
Every Character
SCRIPTING
Set
selection
to
Split Text
in
Dictionary
SCRIPTING
Set
prefversion
to
mainDict
in
Dictionary
VARIABLES
Set variable
pref
to
Dictionary
DOCUMENTS
Save
pref
Service
iCloud Drive
Ask Where to Save
Destination Path
/Shortcuts/
mainDict
Overwrite If File Exists
End If
End If
COMMENT
◥◤ CHECK ACCOUNTS
SCRIPTING
Get
All Keys
in
pref
FILES
Sort by
Name
Order
A to Z
Limit
VARIABLES
Set variable
users
to
Files
SCRIPTING
Count
Items
in
users
VARIABLES
Set variable
usercount
to
Count
SCRIPTING
If
usercount
is not
0
SCRIPTING
If
input
has any value
DOCUMENTS
Replace
.*twitter\.com/([^/]+)/.*
with
$1
in
twurl
Case Sensitive
Regular Expression
TEXT
users

Showcuts

Magic Vars

Screenshot

Submitted by NeoYokel 5 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

760 more actions