Search found 67 matches

by txuku
Sat Oct 07, 2017 2:43 pm
Forum: Photoshop Scripting - General Discussion
Topic: Performance of custom Zoom In script
Replies: 14
Views: 9810

Re: Performance of custom Zoom In script

Ah bon ! :) You have the xbytor function setZoom( ) that should suit you : function setZoom( zoom ) {// as percent cTID = function(s) { return app.charIDToTypeID(s); }; // from xbytor var docRes = activeDocument.resolution; activeDocument.resizeImage( undefined, undefined, 72/(zoom/100), ResampleMet...
by txuku
Sat Oct 07, 2017 9:04 am
Forum: Photoshop Scripting - General Discussion
Topic: Performance of custom Zoom In script
Replies: 14
Views: 9810

Re: Performance of custom Zoom In script

Bonjour

Um..............

Ctrl+ and Ctrl- with Ctrl0
seem to me the fastest ! :)
by txuku
Fri Oct 06, 2017 8:09 am
Forum: Help Me
Topic: Script to Trim and Resize Images of Different Size
Replies: 1
Views: 1838

Re: Script to Trim and Resize Images of Different Size

Bonjour

What do you mean by "cropping the image of the color of the upper left pixel" ?


Why not "From the top left corner"?

:)
by txuku
Fri Sep 22, 2017 12:34 pm
Forum: Help Me
Topic: add part of filename
Replies: 6
Views: 2887

Re: add part of filename

:D
by txuku
Fri Sep 22, 2017 9:34 am
Forum: Help Me
Topic: add part of filename
Replies: 6
Views: 2887

Re: add part of filename

Bonjour

You can try to insert this code line 28 then you delete the alerts :

Code: Select all

fileNameNoExtension=fileNameNoExtension.split( " " );
alert(fileNameNoExtension[0]);
alert(fileNameNoExtension[1]);
myLayerRef.name = fileNameNoExtension[1];
myTextRef.contents = fileNameNoExtension[1];
by txuku
Tue Aug 29, 2017 3:36 pm
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 8472

Re: Delete Tool Preset by Name

Bonjour

What is the name of the new forms you create in English ?
by txuku
Sun Aug 27, 2017 7:41 am
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 8472

Re: Delete Tool Preset by Name

Bonjour

I remove the new forms I have created by means of this function !

Is not that your case? :)
by txuku
Sat Aug 26, 2017 6:40 am
Forum: Photoshop Scripting: Code Snippets
Topic: Delete Tool Preset by Name
Replies: 9
Views: 8472

Re: Delete Tool Preset by Name

Bonjour

You create a new predefined form and copy its name
You paste this name into the script
Line 2

Code: Select all

DeleteToolPreset ("Brush tool test0 2") // "test0") // "Air Brush");

And an alert line 14

Code: Select all

alert (index)
That works well !

Go to advanced search