How can i open document in photoshop as smart object ("ScriptingListenerJS.log" is not writing anything for this action)?
I can't understand how can i use Code: Select allapp.open (somedocument, asSmartObject)
help me, please
Open as Smart Object
Open as Smart Object
The only image format that you can open as a smart object is camera raw. Scriptlistener does record that action.
For other formats you need to use File-Place to open the file as a smart object in an existing document. That too is recorded by scriptlistener.
For other formats you need to use File-Place to open the file as a smart object in an existing document. That too is recorded by scriptlistener.
Open as Smart Object
The only image format that you can open as a smart object is camera raw
i think, you mean with scripts, because in Photoshop i can use command "File>Open as smart object" and open any file type (as example vector *.eps)
i think, you mean with scripts, because in Photoshop i can use command "File>Open as smart object" and open any file type (as example vector *.eps)
Open as Smart Object
I stand corrected. However File-Open as Smart Object is also recorded by scriptlistener...
Code: Select all var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID('null'), new File( "E:/images/n.png" ) );
desc.putBoolean( stringIDToTypeID('smartObject'), true );
executeAction( charIDToTypeID('Opn '), desc, DialogModes.NO );
Code: Select all var desc = new ActionDescriptor();
desc.putPath( charIDToTypeID('null'), new File( "E:/images/n.png" ) );
desc.putBoolean( stringIDToTypeID('smartObject'), true );
executeAction( charIDToTypeID('Opn '), desc, DialogModes.NO );