The following code returns a parameter error:
error "Adobe Photoshop CC 2014 got an error: Parameter error." number -50
tellapplication "Adobe Photoshop CC 2014"
activate
tellcurrent document
setparentLayerSettomakenewlayer set
setnameofparentLayerSetto "parent"
setchildLayerSettomakenewlayer set
setnameofchildLayerSetto "child"
movechildLayerSettoendofparentLayerSet
endtell
endtell
anyone know a solution?
Cheers!