Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how can i find photos taken woth iphone as opposed to all photos?

im trying to find photos that only i have taken with the iphone as opposed to all photos including received and pre exisiting

Posted on Mar 11, 2018 5:49 PM

Reply
2 replies

Mar 12, 2018 4:05 AM in response to MajiSingh

Copy and paste the following into the Script Editor (Launchpad : Other : Script Editor). Click the compile button, and then run it.


The script will perform a Spotlight lookup of all images on your computer whose model contains "iPhone", and pop a Finder window showing these images. It is recommended that you choose Show Path Bar from the Finder View menu, so that when you click on a found image, you see its path.


Long lines may wrap in this window formatting.


-- assumption: Spotlight is indexing and the Images category is enabled

use framework "Cocoa"

use AppleScript version "2.4"

use scripting additions


property NSWorkspace : a reference to current application's NSWorkspace


-- can be tuned to show "iPhone 4S", etc.

set cameraModel to "iPhone"

set query to "kind:image AND kMDItemAcquisitionModel:" & cameraModel

set result_code to (NSWorkspace'ssharedWorkspace)'s showSearchResultsForQueryString:query

return

how can i find photos taken woth iphone as opposed to all photos?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.