Search found 26 matches

by pixxxelschubser
Sun Oct 29, 2017 4:37 pm
Forum: Help Me
Topic: If Path named "" exists
Replies: 2
Views: 2764

Re: If Path named "" exists

Try this:

Code: Select all

try {
var aDoc = app.activeDocument;
var allPathItems = aDoc.pathItems;
var aPath = aDoc.pathItems.getByName("stone");
// alert('The pathItem: '+aPath.name+' was found');
// do whatever you want
} catch(e) {
// alert(e.message+': '+e.line);
// do nothing
}
by pixxxelschubser
Fri Aug 18, 2017 11:01 pm
Forum: Help Me
Topic: Smart Object Replacement, Saving,Naming
Replies: 4
Views: 3787

Re: Smart Object Replacement, Saving,Naming

The crossposting was removed. What a shame. It was the better one. With an example file.
by pixxxelschubser
Mon May 15, 2017 8:35 pm
Forum: Photoshop Scripting - General Discussion
Topic: Add Scripts in Filter Menu
Replies: 8
Views: 7834

Re: Add Scripts in Filter Menu

Why not at the normal place in File --> Skripten menu?
by pixxxelschubser
Sat May 13, 2017 12:38 pm
Forum: Photoshop Scripts
Topic: 6up and 8up Script
Replies: 2
Views: 4908

Re: 6up and 8up Script

Hi guys, … I tried searching for this but searching 8ups didn't return anything so if anyone could point me in the right direction or is able to write a script to do this, it would be much appreciated … Hmmh? I can't see that "it would be much appreciated" :roll: Hi guys, … didn't return anything …...
by pixxxelschubser
Mon May 08, 2017 8:36 pm
Forum: Help Me
Topic: how to know smart object image source path
Replies: 3
Views: 3116

Re: how to know smart object image source path

Your crossposting was answered already
https://forums.adobe.com/thread/2310570
by pixxxelschubser
Mon May 08, 2017 8:23 pm
Forum: Photoshop Scripts
Topic: 6up and 8up Script
Replies: 2
Views: 4908

Re: 6up and 8up Script

Sorry, but there are to little informations. with dialog or fixed value for 6 or 8-up? with gaps or not? with background or transparent? with error management or not? you want to write the script by yourself or not? But anyway – for the beginning (one image should be opened in PS): app.preferences.r...
by pixxxelschubser
Sat Mar 04, 2017 12:58 pm
Forum: Help Me
Topic: Lazy JavaScript function needs to be run several times for simple layer op
Replies: 1
Views: 1892

Re: Lazy JavaScript function needs to be run several times for simple layer op

Your script fails if active layer is not a layer set. Your script fails if layer set "myArray[item]" not exists. Your script fails if active layer was moved in his new group. (The order is wrong now) Try this for the beginning: //var myArray = ['abc','def','ghi']; var myArray = ['1','2','3']; organi...
by pixxxelschubser
Tue Jan 24, 2017 8:41 pm
Forum: Help Me
Topic: Get selected workspace in Photoshop
Replies: 3
Views: 3530

Re: Get selected workspace in Photoshop

Same procedure, without json alert(listAllWorkspaces().join("\n")); function listAllWorkspaces () { var ref = new ActionReference(); Info = new Array(); ref.putProperty( charIDToTypeID("Prpr"), stringIDToTypeID("workspaceList") ); ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), ch...
by pixxxelschubser
Mon Jan 02, 2017 8:56 pm
Forum: Photoshop Scripts
Topic: Calendar for one of 98 years!
Replies: 13
Views: 14216

Re: Calendar for one of 98 years!

txuku wrote:I'm coming to the end !

'Linéaire' works. :)
Hi @txuku
Good.
;)

Please can you try the following too?

Change the

Code: Select all

sTT('linear')
again, but now with the charIDToTypeID

Code: Select all

cTT('Lnr ')
??Perhaps?? the charIDToTypeID is not so dependent on the language??