ShareShortcuts

Archivator FREE

comuter
Fork “Archivator FREE”

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 comuter 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
20K
Saved
1
Actions
54
Category
Utilities
Version
1.0
Language
EN

Preview

A basic shortcut to compress and extract .zip files ### SCREENSHOTS ARE FROM Q EDITION ### Get Q Edition from either RoutineHub or by pressing the Upgrade button in the shortcut

What's New

Version 1.0

First release

Version History
1.0 Sep 18, 2024

First release

What it does

54 actions
  1. Text
  2. Choose from Menu
    …
  3. Choose from Menu
    UPGRADE TO Q EDITION
  4. Show Notification
    Checking Internet Connectivity (1/3)
  5. Get IP Address
  6. Wait
  7. If
  8. Show Notification
    Loading Captcha (2/3)
  9. Random Number
  10. Wait
  11. Show Notification
    Getting URL (3/3)
  12. Wait
  13. Ask for Input
    Please enter this captcha: …
  14. If
  15. Open URLs
  16. Stop This Shortcut
  17. If
  18. Show Notification
  19. If
  20. Show Notification
    Please check your internet connection
  21. Stop This Shortcut
  22. Choose from Menu
    skip
  23. Choose from Menu
    What would you like to do?
  24. Choose from Menu
    📥 compress
  25. Choose from Menu
    what format?
  26. Choose from Menu
    .zip
  27. Select File
  28. Show Notification
    Compressing files...
  29. Wait
  30. Make Archive
  31. Save File
  32. Show Alert
    Archive Saved!
  33. Choose from Menu
    .iso (🔒Q Edition)
  34. Run Shortcut
    Archivator FREE
  35. Choose from Menu
    .cpio (🔒Q Edition)
  36. Run Shortcut
    Archivator FREE
  37. Choose from Menu
    .gz (🔒Q Edition)
  38. Run Shortcut
    Archivator FREE
  39. Choose from Menu
    .tar (🔒Q Edition)
  40. Run Shortcut
    Archivator FREE
  41. Choose from Menu
    other .tar types (🔒Q Edition)
  42. Run Shortcut
    Archivator FREE
  43. Choose from Menu
    📤 extract
  44. Select File
  45. If
  46. Extract Archive
  47. Show Notification
    Extracting files...
  48. Wait
  49. Save File
  50. Show Alert
    Files Saved
  51. If
  52. Run Shortcut
    Archivator FREE
  53. Choose from Menu
    🔑 Upgrade for FREE
  54. Run Shortcut
    Archivator FREE

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/web'
#include 'actions/network'
#define color darkgray
#define glyph archive


menu  {
item "UPGRADE TO Q EDITION":
	showNotification("Checking Internet Connectivity (1/3)", "Loading...", false)
	const CurrentIPAddress = getExternalIP()
	wait(3)
	if CurrentIPAddress {
		showNotification("Loading Captcha (2/3)", "Loading...", false)
		const RandomNumber = randomNumber(10000, 9999999)
		wait(3)
		showNotification("Getting URL (3/3)", "Loading...", false)
		wait(1)
		const ProvidedInput = prompt("Please enter this captcha: {RandomNumber}", "Number")
		if ProvidedInput == RandomNumber {
			openURL("https://www.icloud.com/shortcuts/d49bab894a99417f9c6a58244ddeecd1")
			stop()
		} else {
			showNotification("", "E", false)
		}
	} else {
		showNotification("Please check your internet connection", "Error Code: 0", false)
	}
	stop()
item "skip":
}

menu "What would you like to do?" {
item "📥 compress":
	menu "what format?" {
	item ".zip":
		const File = selectFile(true)
		showNotification("Compressing files...", "Loading", false)
		wait(3)
		const Archive = makeArchive(File, "Archivator FREE")
		saveFile("/archives/archive.zip", Archive)
		alert("Archive saved to: {['File Path']}", "Archive Saved!")
	item ".iso (🔒Q Edition)":
		runSelf()
	item ".cpio (🔒Q Edition)":
		runSelf()
	item ".gz (🔒Q Edition)":
		runSelf()
	item ".tar (🔒Q Edition)":
		runSelf()
	item "other .tar types (🔒Q Edition)":
		runSelf()
	}
item "📤 extract":
	const File1 = selectFile()
	if File1['File Extension'] == "zip" {
		const Files = extractArchive(File1)
		showNotification("Extracting files...", "Loading", false)
		wait(3)
		saveFile("/archives/extracts/", Files)
		alert("Saved to: {['File Path']}", "Files Saved")
	} else {
		runSelf(File1)
	}
item "🔑 Upgrade for FREE":
	runSelf()
}
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 comuter

See All

You Might Also Like

See All
Advertisement