PS Constant Reference Dialog

Documentation, Reference material and Tutorials for Photoshop Scripting

Moderator: PS-Moderators

PS Constant Reference Dialog

Postby 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 20 times
Last edited by catpishy on Thu Jul 15, 2010 3:15 pm, edited 2 times in total.
catpishy
 
Posts: 19
Joined: Mon Mar 08, 2010 12:24 pm

Re: PS Constant Reference Dialog

Postby 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.
for photoshop scripting solutions of all sorts
contact: xbytor@gmail.com
xbytor
Site Admin
 
Posts: 1986
Joined: Thu May 19, 2005 12:11 pm
Location: In Limbo

Re: PS Constant Reference Dialog

Postby 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.
Mike Hale
Site Admin
 
Posts: 2797
Joined: Fri Sep 30, 2005 10:52 pm
Location: USA

Re: PS Constant Reference Dialog

Postby 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 25 times


Best
catpishy
 
Posts: 19
Joined: Mon Mar 08, 2010 12:24 pm


Return to Photoshop Scripting: Reference, Documentation, & Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest