ShareShortcuts

B64 Encode 2.0

NOTICE: B64 Encode IS NOW DISCONTINUED

asboy
Fork “B64 Encode 2.0”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so asboy gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
36K
Saved
0
Actions
14
Category
Productivity
Version
2.0
Language
EN

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

  1. 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

Version History
2.0 Feb 16, 2023

-Added menu if no input to select photos or files

1.0 Dec 7, 2022

First release

What it does

14 actions
  1. Text
  2. If
  3. Base64 Encode
  4. Copy to Clipboard
  5. Show Alert
    Copied to Clipboard.
  6. If
  7. Text
  8. Choose from Menu
    …
  9. Choose from Menu
    Photos
  10. Select Photos
  11. Choose from Menu
    Files
  12. Select File
  13. Text
  14. Run Shortcut

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement