Questions tagged [adobe-scriptui]

For questions about Adobe's ScriptUI component - the object model for creating custom windows and user-interface elements within an Adobe application. When using this tag also include the [extendscript] tag, Please also provide the tag for the application that you are targeting for context, e.g. [photoshop], [adobe-indesign], [adobe-illustrator], etc…

56 questions
0
votes
1 answer

How insert,update,delete value of an XML element with Extendscript scriptui

I am learning extendscript for scripting adobe illustrator.It is very difficult for me to write xml related parsing. My problem statement is given below:- "I have taken three text boxes namely name,city and…
Hari Krishna
  • 2,372
  • 2
  • 11
  • 24
0
votes
3 answers

How it comes that my json formatted OBJ doesn't have a length

I am just trying to create an Object containg several Controls from After Effects ScriptUI API. This is what my obj looks like: var easeyPeasy = {}; // groups easeyPeasy.groups = { "easeIn_grp": ease__Panel.add('group', undefined, { name:…
Marten Zander
  • 2,385
  • 3
  • 17
  • 32
0
votes
1 answer

Right to left dialog/pallete/windows in Extendscript for Adobe InDesign

I need a right to left Window (is a object in ScriptUI). In C#, a form has tow properties RightToLeft and RightToLeft layout that create a right to left form. How can I do this in Extendscript?
Iman
  • 424
  • 5
  • 18
0
votes
2 answers

Destroying ScriptUI palette windows (and more)

In ExtendScript, I've run up against a very strange scenario with which I need some help from a ScriptUI guru. I've got a huge InDesign script that, during the course of its execution, displays a progress bar in a palette window. (var w = new…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

Changing a ScriptUI control after its window is already shown

So I have a (hopefully) simple one this time. I have a ScriptUI window programmed in ExtendScript for Adobe InDesign CS6. It contains a StaticText control. After this dialog window is shown to the user, I would like to change the text of that…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

Repeated showings of a ScriptUI window

Got another "should-be-easy" problem. I've got a ScriptUI window in which I need to check to make sure all of the fields are filled. The idea is that, when the user clicks the "OK" button, the script checks to make sure the fields are filled in. …
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
1 answer

Change the size of a dialog window based on an action in ScriptUI

ScriptUI is wonderful, but seems to have some limitations. I am looking for an ability to dynamically resize a dialog window based on an action taken on one of the controls inside of it, such as an .onClick() or .onShow() callback. However, the…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

Custom ScriptUI buttons that will close the window

For those knowledgeable in ExtendScript & InDesign, I have a ScriptUI question: How can I have a window close properly after the user picks one button or the other when the buttons are custom choices. See the code below: $.writeln("The user…
Sturm
  • 689
  • 2
  • 23
  • 52
0
votes
2 answers

photoshop script: forced UI update

I have got my script to work and I just want to add a progressbar to show the progress (duh!). This is a test script I made because I discovered the problem in my original script. In the original script there is a lot of opening,saving,copy,paste…
0
votes
1 answer

InDesign CS5 Script: How can I open and close a popup window after `n` seconds?

The window is opening fine, but the script will not continue until the popup window is manually closed! This is not desirable, as I would rather the window close itself after  n  seconds... So do I have to open the window in a separate thread from…
Ian Campbell
  • 2,678
  • 10
  • 56
  • 104
-1
votes
1 answer

Indesign javascript ERROR: MODAL DIALOG OR ALERT IS ACTIVE adobe extendscript toolkit

I try to run my javascript code by indesign but there is the error: MODAL DIALOG OR ALERT IS ACTIVE. Who knows how to solve this problem? #target "InDesign" w = new Window ('dialog'); magicButton = w.add ("button", undefined, "Buttton"); …
1 2 3
4