Search found 353 matches

by Kukurykus
Tue Apr 06, 2021 2:19 pm
Forum: Help Me
Topic: Show all layers of all files in the folder
Replies: 4
Views: 79

Re: Show all layers of all files in the folder

Remove colon and change backslashes to slashes, plus add one at beginning of path.
by Kukurykus
Tue Apr 06, 2021 1:21 pm
Forum: Help Me
Topic: Show all layers of all files in the folder
Replies: 4
Views: 79

Re: Show all layers of all files in the folder

sTT = stringIDToTypeID, fls = File('~/desktop/Folder/') .getFiles('*.psd'), dsc = new ActionDescriptor(); while(fls.length) { if ((lrs = (actvDcmnt = open(fls.shift())).layers).length > 1 || !lrs[0].isBackgroundLayer) runMenuItem(sTT('selectAllLayers')), (ref = new ActionReference()).putEnumerated ...
by Kukurykus
Fri Apr 02, 2021 5:30 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

Yestarday I did not find anything special in preferences to suggest something else. Anyway for me Error().line works with/out that option.
by Kukurykus
Fri Apr 02, 2021 4:00 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

See if there are some errors in: C:\Users\User\AppData\Roaming\Adobe\Scripting.log (when you target Bridge).
by Kukurykus
Thu Apr 01, 2021 9:06 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

Try on other machine?
by Kukurykus
Wed Mar 31, 2021 7:49 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

Then I have no idea what to do. Maybe reinstall it...
by Kukurykus
Wed Mar 31, 2021 6:57 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

For me it's number of the line it's put at. Maybe get latest ESTK 4.0.0.1?
by Kukurykus
Tue Mar 30, 2021 4:08 pm
Forum: Help Me
Topic: Open Random Images of different Folders as Layers
Replies: 3
Views: 144

Re: Open Random Images of different Folders as Layers

preferences.rulerUnits = Units.PIXELS, sTT = stringIDToTypeID; (ref = new ActionReference()).putProperty(sTT('property'), gP = sTT('generalPreferences')) ref.putClass(sTT('application')); (dsc1 = new ActionDescriptor()).putReference(sTT('null'), ref); arr = ['placeRasterSmartObject', 'resizePastePl...
by Kukurykus
Mon Mar 29, 2021 9:55 pm
Forum: Photoshop Scripting - General Discussion
Topic: ES3 and Line Number?
Replies: 13
Views: 198

Re: ES3 and Line Number?

Code: Select all

Error().line
by Kukurykus
Mon Mar 29, 2021 2:41 pm
Forum: Help Me
Topic: Open Random Images of different Folders as Layers
Replies: 3
Views: 144

Re: Open Random Images of different Folders as Layers

What would be images format, orientation, dimension and their resolution, the same for all?