Related Article

Organize and find your photos

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

Question:

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

Reply

Page content loaded

Mar 12, 2018 4:05 AM in response to MajiSingh 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

Mar 12, 2018 4:05 AM

Reply Helpful
User profile for user: MajiSingh

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