Page 1 of 1

PS Constant Reference Dialog

Posted: Wed Jul 14, 2010 6:07 pm
by catpishy
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

PS Constant Reference Dialog

Posted: Wed Jul 14, 2010 11:49 pm
by xbytor
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.

PS Constant Reference Dialog

Posted: Thu Jul 15, 2010 2:33 am
by Mike Hale
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.

PS Constant Reference Dialog

Posted: Thu Jul 15, 2010 3:19 pm
by catpishy
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