It is not possible to open a different Library with AppleScript. It always open the last opened library.
tell application "Photos"
open "/home/benutzer/Pictures/Testlibrary.photoslibrary"
activate
end tell
It is not possible to open a different Library with AppleScript. It always open the last opened library.
tell application "Photos"
open "/home/benutzer/Pictures/Testlibrary.photoslibrary"
activate
end tell
Works for me, but check your path - I’m guessing home
was supposed to be Users
.