ShareShortcuts

ROT-13 Converter

Usage: - Converts between ROT-13 and texts without internet

arirafiq
Fork “ROT-13 Converter”

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 arirafiq 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
48K
Saved
2
Actions
20
Category
API
Version
1.0
Language
EN

Preview

Usage: - Converts between ROT-13 and texts without internet. - You can copy the result to your clipboard.

What's New

Version 1.0

First release

Version History
1.0 Aug 16, 2021

First release

What it does

20 actions
  1. Comment
    Author: Ari R. Abdulla Usage: - Converts between ROT-13 and texts without internet. - You can copy the result to your clipboard.
  2. Text
  3. Get Dictionary from Input
  4. Set Variable
    dict
  5. Ask for Input
    Enter your Text/ROT-13?
  6. Get Text from Input
  7. Change Case
  8. Split Text
  9. Set Variable
    In
  10. Repeat with Each
  11. If
  12. Get Dictionary Value
  13. Combine Text
  14. Change Case
  15. Set Variable
    Result
  16. Choose from Menu
    Your Result: …
  17. Choose from Menu
    Copy
  18. Copy to Clipboard
  19. Choose from Menu
    Exit
  20. Stop This 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/text'
#define color yellow

/*
Author: Ari R. Abdulla
Usage:
- Converts between ROT-13 and texts without internet.
- You can copy the result to your clipboard.
*/
const Text = "{\n  \\"a\\": \\"n\\",\n  \\"b\\": \\"o\\",\n  \\"c\\": \\"p\\",\n  \\"d\\": \\"q\\",\n  \\"e\\": \\"r\\",\n  \\"f\\": \\"s\\",\n  \\"g\\": \\"t\\",\n  \\"h\\": \\"u\\",\n  \\"i\\": \\"v\\",\n  \\"j\\": \\"w\\",\n  \\"k\\": \\"x\\",\n  \\"l\\": \\"y\\",\n  \\"m\\": \\"z\\",\n  \\"n\\": \\"a\\",\n  \\"o\\": \\"b\\",\n  \\"p\\": \\"c\\",\n  \\"q\\": \\"d\\",\n  \\"r\\": \\"e\\",\n  \\"s\\": \\"f\\",\n  \\"t\\": \\"g\\",\n  \\"u\\": \\"h\\",\n  \\"v\\": \\"i\\",\n  \\"w\\": \\"j\\",\n  \\"x\\": \\"k\\",\n  \\"y\\": \\"l\\",\n  \\"z\\": \\"m\\",\n  \\" \\": \\" \\"\n}"
getDictionary(Text)
@dict
const ProvidedInput = prompt("Enter your Text/ROT-13?")
const Text1 = getText(ProvidedInput)
const UpdatedText = uppercase(Text1)
splitText(UpdatedText, "")
@In

for _ in @In {
	if @RepeatItem == "" {
	}
}
const CombinedText = joinText(RepeatResults, "Custom")
uppercase(CombinedText)
@Result

menu "Your Result: {@Result} " {
item "Copy":
	setClipboard(@Result)
item "Exit":
	stop()
}
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 arirafiq

See All

You Might Also Like

See All
Advertisement