Official

Accepted

Unanswered

Advanced Filters

Search Results (2)

Relevance

Official Solution

Closed

Photoshop: How do I add options to a button via scripting?

Hi there, I've got the following code: obj = w.add('panel', [45,50,350,135], 'Title'); How do I add options, such as 'size', 'margins', 'alignChildren' to this panel? If I would do this in Script UI I'de do something like this: var layout = "dialog { \ text: 'Title', \ orientati

Question

 • 

Answered

 • Photoshop

53

4

Closed

Photoshop: Script - WaitForRedraw function doesn't work

Hi there, I am trying to make a 'palette' show and stay visible and I am using a WaitForRedraw function, but it returns that it is not a function. This is what I have: function WaitForRedraw(){ var eventWait = charIDToTypeID("Wait") var enumRedrawComplete = charIDToTypeID("Rd

Question

 • 

Answered

11

1