Place linked jpgs from an adobe CC library to Photoshop?

Hello,
I am trying to connect photoshop to a CC Library with an uxp script in order to place jpg assets from the library in a PSD file. Is it possible?
Thx
fred