Search found 528 matches

by Kukurykus
Sun Feb 12, 2023 12:08 am
Forum: Help Me
Topic: frame tool bounds always 0
Replies: 2
Views: 1352

Re: frame tool bounds always 0

sTT = stringIDToTypeID; (ref = new ActionReference()) .putProperty(sTT('property'), sTT('framedGroup')) ref.putEnumerated(sTT('layer'), sTT('ordinal'), sTT('targetEnum')) cnt = (dsc = executeActionGet(ref).getObjectValue(sTT('framedGroup')).getObjectValue(sTT('framedGroupRect'))).count tlbr = {}; f...
by Kukurykus
Wed Jan 18, 2023 8:43 pm
Forum: Help Me
Topic: Text moves after content change
Replies: 5
Views: 1739

Re: Text moves after content change

You want to set certain layer to be active one? If so then use this code:

Code: Select all

with(activeDocument) activeLayer = artLayers.getByName('text')
by Kukurykus
Wed Jan 18, 2023 7:39 pm
Forum: Help Me
Topic: Text moves after content change
Replies: 5
Views: 1739

Re: Text moves after content change

I reproduced it. It seems to be a bug when using Document Object Model. Happily it works correctly with Action Manager code: sTT = stringIDToTypeID, txt = 'Text1 & Text2 Text1 & Text2 Text1 & Text2 Text1 & Text2 '; (ref = new ActionReference()).putEnumerated(sTT('textLayer'), sTT('or...
by Kukurykus
Wed Jan 18, 2023 5:50 pm
Forum: Help Me
Topic: Text moves after content change
Replies: 5
Views: 1739

Re: Text moves after content change

Put whole code (at least the working part till the said part) and upload compressed psd files (one for each dimension), so I'll test it for you. Ps. so far in PS 2023 I created bigger document with resolution 72, added some text, then resized document, finally tried with no problem this code: active...
by Kukurykus
Mon Jan 16, 2023 6:12 am
Forum: Photoshop Scripts: Beta Testing
Topic: Photosphere
Replies: 15
Views: 28494

Re: Photosphere

The below site is down. That is the script from this thread, plus many others do no work. For example also these: Tone corrector and Script manager.

http://www.planete-bleue.net / instead of linking your scripts again could you rar them and upload to appropriate posts?
by Kukurykus
Mon Jan 16, 2023 6:01 am
Forum: Photoshop Scripts: Beta Testing
Topic: Autoframe
Replies: 1
Views: 1418

Re: Autoframe

What are these scripts - can you shortly say what each of them is meant for?
by Kukurykus
Thu Dec 29, 2022 1:07 pm
Forum: Help Me
Topic: Insert image in Photoshop
Replies: 11
Views: 3577

Re: Insert image in Photoshop

Make sure your document has 72 dpi, then replace: dcmnt = documents.add(500, 500, 72) to: y = [20, 50, 180, 210], dcmnt = activeDocument and: dcmnt.selection.select([[30, x1 += 20], [51, x1], [51, x2 += 20], [30, x2]]) to: shft = y.shift(), dcmnt.selection.select([[shft, x1 += 20], [shft + 21, x1], ...
by Kukurykus
Thu Dec 22, 2022 7:49 am
Forum: Help Me
Topic: Insert image in Photoshop
Replies: 11
Views: 3577

Re: Insert image in Photoshop

icns = [ "\u0089PNG\r\n\x1A\n\x00\x00\x00\rIHDR\x00\x00\x00\x15\x00\x00\x00\x15\b\x02\x00\x00\x00&u2\u00C1\x00\x00\x00\tpHYs\x00\x00\x0B\x13\x00\x00\x0B\x13\x01\x00\u009A\u009C\x18\x00\x00\x00 cHRM\x00\x00z%\x00\x00\u0080\u0083\x00\x00\u00F9\u00FF\x00\x00\u0080\u00E9\x00\x00u0\x00\x00\u00E...
by Kukurykus
Wed Dec 21, 2022 1:55 pm
Forum: Help Me
Topic: Insert image in Photoshop
Replies: 11
Views: 3577

Re: Insert image in Photoshop

If you want to put only 5 icons use one loop (instead of three). You don't need more instances of once used icon, do you?