Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 iPhoto 中有数千张带有错误地理数据的照片(由于从错误的数据源导入),其中所有经度都丢失了减号。
在每种情况下,我只想在经度上加上一个减号。
我怎样才能为每张照片设置经度= -经度?
此脚本将经度设置为负数。
tell application "iPhoto" set tc to count photos repeat with i from 1 to tc try tell photo i to if longitude > 0 then set longitude to -(longitude) end try end repeat end tell