ShareShortcuts

ViewBox

ViewBox is a shortcut used to view the inside of a box without opening it --- 1

smarties
Fork “ViewBox”

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 smarties 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
62K
Saved
1
Actions
33
Category
Utilities
Version
1.1
Language
EN

ViewBox is a shortcut used to view the inside of a box without opening it


  1. Just open ViewBox then Press Generate Code and wait for a popup with your code

  2. Press Ok then you will get a popup saying to get your box ready as you will be taking your photos

  3. Now a popup saying how many photos will appear put your desired amount then take your photos

(It may take longer for the photos to load depending on how many photos you take)

  1. Now after your photos have been saved you can view them click View Box then enter your code with “.zip” at the end

What's New

Version 1.1

Added an exit button and delete Box button

Version History
1.1 Mar 26, 2020

Added an exit button and delete Box button

1.0 Mar 14, 2020

First release

What it does

33 actions
  1. Create Folder
  2. Choose from Menu
    Welcome to ViewBox
  3. Choose from Menu
    Add Box
  4. Text
  5. Set Variable
    Numbers
  6. List
  7. Filter Files
  8. Get Item from List
  9. Combine Text
  10. Show Alert
  11. Show Notification
    Please write your code onto your box
  12. Show Alert
    You are going to take your photos now
  13. Take Photo
  14. Make Archive
  15. Save File
  16. Show Notification
    Your box has been saved your code is:…
  17. Stop This Shortcut
  18. Choose from Menu
    View Box
  19. Ask for Input
    Please enter your code with “.zip” at the end
  20. Get File
  21. Extract Archive
  22. Quick Look
  23. Stop This Shortcut
  24. Choose from Menu
    Delete Box
  25. Ask for Input
    Please enter your code with “.zip” at the end
  26. Get File
  27. Extract Archive
  28. Quick Look
  29. Show Alert
    ⚠️ Warning ⚠️
  30. Delete Files
  31. Stop This Shortcut
  32. Choose from Menu
    Exit
  33. 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/media'
#include 'actions/documents'
#define color lightblue
#define glyph cube

createFolder("ViewBox")

menu "Welcome to ViewBox " {
item "Add Box":
	@Numbers = "4"
	const List = list("1", "2", "3", "4", "5", "6", "7", "8", "9", "0")
	const Files = filterFiles(List, "Random")
	const ItemFromList = getListItems(Files, 0, @Numbers)
	const CombinedText = joinText(ItemFromList, "Custom")
	confirm("Your code is: {CombinedText}")
	showNotification("Please write your code onto your box", CombinedText)
	alert("Please get your box ready", "You are going to take your photos now")
	const Photo = takePhoto(Ask, true)
	const Archive = makeArchive(Photo, "zip", CombinedText)
	saveFile("ViewBox/{CombinedText}", Archive)
	showNotification("Your box has been saved your code is:{CombinedText}", "Thank you for using ViewBox", false)
	stop()
item "View Box":
	prompt("Please enter your code with “.zip” at the end")
	const File = getFile("ViewBox/{}")
	const Files1 = extractArchive(File)
	quicklook(Files1)
	stop()
item "Delete Box":
	prompt("Please enter your code with “.zip” at the end")
	const File1 = getFile("ViewBox/{}")
	const Files2 = extractArchive(File1)
	quicklook(Files2)
	alert("Are you sure you want to delete these photos?", "⚠️ Warning ⚠️ ")
	deleteFiles(File1)
	stop()
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 smarties

See All

You Might Also Like

See All
Advertisement