PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > GetPhotoID
GetPhotoID

Description:

Return the ID of the photo in the project based on the full path of the photo.

Syntax:

"GetPhotoID path"

where:

“path” is the full path of the image.

Return:

"photoID"

where:

“photoID” is the ID of the photo in the project, or "0" if this command failed.

Failure returns

- incorrect number of parameters

Example:

"GetPhotoID c:\project\photos\image1.jpg"

return "1"