Search found 32 matches

by Dormeur74
Mon Mar 09, 2020 4:07 pm
Forum: Help Me
Topic: open all file
Replies: 1
Views: 2591

Re: open all file

You are lucky, my English is worse than yours. But I hope you will understand me 8 months later.. You cannot work with an alphanumeric order. I propose to create a second table to sort the first in ascending order of values. Exemple : /****************************************************************...
by Dormeur74
Mon Nov 28, 2016 11:00 am
Forum: Help Me
Topic: icon to binary/hex code !
Replies: 4
Views: 5039

Re: icon to binary/hex code !

Of course you can. As it is possible to open and load a text chain, it is possible to put the whole (chain and object name) in an array. It is normal that you cannot understand the code you gave us, because there are too many errors inside. I think you ought to learn ScriptUI first. Serialization of...
by Dormeur74
Mon Nov 28, 2016 7:39 am
Forum: Help Me
Topic: icon to binary/hex code !
Replies: 4
Views: 5039

Re: icon to binary/hex code !

Hi wasfiwasfi, The name of this process is "serialization". It will be easier through an example. You create a folder in which you paste 2 files : - the following script : serialization.jsx // MAC Finder ou WINDOWS Explorer, on autorise le double clic et on fait passer Photoshop au 1er plan #target ...
by Dormeur74
Sun Nov 20, 2016 2:10 pm
Forum: Help Me
Topic: DropDownList of all system font !!
Replies: 4
Views: 3116

Re: DropDownList of all system font !!

You are lucky, I found my script on the computer I had last year 8-) /****************************************************************************************************************************** Author : Michel Rohan (Annecy) - 2015 May 25th - http://www.planete-Blue.net **************************...
by Dormeur74
Sun Nov 20, 2016 9:51 am
Forum: Help Me
Topic: DropDownList of all system font !!
Replies: 4
Views: 3116

Re: DropDownList of all system font !!

Hi wasfiwasfi, Excuse my poor English, I shall try to be as clear as possible. There is a way to create a font dropdownlist, but there are three problems : 1) DropDownList UI object did not exist before CS2. If the function var PhotoshopVersion = parseInt (app.version); returns a value < 9, you can ...
by Dormeur74
Wed Oct 05, 2016 9:18 am
Forum: Help Me
Topic: Setting Color differences
Replies: 1
Views: 1943

Re: Setting Color differences

I think it is useful to create an instance of any object, like in a true object langage. This is not obligatory in PSscripting if your code is very short. But in a 800 lines code using different variables on the same model, you must work with instances. Just a last word : your second code cannot wor...
by Dormeur74
Wed Oct 05, 2016 8:48 am
Forum: Photoshop Scripting - General Discussion
Topic: Welcome back fellow developers!
Replies: 10
Views: 9736

Re: Welcome back fellow developers!

Hi, many thanks Kukurykus.
Of course, if I can help a workflow, it will be with pleasure. And if I have a problem in a script, I know where to ask my questions. As my PS version is 12, I am never sure my scripts will work because of possible deprecated functions (like in PHP).
by Dormeur74
Mon Oct 03, 2016 4:07 pm
Forum: Photoshop Scripting Bugs and Anomalies
Topic: 2014 TextItem.size bug
Replies: 4
Views: 8404

Re: 2014 TextItem.size bug

I never met any problem with font sizes. To avoid resolution difficulties, I think that the best way is to work in points (and restore the user's preference after process, of course). But the most important (I think), is to know and use in your scripts the Postscript name of the font you want to app...
by Dormeur74
Mon Oct 03, 2016 3:45 pm
Forum: Photoshop Scripting - General Discussion
Topic: Welcome back fellow developers!
Replies: 10
Views: 9736

Re: Welcome back fellow developers!

Thank you very much ami du sud-ouest. Very nice to meet you again and here.
by Dormeur74
Mon Oct 03, 2016 3:38 pm
Forum: Photoshop Scripting: Code Snippets
Topic: how to edit a script
Replies: 1
Views: 6314

Re: how to edit a script

Hi, If you want to apply a script to the photos that are in subfolders, I think that the best way is to use a recursive function. Here is an example I wrote to extract width and height of the photos found in a folder (and its subfolders, of course). Hope it will help. // Enables double clicking from...