ShareShortcuts

Photos Archiver

Welcome to Photos Archiver Version-1.0

rahulrnath
Fork “Photos Archiver”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så rahulrnath får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
53K
Gemt
2
Handlinger
69
Kategori
Produktivitet
Version
1.0
Sprog
EN

Forhåndsvisning

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 

Nyheder

Version 1.0

First release

Versionshistorik
1.0 22. jan. 2021

First release

Hvad den gør

69 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra rahulrnath

Se alle

Du vil måske også kunne lide

Se alle
Annonce