Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set thisLocation to (path to desktop)
- tell application "Photos"
- set theseItems to get the selection
- if theseItems is not {} then
- export theseItems to thisLocation
- else
- display dialog "No files were selected to export!" buttons {"OK"} ¬
- default button 1 with title "Nothing To Do" with icon 1
- end if
- end tell
Add Comment
Please, Sign In to add comment