Hallo,
I need to get the info file displayed in the information window.
I’m able to get dimension, name and other.
But I can’t obtain the information of “other info”.
For example the dimension in pixel of a photo or similar.
Someone can help me?
If you are looking for the dimensions for example…use this:
set x to (choose file)
tell application "Image Events"
set theImage to open x as alias
set imgInfo to dimensions of theImage
set mywidth to item 1 of imgInfo
set myheight to item 2 of imgInfo
close theImage
end tell
display dialog "Width: " & mywidth & return & "Height:" & myheight
or - if you want all the properties - you can use this line in the code above: