I've been searching all over, and can't find code that actually works for this. My mom randomly rotates through ALL of her photos (from Photos app) on her desktop, and very often wants to know which pic she's looking at. I found some cool Applescripts that purport to do this, but it appears that what they actually do is get the first picture in the chosen list of images, not the currently displayed image.
Here's the script that gives all the relevant info (including - supposedly - the current image):
And that gives some interesting info... but the "picture" value is wrong. It's in the right folder, but it's not the image currently being displayed. It's the first picture in the chosen image folder (alphabetically).
I'm a software engineer, but totally new to Applescript - and frankly, it mystifies me as a language.
Ideas?
Here's the script that gives all the relevant info (including - supposedly - the current image):
AppleScript:
tell application "System Events" to get properties of current desktop
And that gives some interesting info... but the "picture" value is wrong. It's in the right folder, but it's not the image currently being displayed. It's the first picture in the chosen image folder (alphabetically).
I'm a software engineer, but totally new to Applescript - and frankly, it mystifies me as a language.
Ideas?