Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. on run {input, parameters}
  2. tell application "Photos"
  3. get folder "Managing the library"
  4. set smartAlb to album "Measurements"
  5. set regAlbName to "Measurements-Static"
  6. tell album regAlbName to if exists then delete
  7. set regAlb to make new album named regAlbName
  8. add (get media items of smartAlb) to regAlb
  9. end tell
  10. end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement