Open NEF file as a SmartObject
Hello everyone,
I have a NEF file on my computer that I would like to open asSmartObject so I would be able to edit properly.
here is the file:

If I open this file normally on Photoshop it will open in Camera Raw. Now near the bottom of the screen you'll see "Open Image".
If I hold the shift key I will see "Open Object". The end result is a smart object that by opening it I can edit the contents in Camera Raw.
I want to script this: opening this file as smart object, here are some pictures for this process.



