Guest User

Untitled

a guest
Dec 16th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. set thisLocation to (path to desktop)
  2.  
  3. tell application "Photos"
  4. set theseItems to get the selection
  5. if theseItems is not {} then
  6. export theseItems to thisLocation
  7. else
  8. display dialog "No files were selected to export!" buttons {"OK"} ¬
  9. default button 1 with title "Nothing To Do" with icon 1
  10. end if
  11. end tell
Add Comment
Please, Sign In to add comment