Login About Gallery
LaunchCuts Helper 1
VARIABLES
Set variable
Language
to
Text
TEXT
Split
Language
by
Custom
:
DOCUMENTS
Replace
App
with
$1
in
Item from List
Case Sensitive
Regular Expression
VARIABLES
Set variable
argv
to
Shortcut Input
SCRIPTING
If
Count
is greater than
1
SCRIPTING
Get
Items in Range
2
to
End Index
from
Split Text
SCRIPTING
Count
Items
in
Item from List
VARIABLES
Set variable
Count
to
Count
DATE
Current Date
VARIABLES
Set variable
Application.shortcutsMap.start
to
Date
SCRIPTING
If
Count
is greater than
50
MATHS
Count
×
.32
Options Under Construction
MEASUREMENT
Duration
{'OutputUUID': 'C8D7A79C-9DE7-4D21-8B0F-A1482C0C6BF8', 'Type': 'ActionOutput', 'OutputName': 'Calculation Result'}
s
MEASUREMENT
Convert
Measurement
into
Duration
in
min
MATHS
Round
Converted Measurement
to
Tenths
Mode
Normal
VARIABLES
Set variable
Estimated Time
to
Rounded Number
DOCUMENTS
Replace
__COUNT__
with
Count
in
Localized Strings
Case Sensitive
Regular Expression
DOCUMENTS
Replace
__TIME__
with
Estimated Time
in
Updated Text
Case Sensitive
Regular Expression
SCRIPTING
Show alert
Localized Strings
Title
Localized Strings
Show Cancel Button
MATHS
Count
÷
10
Options Under Construction
MATHS
Round
Calculation Result
to
Ones Place
Mode
Always Round Down
VARIABLES
Set variable
Parts
to
Rounded Number
NUMBER
0
VARIABLES
Set variable
Num Processed
to
Number
NUMBER
1
VARIABLES
Set variable
Current Part
to
Number
DOCUMENTS
Replace
__COUNT__
with
Count
in
Localized Strings
Case Sensitive
Regular Expression
NOTIFICATIONS
Show notification
Input
Options Under Construction
End If
COMMENT
✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️◻️✳️◻️✳️◻️✳️ ✳️✳️✳️✳️◻️✳️✳️✳️ ✳️◻️✳️◻️◻️✳️◻️◻️ ✳️◻️◻️✳️◻️✳️◻️◻️
SCRIPTING
Repeat with each item in
Item from List
SCRIPTING
URL
Decode
Repeat Item 2
VARIABLES
Set variable
Shortcut.name
to
URL Encoded Text
FILES
Filter
All Shortcuts
where
Name
is
Shortcut.name
Sort by
None
Limit
Get 1 File
VARIABLES
Set variable
Shortcut.file
to
Files
VARIABLES
Set variable
Shortcut.plist
to
Files
SCRIPTING
If
Shortcut.file
does not have any value
COMMENT
The shortcut does not exist, so ignore.
Otherwise
SCRIPTING
If
Count
is greater than
20
COMMENT
Calculate progress if the number of shortcuts to process is over 20.
MATHS
Num Processed
+
1
Options Under Construction
VARIABLES
Set variable
Num Processed
to
Calculation Result
MATHS
10
×
Current Part
Options Under Construction
MATHS
Num Processed
÷
Count
Options Under Construction
MATHS
Options Under Construction
MATHS
Round
Calculation Result
to
Ones Place
Mode
Normal
VARIABLES
Set variable
Percentage
to
Rounded Number
SCRIPTING
If
Percentage
is greater than or equal to
Calculation Result
CALENDAR
Get time between
Application.shortcutsMap.start
and
Current Date
in
Seconds
DOCUMENTS
Replace
__PERCENTAGE__
with
Percentage
in
Localized Strings
Case Sensitive
Regular Expression
DOCUMENTS
Replace
__NUM__
with
Num Processed
in
Updated Text
Case Sensitive
Regular Expression
DOCUMENTS
Replace
__COUNT__
with
Count
in
Updated Text
Case Sensitive
Regular Expression
DOCUMENTS
Replace
__DURATION__
with
Time Between Dates
in
Updated Text
Case Sensitive
Regular Expression
NOTIFICATIONS
Show notification
Input
Options Under Construction
MATHS
1
+
Current Part
Options Under Construction
VARIABLES
Set variable
Current Part
to
Calculation Result
End If
End If
SCRIPTING
Set name of
Shortcut.plist
to
Shortcut.file
.plist
DOCUMENTS
Get text from
Renamed Item
VARIABLES
Set variable
Shortcut.source
to
Text
COMMENT
Get the glyph and color.
TEXT
Split
Shortcut.source
by
Custom
Pattern.chop
SCRIPTING
Get
Last Item
from
Split Text
VARIABLES
Set variable
Shortcut.settings
to
Item from List
COMMENT
Glyph
TEXT
Match
Pattern.glyph
in
Shortcut.settings
Case Sensitive
TEXT
Get
Group At Index
1
in
Matches
VARIABLES
Set variable
Shortcut.glyph
to
Text
COMMENT
Icon
TEXT
Match
Pattern.color
in
Shortcut.settings
Case Sensitive
TEXT
Get
Group At Index
1
in
Matches
VARIABLES
Set variable
Shortcut.color
to
Text
COMMENT
Get any LaunchCut Tags
TEXT
Split
Shortcut.source
by
Custom
Pattern.tags
VARIABLES
Set variable
Tag.parts
to
Split Text
SCRIPTING
Count
Items
in
Tag.parts
SCRIPTING
If
Count
is greater than
1
VARIABLES
Set variable
Shortcut.tags
to
Input
SCRIPTING
Get
Item At Index
2
from
Tag.parts
TEXT
Split
Item from List
by
Custom
</string>
SCRIPTING
Get
First Item
from
Split Text
TEXT
Split
Item from List
by
New Lines
DOCUMENTS
Replace
App
with
$1
in
Split Text
Case Sensitive
Regular Expression
SCRIPTING
Repeat with each item in
Updated Text
SCRIPTING
Count
Characters
in
Repeat Item 3
SCRIPTING
If
Count
is greater than
0
VARIABLES
Add
Repeat Item 3
to
Shortcut.tags
End If
End Repeat
Otherwise
VARIABLES
Set variable
Shortcut.tags
to
Empty.string
End If
COMMENT
Get the file size
DOCUMENTS
Get
File Size
from
Shortcut.file
MATHS
Format
File Size
into
Bytes
Options Under Construction
VARIABLES
Set variable
Shortcut.fileSize
to
Formatted File Size
COMMENT
Shortcut Type
TEXT
Split
Shortcut.settings
by
Custom
Pattern.type

Showcuts

Magic Vars

Screenshot

Submitted Anonymously a month ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0

273 more actions