CS3 JS Dialog Boxes

Hi all,
Does Illy CS3 JS now allow more stuff in Dialox Boxes?
Can we now add Radio buttons etc. Can we also add images?
Regards
Norbert

You can, but it's rather complicated. See the Bridge SDK documentation.
JET

Similar Messages

  • [JS][CS3] Simple dialog box problem

    Hi
    I am wanting to make my script do 1 of 2 things depending on the result of a dialog box.  I cannot seem to register the users response.  Here is the code:
    var myDialog = new Window('dialog', 'Confirm Changes');
    myDialog.frameLocation = [600,400];
    myDialog.size = [590, 250];
    myImage = myDialog.add('image',[480,41,572,127],'/Macintosh HD/Applications/Adobe InDesign CS3/Scripts/Scripts Panel/Images/xxxx.png');
    myPanel= myDialog.add('panel', [10,10,580,240], 'Select the action you wish to use');
    //Adding Buttons
    myUseExistingTextButton = myPanel.add('button', [48,190,75,25], 'Use Existing Text',{name:'select'});
    myUseNewButton = myPanel.add('button', [260,190,75,25], 'Use New text as shown',{name:'select'});
    myCancelButton = myPanel.add('button', [480,190,75,25], 'Cancel',{name:'select'});
    myExistingTextWindow = myDialog.add('edittext',[20,40,230,200],'Existing Text');
    myNewTextWindow = myDialog.add("edittext",[250,40,460,200],"New Text");
    myResult = myDialog.show();
    if(myResult == true)
         if (myResult == 0)
                        alert("Old was selected");
         if (myResult == 1)
                        alert("New was selected");
    which gives the following result:
    All I want to do is use the selected button do do the next part of my script depending on the text selected.
    I will keep on looking, and di-secting other scripts, but any help here would be nice.
    Thanks as always
    Roy

    Here is code created with RapidScriptUI in about 2 minutes. It includes multiline editbox, dimensions without using co-ordinates  that display accurately cross platform and simple to edit code for beginners like you to learn and understand (This is a free advertisement).
    var rapidDlg = new Window('dialog',"Confirm Changes",undefined);
    buildWindow();
    rapidDlg.show();
    function buildWindow(){
    // Properties for rapidDlg.Panel1
         rapidDlg.Panel1 = rapidDlg.add('panel',undefined,"Select the action you wish to choose");
         rapidDlg.Panel1.margins= [20,20,20,20];
         rapidDlg.Panel1.orientation = "row";
    // Properties for rapidDlg.Panel1.Group1
         rapidDlg.Panel1.Group1 = rapidDlg.Panel1.add('group',undefined);
         rapidDlg.Panel1.Group1.orientation = "column";
    // Properties for rapidDlg.Panel1.Group1.EditText1
         rapidDlg.Panel1.Group1.EditText1 = rapidDlg.Panel1.Group1.add('edittext',undefined,"Existing Text", {multiline:true});
         rapidDlg.Panel1.Group1.EditText1.preferredSize.width = 200;
         rapidDlg.Panel1.Group1.EditText1.preferredSize.height = 100;
    // Properties for rapidDlg.Panel1.Group1.ExistingText
         rapidDlg.Panel1.Group1.ExistingText = rapidDlg.Panel1.Group1.add('button',undefined,"Use Existing Text");
    rapidDlg.Panel1.Group1.ExistingText.onClick = ExistingText_Clicked;
    // Properties for rapidDlg.Panel1.Panel2
         rapidDlg.Panel1.Panel2 = rapidDlg.Panel1.add('panel',undefined,undefined);
         rapidDlg.Panel1.Panel2.alignment = [' ','fill'];
    // Properties for rapidDlg.Panel1.Group2
         rapidDlg.Panel1.Group2 = rapidDlg.Panel1.add('group',undefined);
         rapidDlg.Panel1.Group2.orientation = "column";
    // Properties for rapidDlg.Panel1.Group2.EditText2
         rapidDlg.Panel1.Group2.EditText2 = rapidDlg.Panel1.Group2.add('edittext',undefined,"New Text", {multiline:true});
         rapidDlg.Panel1.Group2.EditText2.preferredSize.width = 200;
         rapidDlg.Panel1.Group2.EditText2.preferredSize.height = 100;
    // Properties for rapidDlg.Panel1.Group2.NewText
         rapidDlg.Panel1.Group2.NewText = rapidDlg.Panel1.Group2.add('button',undefined,"Use New text as shown");
    rapidDlg.Panel1.Group2.NewText.onClick = NewText_Clicked;
    // Properties for rapidDlg.Button3
         rapidDlg.Button3 = rapidDlg.add('button',undefined,"Cancel", {name:"cancel"});
         rapidDlg.Button3.alignment = ['right',' '];
    function ExistingText_Clicked(){
         alert(this.text +  ' was clicked!');
    function NewText_Clicked(){
         alert(this.text +  ' was clicked!');
    Steven
    http://scriptui.com

  • Indesign CS3(JS) dialog box

    Hi
    The script having simple dialog box is not displaying the dialog box. But the same script is running another machine. The dialog box is displayed. What may be reason for it?
    Thanks
    Suresh

    Interactive mode might simply be off.
    Read
    http://www.adobeforums.com/webx?7@@.3c061d17/11 and check.

  • [JS][CS3] Print DIalog Box with ESCAPE

    I am using document.print(true) in my script.
    Is there a way to catch if the user pressed "CANCEL"? So I can keep track of how many prints were "skipped"
    Thank you, Alex.

    Just a quick illustration of how useful APID is:
    My wife still uses CS2 at work. We have a Riso digital duplicator which
    we use for printing booklets, invitations, etc. When printing from
    InDesign to the Riso machine, color management must be off or the blacks
    get printed as dark gray (about 95% line screen). Well, I tried to help
    out by printing a booklet, and like usual, I messed up and forgot to
    turn off color management. (I'm really good at messing things up!) ;)
    I decided to put an end to this problem, and create a solution which
    would always cause InDesign to send to this printer (only) with color
    management turned off. It took me a total of maybe 15 minutes...
    // DontManageColorForRiso.jsx
    // This script should be in the same folder as the document
    DontManageColorForRisoSourceCS4.indd
    // It is automatically called by the DontManageColorForRisoController
    page item.
    //events: docPrintConfigured,docPrinted
    // Header - matches anonymous function trailer at bottom
    (function(thePlugin)
    main();
    function main(){
    var theEventCode = thePlugin.eventCode;
    var doc = GetDocFromPageItem(thePlugin);
    switch(theEventCode){
    case "docPrintConfigured":TurnOffColorManagement(doc);break;
    case
    "docPrinted":app.colorSettings.enableColorManagement=true;break;
    function TurnOffColorManagement(doc){
    var printer = doc.printPreferences.printer;
    if(printer.constructor.name!="String"){return}
    printer=printer.toLowerCase();
    if(printer.match(/riso/)){
    app.colorSettings.enableColorManagement=false;
    function GetDocFromPageItem (pageItem){
    var guid = app.callExtension(0x90B6C,10014,pageItem);
    return app.callExtension(0x90B6C,10009,guid);
    // Trailer - matches anonymous function header at top
    )(theItem);
    Harbs
    http://www.in-tools.com

  • Photoshop CS3 Save and Save As Dialog box not working

    I can't do a "save as" or "save for web" in photoshop cs3. The dialog box opens and I can't change anything but the file type pull down menu (and sometimes not even that). This problem happens sporadically.... but most of the time it doesn't work.
    I have re-installed Photoshop cs3 but I still have the same problem.
    Photoshop CS3 10.0.1
    MacPro 2 x 3 GHz Quad-Core Intel Xeon
    Memory : 4GB
    Mac OS 10.5.8
    Please Help

    I'm seeing exactly this same problem with Photoshop CS3  after the upgrade to 10.5.8. It appears that the dialog box never gets focus for "Save for Web and Devices" -- the title bar of the dialog is grayed out, while the main "Save for Web and Devices" panel still has focus.  That means there's no way to clear the dialog, since the panel is waiting for it to return, but the dialog can't get any input.  None of the standard resets work for any length of time.  I seem to remember similar problems in a much earlier release of Mac OS X, but I can't be sure.  Quite annoying.

  • CS3 Data Merge - Missing Fileds in Data Merge Dialog Box

    Indesign CS3 5.0.1, XP SP2
    Hi all,
    I have a document that I have applied a Data Merge to.
    I use a table in Excel 2003 with contact details, name, address etc...
    When I open the Automation> Data Merge Dialog box I no longer see the list off all the fields as in Excel.
    However, I can preview and create the mail merged document and place items using tags e.g <<Field 1>>.
    When I try to remove the Data Source InDesign always crashes But I can relink to a new Data Source, this does not solve the problem.
    Thank-you all for your time and help!
    Alu

    >>Did you perform the merge? Once you do, ID creates a new document. Which document are you looking at?
    I am using the original document, not the product of the mail merge.
    >>I assume it's a CSV file. ID can't use and Excel file for data merge.
    Correct.
    I have tried saving the document as an .inx file and then re-opening, but I still cannot view the .csv data merge fields from the Automation> Data Merge dialog box.
    Any Ideas? - thx for the response Bob & K

  • CS3  Design Premium Save As/Export Dialog Boxes Hidden

    I posted this originally on the InDesign forum
    http://www.adobeforums.com/webx?128@@.59b652e3
    - since then, the problem seems to have expanded to the rest of the programs in the CS3 (or it was already existent and I didn't bother testing against it).
    Original Post
    'i"Every time I try to save, export, save as, or (recently) even open a new document now, the dialog box opens with the various options for a split second and then disappears. I think it disappears behind InDesign, but cannot be sure as InDesign will not minimize, even when I Force Minimize everything (Windows-H).
    'iSearched the forums high and low, and tried all of the suggested solutions. I'm on a single-monitor setup. I have reset preferences, deleted/drug out the Documents and Settings InDesign 5.0 Preferences Folder, re started etc. At my whit's end and don't really know what else to do. Are there any other fixes?"
    I know for a fact that Photoshop at least was working fine yesterday (created, saved and saved as multiple layered tiffs). I cannot remember if Version Cue updated just before I left or if I could properly create, save, and save-as then too and it was only after turning it off and returning this morning that it stopped working. Either way, any ideas?
    Thanks,
    Zach

    Okay, awesome! I did that and now the Open dialog box is showing - none of the others are though - does this mean that I'll need to go to each of my dialog boxes missing (save, save as) etc., resize in pshop to use correctly in InDesign? What do I do for the dialog boxes that are in InDesign and aren't showing, but are not in Photoshop (ala "Open New Library" or "Open New Book?")
    Thanks a lot for your help.
    -Zach

  • Open File dialog box in photoshop CS3 with cintiq 12wx

    Hello all,
    I can't be the only one with this problem. Whenever I open a file in CS3 on my Cintiq 12WX, the file open dialogue appears on my primary monitor instead of my cintiq. No matter what I do, it always appears there. Every other dialog box appears on the cintiq, except the open one. It is extremely frustrating. Does anyone know how to fix this?

    MalcolmBebb@Honeywell wrote:
    OK, I was a bit hasty. The thanks stand. Can't see how to edit the post, please consider the rest withdrawn.
    It's okay - we all get like that at some time or other.  I dread reading my posting history for that reason. 
    I'm just glad you got exactly the help you needed. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Dialog Boxes get Stuck on Photoshop CS3;  ANSWER!!!

    I have had this problem on both my Adobe Photoshop and Illustrator CS3 applications and could not find the answer in any online forum. After trial and error with a very helpful Adobe tech, we figured out the problem. No need for re-installations.
    1. Open new file, and click save as. You should have the same flicker/glitch you have been dealing with.
    2. Simultaneously press down and release the Alt and the SpaceBar.
    3. Press the M button and then press any one of your arrow keys.
    (This will bring back your dialog box which is off the screen and monitor).
    4. Your dialog box will be huge (screen resolution size) so resize it and carry on. Once you close and re-open the application, it will remember your dialog size and you will have the problem no more.
    Man what a simple answer to a huge headache!

    or you can just hit ESC...

  • Problem with Indesign CS3 missing save as dialog box

    I am having problems saving documents with Indesign CS3. I have upgraded it to the latest version, repaired permissions, shut down a restarted to no avail. This is Indesign CS3 running on a Macbook under Leopard 10.5.2. You can select save and it appears to save a file. However, if you select "save as", the dialog box to select a location never comes up. Nothing seems to happen. I can't figure it out, and it happens to any file. I have created test files and the same thing happens.
    Help!!!

    Trash preferences before re-installing. Also, try this weird procedure: open the equivalent dialog in one of the other Suite products on the same computer (assuming they're there). That's been known to solve the problem on Windows machines.
    Dave

  • Dissappearing dialog boxes when I go to "Save As" in PS/AI CS3

    I'm really hoping someone here might be able to help me with an issue that suddenly showed up yesterday in Photoshop CS3 as well Illustrator CS3.
    For some reason when I go to use "Save As" either from the dropdown "File" menu or from the keyboard shortcut the dialog box shows up for a split second and then dissappears. If I hit enter it acts as if I told it to write over the currently open file without renaming it and prompts me to verify that's what I want to do. I can't see the dialog, so I can't rename the file if I want to, or change the location where the file is being saved to.
    I had my computer re-imaged last week and didn't have any issues once everything hed been reinstalled. On Monday when I had the Wacom tablet drivers installed as they had been missed the previous week the issue started. I deleted my preferences but nothing changed. I had PS reinstalled as I know in the previous PS editions the software prefered to be reloaded when accessories were attached. This didn't fix the problem, so I had the wacom drivers removed. It STILL didn't fix anything.
    When I came in this morning (23 June) neither PS or AI would even open up. I had the entire suite removed (even though Flash, Fireworks and Dreamweaver all operate as intended) and reinstalled. When they were finally done the problem was STILL there!!
    What other step am I missing?? Why out of the blue would these two, and ONLY these two be acting crazy?
    HELP!!

    Sounds as if the dialog boxes are off screen.
    The usual fix is to reset preferences but you say you did it already. You could try again, as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    Did you change monitors or screen resolution?

  • Upgraded to Mountain Lion and CS3, I am no longer able to access the correct dialog box for fine printing with Epson Stylus Photo 1400.

    I have recently upgraded my Mac OS to Mountain Lion, and am using Photoshop CS3 together with Lightroom 5. To my absolute horror, in either Adobe program I am no longer able to access the dialog box which allows me to choose paper type, size, and print quality when attempting to print on my Epson Stylus Photo 1400. An excruciating hour on the phone with largely unintelligible folks at Epson seemed to prove the problem lies with Adobe instead of Epson. I'd greatly appreciate whatever advice might be forthcoming from the Community.

    Well, this seemed to work.. can't believe it! After a year of messing with this!
    from Stevejones5
    "I found a way around this problem. GO to HD/Library/Printers/Epson/InkjetPrinter/ICCProfiles and you will find a file labeled Pro38.profiles. This is a package file. Control click on it and reveal contents. Then you can copy all the profiles and paste them into your Colorsync folder either in the HD/Library folder or your own Home folder/Library. Then the profiles will show up in Photoshop and Lightroom."
    Key, is to Control click on the printer to "Open contents". Then open Resource folder. Copy everything in it and then paste it into the "Colorsync" folder in your Library.  (Remember, to get to Library you have to hold the command key down for it to appear in "Go" Menu for Finder.
    Then I reinstalled printer driver from Apple, then rebooted computer, then plugged in printer. And VOILA-- I can now select Epson Premium Photo Paper Luster!

  • CS3 page setup: in print dialog box???

    I am confused about the page setup in CS3. Coming from Illustr. 10 if I started a drawing in landscape mode and wanted to change into portrait mode I had to change the document and page setup boxes. Now in CS3 there is only a document setup, the page setup is in the print dialog box. Can someone share some light on this?
    Thanks.
    Ulrich

    I think the process is now as it always should have been. It was crazy always having to go to two different dialog boxes just to change one setting. The thinking here is that Illustrator is now smart enough to know to automatically adjust the Page Setup settings for you -- if you rotate the document from Landscape to Portrait for example, AI should be able to figure out on its own that you want it to print that was as well.
    The main point here is that Page Setup options aren't needed much anymore -- most of the options are handled directly within Illustrator's Print dialog (and can hence be saved in Print Presets, etc).
    :) Mordy

  • Open/Save Dialoge Box covers the whole screen - CS3/Vista

    Hi,
    I´m using Photoshop CS3 on Windows Vista and I have the following problem:
    I can´t reduce the open/save dialoge box in Photoshop CS3 as I could in earlier versions, which I find very inconvenient.
    It stretches over the whole screen and there seems to be no way of reducing it. There are handles at the corners but they don´t work.
    Is this normal in CS3 or could it be just a wrong setting in Windows?
    I hope somebody can help me on this, thank you so much!
    Best regards,
    Mike

    Is this normal in CS3 or could it be just a wrong setting in Windows?
    No, it's not normal. There are two things I can think of:
    - the dialog repositioning feature of your graphics card is not working properly (NVidia Desktop etc.)
    - you resized the dialog in another program and now the huge size has become the system default
    In both cases the solution should be pretty obvious - either adjust the settings/ turn off the graphics card's special features or resize the dialog back in the program it was turned huge in the fi8rst place. For the latter, also checking your more general folder view options as well as manually deleting desktop.ini files may offer a way out.
    Mylenium

  • CS3 extended student 10.0: update problem, blank dialog box

    After having installed successfully photoshop CS3 version 10.0 from DVD I would like to download an update.
    Problem: After download (80mb) the update cannot be installed. Instead of an error message it appears a blank dialog box. Please help.
    Best regards
    Florian Faulhaber

    You have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.

Maybe you are looking for

  • .gif files no longer working when I send them through text

    Hello, I've been sending and receiving animated .gif files through Messages on my iphone for a long time without issue. However the last month or so the ones I send no longer animate. They still work if I view them through safari on my desktop comput

  • Help....Can not find any networks

    All of a sudden my Ipod can not find any connections. Even the one at my house. IT has to be the IPod because I have my moms IPod right next to mine and hers is finding the network and connecting just fine. Ihave already did a restore, and I also res

  • Issue with join condition while using in the corelated sub query

    Bees, I am not able to use the below query since i have used a join condition in the corelated sub qery inline view.But i have a requirement like this . Please help me on this select * from dept d where exists (select 1 from ( select deptno from emp

  • Calling a DLL in soundrecord.vi

    In the example soundrecord.vi, is calling 5 functions using Call Library function, all of them within the same DLL. When is DLL loaded, everytime one of the functions is called (through Call Library Function) or just once when the soundrecord.VI is e

  • Help replaced a kext file and now I get a Prohibitory Sign and cant startup

    I replaced my iovideo family.kext file trying to fix my non working dvi output. I replaced it with one from my mbp 15 because that one worked fine now I cant start up my mbp17 I get the Prohibitory Sign???