Quantcast
Channel: Pixelmator
Viewing all articles
Browse latest Browse all 833

Bugs • AppleScript: duplicate [layer] ignores the "with properties" parameter

$
0
0
Apple M2, Sonoma 14.5
Version 3.6.4 (Archipelago)

In this case, duplicating a layer ignores the "with properties" argument. The example below duplicates a layer and at the same time gives it a new name and lock state. Those specified properties are ignored.
tell application "Pixelmator Pro"set testDoc to make new document with properties {name:"Naming Test"}tell testDocset imageLayer to make new image layer with properties {name:"Original Layer", locked:true}duplicate imageLayer with properties {name:"Duplicate", locked:false}end tellend tell

Statistics: Posted by Jim R — Yesterday 21:10:53



Viewing all articles
Browse latest Browse all 833

Trending Articles