Hello!
Can anyone tell me how to get the name of a window in Lightroom?
After looking at all the tutorials on applescript, I thought it would be trivial to be able to retrieve the name of any window that’s active… but for some reason, I can’t seem to be able to retrieve it for any Lightroom windows.
Here’s my code:
activate application "Adobe Lightroom 3 Beta 2"
tell application "Adobe Lightroom 2"
get name of front window
end tell
The results are:
tell application "Adobe Lightroom 3 Beta 2"
activate
end tell
tell application "Adobe Lightroom 2"
get name of window 1
--> ""
end tell
the code works fine when I replace Adobe Lightroom 2 with some other application. Is lightroom doing something weird with it’s window names?
thanks!
Sam.