Login About Gallery
Speedy Frames
COMMENT
‎This shortcut is a modification of Federico Viticci’s Apple Frames 2.0 optimized for creating single-shot iPhone mockups as quickly as possible. On MacStories: https://www.macstories.net/ios/apple-frames-2-0-faster-lighter-and-featuring-support-for-iphone-13-ipad-mini-ipad-10-2-imac-24-macbook-air-and-multiple-languages/ My post: https://bilge.world/speedy-frames
TEXT
‎English
TEXT
‎Split ‎Text ‎by ‎New Lines
SCRIPTING
‎Count ‎Items ‎in ‎Split Text
SCRIPTING
‎If ‎Count ‎is ‎0
TEXT
‎English
VARIABLES
‎Set variable ‎Language ‎to ‎Text
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Count ‎is greater than or equal to ‎1
SCRIPTING
‎Repeat with each item in ‎Split Text
SCRIPTING
‎If ‎Repeat Item ‎does not have any value
NOTHING
‎Nothing
SCRIPTING
‎Otherwise
VARIABLES
‎Add ‎Repeat Item ‎to ‎Language
SCRIPTING
‎End If
SCRIPTING
‎End Repeat
SCRIPTING
‎Get ‎First Item ‎from ‎Language
VARIABLES
‎Set variable ‎Language ‎to ‎Language
SCRIPTING
‎Otherwise
SCRIPTING
‎End If
SCRIPTING
‎End If
DICTIONARY
VARIABLES
‎Set variable ‎Menu Commands ‎to ‎Dictionary
DOCUMENTS
‎Get File
Service
‎iCloud Drive
Show Document Picker
Select Multiple
VARIABLES
‎Set variable ‎Frames File ‎to ‎File
SCRIPTING
‎Count ‎Items ‎in ‎Frames File
SCRIPTING
‎If ‎Count ‎is ‎0
SCRIPTING
‎Get ‎Value ‎for ‎Setup File. ‎Language ‎in ‎Menu Commands
SCRIPTING
‎Show alert ‎⚠️
Title
‎⚠️
Show Cancel Button
NETWORK
‎Get contents of ‎https://cdn.macstories.net/Frames.json
‎Options Under Construction
SCRIPTING
‎Set name of ‎Contents of URL ‎to ‎Frames.json
DOCUMENTS
‎Save ‎Renamed Item
Service
‎iCloud Drive
Ask Where to Save
Destination Path
‎/Shortcuts/Text
Overwrite If File Exists
SCRIPTING
‎Wait ‎2 seconds
SCRIPTING
‎Get ‎Value ‎for ‎Setup Done. ‎Language ‎in ‎Menu Commands
SCRIPTING
‎Show alert ‎✅
Title
‎✅
Show Cancel Button
DOCUMENTS
‎Get File
Service
‎iCloud Drive
Show Document Picker
Select Multiple
VARIABLES
‎Set variable ‎Frames File ‎to ‎File
SCRIPTING
‎Otherwise
SCRIPTING
‎End If
SCRIPTING
‎Get dictionary from ‎Frames File
VARIABLES
‎Set variable ‎Frames Dictionary ‎to ‎Dictionary
MEDIA
‎Get images from ‎Shortcut Input
SCRIPTING
‎If ‎Images Input ‎does not have any value
SCRIPTING
‎Get ‎Value ‎for ‎Image Picker. ‎Language ‎in ‎Menu Commands
PHOTOS
‎Get the latest ‎1 photo
Include Screenshots
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Latest Photos
SCRIPTING
‎Otherwise
MEDIA
‎Get images from ‎Images Input
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Images
SCRIPTING
‎End If
SCRIPTING
‎Repeat with each item in ‎If Result
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Repeat Item
MEDIA
‎Get ‎Width ‎from ‎Repeat Item
VARIABLES
‎Set variable ‎Width of Repeat Item ‎to ‎Details of Images
MEDIA
‎Get ‎Height ‎from ‎Repeat Item
VARIABLES
‎Set variable ‎Height of Repeat Item ‎to ‎Height
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎1242
MEDIA
‎Get ‎Height ‎from ‎Repeat Item
SCRIPTING
‎If ‎Details of Images ‎is ‎2688
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.11.Pro Max.Portrait ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎End If
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎1125
SCRIPTING
‎If ‎Height of Repeat Item ‎is not ‎2436
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.11.Pro.Portrait ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎Otherwise
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.12-13.mini.Portrait ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
MEDIA
‎Resize ‎Repeat Item ‎to ‎1080 ‎x ‎2340
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Resized Image
SCRIPTING
‎End If
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎2688
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.11.Pro Max.Landscape ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎2436
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.12-13.mini.Landscape ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
MEDIA
‎Resize ‎Repeat Item ‎to ‎2340 ‎x ‎1080
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Resized Image
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎368
MEDIA
‎Resize ‎Repeat Item ‎to ‎368.0 ‎x ‎Auto Height
VARIABLES
‎Set variable ‎Screenshot ‎to ‎Resized Image
SCRIPTING
‎Get ‎Value ‎for ‎Watch.Series 4.44 ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎750
SCRIPTING
‎Get ‎Value ‎for ‎iPhone.iPhone 8 and 2020 SE.Portrait ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎2732
SCRIPTING
‎Get ‎Value ‎for ‎iPad.2018-2021 iPad Pro.Landscape ‎in ‎Frames Dictionary
VARIABLES
‎Set variable ‎Matched Device Dictionary ‎to ‎Dictionary Value
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Width of Repeat Item ‎is ‎2048
MEDIA
‎Get ‎Height ‎from ‎Repeat Item

Showcuts

Magic Vars

Screenshot

Submitted by NeoYokel 3 years ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

1

116 more actions