Search found 528 matches
- Tue Mar 14, 2023 10:50 am
- Forum: Help Me
- Topic: Change rectangle hex color
- Replies: 8
- Views: 7160
Re: Change rectangle hex color
(function(v) { sTT = stringIDToTypeID; (sc = new SolidColor()).rgb.hexValue = v; (ref = new ActionReference()).putEnumerated (sTT('contentLayer'), sTT('ordinal'), sTT('targetEnum')); (dsc1 = new ActionDescriptor()).putReference(sTT('null'), ref) dsc4 = new ActionDescriptor(), rgb = [].slice.call(sc...
- Mon Mar 13, 2023 2:07 pm
- Forum: Help Me
- Topic: Change rectangle hex color
- Replies: 8
- Views: 7160
Re: Change rectangle hex color
Hard to guess what you want, specifically when you use not working variables:
Code: Select all
(sc = new SolidColor())
.rgb.hexValue = '808080'
activeDocument.selection.fill(sc)
- Sat Mar 11, 2023 10:06 am
- Forum: Help Me
- Topic: Detecting Text Overflow?
- Replies: 12
- Views: 9906
Re: Detecting Text Overflow?
Why almost everyone I met on occaction of similar warnings can't see in left bottom corner a checkbox with a "Don't Show Again" text? Is that info not understandable or it should be placed in other position of 'Prompt' dialog? Click that to turn off these popups (which can be restored from...
- Thu Mar 09, 2023 7:08 am
- Forum: Help Me
- Topic: Detecting Text Overflow?
- Replies: 12
- Views: 9906
Re: Detecting Text Overflow?
It is going to turn off visibility of all layers that overflow Paragraph bounds. Then you can manually turn them on and edit: function rplc(v) {return v.contents.replace(/\r/g, ' ')} (function(v){var lrs = v.layers; for(var i = 0; i < lrs.length;) { var lyr = lrs[i++]; if (lyr.typename == 'LayerSet'...
- Tue Mar 07, 2023 6:46 am
- Forum: Help Me
- Topic: Detecting Text Overflow?
- Replies: 12
- Views: 9906
Re: Detecting Text Overflow?
I basically understand you, but to get the details it will be easier if you upload a compressed document (into a rar file) for testing.
- Mon Mar 06, 2023 9:55 am
- Forum: Help Me
- Topic: Detecting Text Overflow?
- Replies: 12
- Views: 9906
Re: Detecting Text Overflow?
For the single active text layer you may try following code: aHS = (aD = activeDocument).activeHistoryState contents = (tI = aD.activeLayer.textItem).contents tI.hyphenation = false, tI.kind = TextType.POINTTEXT result = contents == tI.contents.replace(/\r/g, '') aD.activeHistoryState = aHS, alert(r...
- Sat Mar 04, 2023 8:47 am
- Forum: Help Me
- Topic: Detecting Text Overflow?
- Replies: 12
- Views: 9906
Re: Detecting Text Overflow?
You mean text in Paragraph Text, so not in Point Text field?
- Sat Mar 04, 2023 8:40 am
- Forum: Photoshop Scripting - General Discussion
- Topic: Compare pixels
- Replies: 2
- Views: 2875
Re: Compare pixels
Upload examplary files to compare.
- Mon Feb 27, 2023 12:07 pm
- Forum: Help Me
- Topic: Copy all paths from JPEG and paste them into a PSD?
- Replies: 2
- Views: 1449
Re: Copy all paths from JPEG and paste them into a PSD?
How many (I guess non WorkPaths, so already named) paths are already in single Jpg? Are there any path in PSDs too, or not yet?
- Thu Feb 23, 2023 4:49 pm
- Forum: Photoshop Scripting - General Discussion
- Topic: Script to Remove "Description" tag/metadata in PSD/PSB?
- Replies: 6
- Views: 3412
Re: Script to Remove "Description" tag/metadata in PSD/PSB?
If you haven't done that yet you may try to search for it in one of other threads: [EXIF] ImageDescription scripting