Search found 528 matches

by Kukurykus
Wed Oct 21, 2020 4:13 pm
Forum: Help Me
Topic: Select specific tool?
Replies: 4
Views: 2706

Re: Select specific tool?

by Kukurykus
Sun Sep 13, 2020 7:19 am
Forum: Help Me
Topic: Duplicate layer when a file are open
Replies: 2
Views: 1962

Re: Duplicate layer when a file are open

Code: Select all

if (documents.length && (lrs = (aD = activeDocument).layers).length < 2 && (lyr = lrs[0]).isBackgroundLayer) aD.activeLayer = lyr.duplicate()
by Kukurykus
Tue Aug 25, 2020 10:11 am
Forum: Photoshop Scripts
Topic: Per Layer Guides.
Replies: 9
Views: 10633

Re: Per Layer Guides.

Here that doesn't work: Per Layer Guides., but here you can download it from: Oct, 1 & 2, 2013
by Kukurykus
Sun Aug 23, 2020 4:33 pm
Forum: Help Me
Topic: How to remove xmp metadata?
Replies: 2
Views: 2055

Re: How to remove xmp metadata?

fle = File('~/desktop/someFile.tif'); if (!ExternalObject.AdobeXMPScript) ExternalObject.AdobeXMPScript = new ExternalObject('lib:AdobeXMPScript') xmp = new XMPFile(fle.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE) xmp.putXMP(new XMPMeta()), xmp.closeFile(XMPConst.CLOSE_UPDATE_SAFELY) In case...
by Kukurykus
Thu Jul 16, 2020 7:38 am
Forum: Help Me
Topic: Setting position on live shape layer
Replies: 2
Views: 2154

Re: Setting position on live shape layer

Code: Select all

b = (lyr = (aD = activeDocument).activeLayer).bounds, lyr.translate(-b[0] + 10 , -b[1] + 10)
by Kukurykus
Wed Jul 08, 2020 8:04 am
Forum: Help Me
Topic: [solved] [Python] How to access Smart Objects?
Replies: 2
Views: 3267

Re: [Python] How to access Smart Objects?

Before you create smart object create layers composition for layers. Create then from them SO and switch visibility without opening embedded layers by properties panel. Probably you can also open smart object to set layers compositions for the first time, then save document once for keeps and access...
by Kukurykus
Mon Jul 06, 2020 7:12 am
Forum: Help Me
Topic: This is a question about Photoshop script
Replies: 2
Views: 1974

Re: This is a question about Photoshop script

Your both steps are not clear. Please explain it better, maybe by posting relevant screenshots from manual work.
by Kukurykus
Sat Jul 04, 2020 8:50 pm
Forum: Help Me
Topic: Flip Window
Replies: 2
Views: 2026

Re: Flip Window

You must do it from Action panel to see effect in Script Listener. Choose from drop down menu Insert Menu Item.