ShareShortcuts

Photos Archiver

Welcome to Photos Archiver Version-1.0

rahulrnath
Fazer fork de “Photos Archiver”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que rahulrnath receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
53K
Salvo
2
Ações
69
Categoria
Productivity
Versão
1.0
Idioma
EN

Pré-visualização

Welcome to Photos Archiver Version-1.0. Photos Archiver is a Shortcuts which helps you to archive Photos & Videos from iPhone Photos App. The main purpose of this Shortcut is to share your media files with quality lossless feature by archiving media into a .ZIP format. This Shortcuts has been included mainly three modules called Archive, Unarchive and Clear-All. Each of these functionalities are described below. • Archive Archive option mainly use to archive Photos & Videos. On first step, select media(s) then following by assigning an optional file name will store as ZIP file at path "iCloud Drive/Shortcuts/Photos Archiver/Archives". You can share file(s) for various transfer from the mentioned path. • Unarchive This option is to unarchive a ZIP file. To unarchive, initially locate the archived file and select for extraction process. The extracted files will be saved at path "iCloud Drive/Shortcuts/Photos Archiver/Unarchives". You can locate and save extracted files from the above mentioned path. • Clear-All To save storage spaces by preventing accumulation of Archived/Unarchived files, Clear-All function will helps you to permanently delete all files from Photos Archiver sub folders. A single click will help you to save your time to manage clear accumulated data. Application : Photos Archiver Version : 1.0 Developer : Rahul R Nath Published On : 22-Jan-2021 Made for Apple 

Novidades

Versão 1.0

First release

Histórico de versões
1.0 22 de jan de 2021

First release

O que ele faz

69 ações
  1. Date
  2. Set Variable
    Publish
  3. Text
  4. Set Variable
    DeveloperNote
  5. Dictionary
  6. Set Variable
    Application Name
  7. Set Variable
    Version
  8. Set Variable
    Developer
  9. Set Variable
    Archives
  10. Set Variable
    Unarchives
  11. Set Variable
    Path
  12. Create Folder
  13. Create Folder
  14. Text
  15. Text
  16. Choose from Menu
  17. Choose from Menu
    • Archive
  18. Select Photos
  19. Get File
  20. Count
  21. Set Variable
    ArchiveCount
  22. Calculate
  23. Ask for Input
    Enter file name
  24. Set Variable
    Input Name
  25. Date
  26. Format Date
  27. Set Variable
    Archive DateTime
  28. Text
  29. Set Variable
    Archive Name
  30. Make Archive
  31. Get Details of Files
  32. Set Variable
    Archive Extension
  33. Save File
  34. Show Notification
    ….… has been saved to …/…
  35. Run Shortcut
    Photos Archiver
  36. Choose from Menu
    • Unarchive
  37. Get File
  38. Get Details of Files
  39. Get Details of Files
  40. Set Variable
    Selected Archive Name
  41. Set Variable
    Selected Archive Extension
  42. Extract Archive
  43. Save File
  44. Show Notification
    ….… has been extracted to …/…
  45. Run Shortcut
    Photos Archiver
  46. Choose from Menu
    • Clear-All
  47. Get File
  48. Count
  49. Set Variable
    Archive Count
  50. Get File
  51. Count
  52. Set Variable
    Unarchive Count
  53. Calculate
  54. Choose from Menu
    Clear-All will delete all data from … folders. Do you want to continue ?
  55. Choose from Menu
    Yes
  56. Delete Files
  57. Delete Files
  58. Show Notification
    … file(s) has permanently deleted from … folder.
  59. Run Shortcut
    Photos Archiver
  60. Choose from Menu
    No
  61. Run Shortcut
    Photos Archiver
  62. Choose from Menu
    About
  63. Show Result
  64. Run Shortcut
    Photos Archiver
  65. Choose from Menu
    Help
  66. Show Result
  67. Run Shortcut
    Photos Archiver
  68. Choose from Menu
    Exit
  69. Stop This Shortcut

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#include 'actions/photos'
#include 'actions/documents'
#include 'actions/calendar'
#define color darkblue
#define glyph threeDSquareStack

currentDate()
@Publish
@DeveloperNote = "Made for Apple  "
@ApplicationName = {
	"1": "Photos Archiver",
	"2": "1.0",
	"3": "Rahul R Nath",
	"4": "Photos Archiver/Archives",
	"5": "Photos Archiver/Unarchives",
	"6": "Shortcuts"
}
@Version = ['2']
@Developer = ['3']
@Archives = ['4']
@Unarchives = ['5']
@Path = ['6']
createFolder(@Archives)
createFolder(@Unarchives)

menu "" {
item "• Archive":
	const Photos = selectPhotos(true)
	const File = getFile(@Archives)
	count(File)
	@ArchiveCount
	prompt("Enter file name")
	@InputName
	currentDate()
	formatDate(, "Custom", "ddMMyyHHmmss")
	@ArchiveDateTime
	@ArchiveName = "{@ArchiveDateTime}_{@InputName}[{@Version}]"
	const Archive = makeArchive(Photos, @ArchiveName)
	getFileDetail(nil, "File Extension")
	@ArchiveExtension
	const SavedFile = saveFile(@Archives, Archive, true)
	showNotification("{@ArchiveName}.{@ArchiveExtension} has been saved to {@Path}/{@Archives}", "Archive Created!", false, SavedFile)
	runSelf(SavedFile)
item "• Unarchive":
	const File1 = getFile(@Archives)
	getFileDetail(nil, "Name")
	getFileDetail(nil, "File Extension")
	@SelectedArchiveName
	@SelectedArchiveExtension
	const Files = extractArchive(File1)
	saveFile(@Unarchives, Files)
	showNotification("{@SelectedArchiveName}.{@SelectedArchiveExtension} has been extracted to {@Path}/{@Unarchives}", "Archive Extracted!", false, SavedFile)
	runSelf(SavedFile)
item "• Clear-All":
	const File2 = getFile(@Archives, false)
	count(File2)
	@ArchiveCount
	const File3 = getFile(@Unarchives, false)
	count(File3)
	@UnarchiveCount
	const CalculationResult = @ArchiveCount + @UnarchiveCount
	menu "Clear-All will delete all data from {@ApplicationName} folders. Do you want to continue ?" {
	item "Yes":
		deleteFiles(File2)
		deleteFiles(File3)
		showNotification("{CalculationResult} file(s) has permanently deleted from {@ApplicationName} folder.", "Data Cleared!", false, CalculationResult)
		runSelf(SavedFile)
	item "No":
		runSelf()
	}
item "About":
	show()
	runSelf(SavedFile)
item "Help":
	show()
	const ShortcutResult = runSelf(SavedFile)
item "Exit":
	stop()
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de rahulrnath

Ver tudo

Você também pode gostar

Ver tudo
Publicidade