PS Constant Reference Dialog

Documentation, Reference material and Tutorials for Photoshop Scripting

Moderators: xbytor, DavideBarranca, Paul MR

Post Reply
catpishy

PS Constant Reference Dialog

Post by catpishy » Wed Jul 14, 2010 6:07 pm

Hi,

Here's a script for "PS Constants" the data in it is copied from "PSConstants.js" which is used for "Action Manager" codes.

Best

PS Constants ref.zip (65.35 KiB) Downloaded 267 times

xbytor

PS Constant Reference Dialog

Post by xbytor » Wed Jul 14, 2010 11:49 pm

Interesting. I would have just included (or copied in) PSConstants.js and created the command/code lists on the fly

One note on PSString is that for Commands the don't have Codes provided, the Code is the same as the Command.
And you probably should clear the list when the user changes the selected group.

Mike Hale

PS Constant Reference Dialog

Post by Mike Hale » Thu Jul 15, 2010 2:33 am

xbytor wrote:Interesting. I would have just included (or copied in) PSConstants.js and created the command/code lists on the fly.
I was thinking the same thing. That way if X updates PSConstants.js this will be updated too.

I also agree that it would be nice/less confusing if the listbox cleared when switching groups instead of show the previous groups data.

catpishy

PS Constant Reference Dialog

Post by catpishy » Thu Jul 15, 2010 3:19 pm

Mike Hale wrote:xbytor wrote:Interesting. I would have just included (or copied in) PSConstants.js and created the command/code lists on the fly.
I was thinking the same thing. That way if X updates PSConstants.js this will be updated too.

I also agree that it would be nice/less confusing if the listbox cleared when switching groups instead of show the previous groups data.

I made the changes as you mentioned; hope is right:

PS Constants ref.zip (65.35 KiB) Downloaded 292 times

Best

Post Reply