photoshop path operations read only?
photoshop path operations read only?
- Subject: photoshop path operations read only?
- From: Håvard Graudo <email@hidden>
- Date: Wed, 17 Aug 2011 12:37:55 +0200
I am not able to change some settings on paths in photoshop. Ie. I want to change the path direction of a subpath to 'shape xor'.
When I look at Photoshops dictionary for 'sub path info' it lists 'operation' as a get/set value:
sub path info:
operation | get/set | sub path info operation
The choices given for 'sub path info operation' are: shape add, shape intersect, shape subtract, shape xor
I can *read* the operations value OK, but I am not able to change it.
I get no errors, PS just ignores me. Am I doing something wrong or is Photoshop treating this as a read-only value?
This has been so in CS3, CS4 and CS5. I have not tested CS5.5
Is there another way of doing this?
Thanks,
Håvard
Dummy code:
tell application "Adobe Photoshop CS5"
tell document 1
set x to (count path items)
if x > 0 then
repeat with y from 1 to x
set pathitems to (every item of entire path of path item y)
repeat with enPathItem in pathitems
log (get operation of enPathItem)
--> (*shape intersect*)
set operation of enPathItem to shape xor
--> nothing happens here!
end repeat
end repeat
end if
end tell
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden