Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Problem getting latitude and longitude

Comments

2 comments

  • Rick Allen
    I think you need to get the parent image first

    tell application "Capture One 10"
    set my_variants to selected variants
    repeat with item_ctr in my_variants
    set item_ to (get parent image of item_ctr)
    set size_settings to EXIF latitude of item_
    display dialog size_settings
    end repeat
    end tell


    OR

    tell application "Capture One 10"
    set my_variants to selected variants
    repeat with item_ctr in my_variants
    set item_ to (get EXIF latitude of parent image of item_ctr)
    display dialog item_
    end repeat
    end tell
    0
  • Permanently deleted user
    Hi Rick,

    Thanks for the help. I learned a few things here! I won't go to bed so stupid tonight!

    Here is what I ended up with.

    tell application "Capture One 10"
    set my_variants to selected variants
    repeat with item_ctr in my_variants
    set item_ to (get parent image of item_ctr)
    set GPS to {EXIF latitude, EXIF longitude} of item_
    end repeat
    end tell


    The next challenge will be appending a URL but I think I am on the way. Waiting for the correct url at the moment.

    Thanks again for the help,
    Bill
    0

Post is closed for comments.