Scan with your iPhone to install
Preview
NOTICE: B64 Encode IS NOW DISCONTINUED. You can now use Advanced Actions (5.2.1 or later) to B64 encode just as fast, and do much, much more.
B64 Encode is a very simple shortcut that does what it says; encoding images, files, or media. The main purpose of this shortcut is to be able to encode quickly and efficiently for purposes like making vCard image menus. Once you download the shortcut, you can modify it to your needs if you want to add/change something.
New features with B64 Encode 2.0
- Added a menu if no input to select file.
What's New
Version 2.0
-Added menu if no input to select photos or files
What it does
14 actions-
Text
-
If
-
Base64 Encode
-
Copy to Clipboard
-
Show AlertCopied to Clipboard.
-
If
-
Text
-
Choose from Menu…
-
Choose from MenuPhotos
-
Select Photos
-
Choose from MenuFiles
-
Select File
-
Text
-
Run Shortcut
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/sharing'
#include 'actions/crypto'
#define color yellow
#define glyph threeDSquareStack
const MenuResult = if ShortcutInput {
const Base64Encoded = base64Encode(ShortcutInput)
setClipboard(Base64Encoded)
alert(, "Copied to Clipboard.")
} else {
menu {
item "Photos":
selectPhotos()
item "Files":
selectFile()
}
const Text = "B64 Encode 2.0"
runSelf(MenuResult)
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by asboy
You Might Also Like
Advertisement