Window while running a script in Illustrator CC

I've the next code in a jsx and works fine the first time I call the function and I can see a window with the message but It only works fine the first time. Then appears the window white and don't refresh it.
example : function() {
var win = new Window('palette', 'Processing');
win.ProcessHead  = win.add('statictext',[40,0,260,25], "Saving document...");
win.center();
win.show();
//here is the some process that I run and block the UI but works the first time.
win.close();
What's the problem?

What is the script and what is it supposed to be doing?

Similar Messages

  • Error while running OMBPlus Script

    Hi,
    I am getting below error while running OMBPlus script.
    +../../../jdk/bin/java[87]: getconf: not found+
    OMB*Plus: Release 9.2.0.4.0
    Copyright (c) 2003 Oracle Corporation. All rights reserved.
    Exception in thread "main"
    I am not even able to run ./OMBPlus.sh.
    Can anyone help me on this?
    Thanks in advance,
    Regards,
    Sachin Bansal

    Hi Nawneet,
    Thanks for the reply..
    I tried the same thing on our server. But there also I am getting the same error.
    Am I missing anything?
    What I am doing is:
    1. Created one .tcl file (deploy_map.tcl).
    2. Going to path where OMBPlus.sh resides i.e.$OWB_HOME/bin/unix
    3.Then I called ./OMBPlus.sh and passed the path of deploy_map.tcl as an argument.
    For e.g. if path of deploy_map.tcl is /abc/xyz/deploy_map.tcl
    Then I would call OMBPlus like below:
    ./OMBPlus.sh /abc/xyz/deploy_map.tcl
    Even if I would not pass any argument then still it should be connected to OMBPlus. But that's not happening.
    Regards,
    Sachin Bansal

  • An error occured while running a script

    On launching Bridge, I an consistently receiving the following error.
    "There were problems loading a startup script the last time bridge was launched. Would you like to load them now?"
    Clicking [Yes] produces the following error:
    An error occurred while running a script. The script may not be compatible with this version of Bridge. Check for available updates by selecting the Updated command in the Help Menu
    Error in /Library/Application Support/Adobe/StartupScripts/AdobeStockPhotos.jsx
    Line 54: result = eval(script);
    Timeout while waiting for the engine
    I am running Bridge Mac CS2 - 1.0.4.6
    Adobe Stock Photos Update 1.0.8
    Power Mac G4 733 / OS X 10.3.9
    Updating either Bridge or Adobe Stock Photos does not correct the behavior.
    And curiously Stock Photos appears in the Favorites pane and appears to function.
    Any help ?
    Kurt Griffith.

    Good day,
    The Bridge v1.04.6 PS CS2 I am presently using has always come up with the Internet connection Error Message and none of my large imaging machines are connected nor will they ever be connected to the Internet.
    Is there a setting to do away with the Bridge trying to connect on my
    behalf ? I've spent a lot of time trying to 'fix' a problem that shouldn't have arisen.
    It wastes a lot of time trying to do something, which I do not want it doing.
    Thanks for any assistance you can provide in the matter. And please
    keep cranking out your wondrous though not totally controlable software, or so it seems.
    Best - Stephen Graham

  • Why MicroSoft 2000 SR needed while running the script using test manager???

    hi all,
    whenever I trying to run a script using test manager,one POP-UP comes which starts installing MICROSOFT 2000 SR.
    and in few seconds it complaining for some missing component,
    can any body tell me why it is happening.
    what is the need of Microsoft 2000 SR while running the script in test manager.
    tnx
    USOni

    USoni
    I have seen that problem happening before, even that i was never able to figure out why, something that you can try is changing the service log in credentials for both:
    Oracle Application Testing Suite Agent Service
    Oracle Application Testing Suite Application Service
    and use a proper user with admin rights.
    let me know if that helped
    Regards
    Alex

  • How to find the missing fonts while running the script?

    hi,
    I need to create a script to find the missing font. not only for that. Actually i created a script to read the file properties. but i have a problem while running the script.
    I have put "User Interation Level" to never interact. Even i need to check wheather each file have "missing fonts". mean time i never stop the script.
    Is It Possible???
    Regards,
    SubhaOviya

    Here's a shot of the Find Font Dialog:
    Papyrus (highlighted in the list) is missing, and there's a yellow warning triangle to show that. Fonts that ar not missing have an icon to show the type of font. You'll also see it shown as missing in the "Info" box at the bottom of the dialog.
    If you use the Replace With dropdown you will only see fonts listed that are installed on the system. In order to actually use the missing font, rather than substitute a different font in its place, you must obtain and install the missing font on the system.
    Are you seeing something different when you open Find Font?

  • While  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

    while  running open script software i am getting issue of script exception occured . an unexpected exception occured in the script.script section unspecified.
    i am using software version 12.5.0.1

  • Error while running InstallOracleProfile script

    good evening every one,
    i have installed odac for VS 2010,while running the InstallOracleProfile script the following error occurs can any one help me in solving this problem.im using windows os. the error as follows
    Connected.
    ------ Running 'C:\Users\johny.OOMSYSTECH.000\Desktop\prakash\odac_path\product\11.2.0\client_1\ASP.NET\SQL\InstallOracleProfile.sql' @PRAKASH.orcl ------
    USER
    PRAKASH
    old 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR &CurrentUser..ora_aspnet_Prof_GetProperties';
    new 33: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProperties FOR PRAKASH.ora_aspnet_Prof_GetProperties';
    old 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR &CurrentUser..ora_aspnet_Prof_SetProperties';
    new 34: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_SetProperties FOR PRAKASH.ora_aspnet_Prof_SetProperties';
    old 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR &CurrentUser..ora_aspnet_Prof_GetNOfInactPf';
    new 35: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetNOfInactPf FOR PRAKASH.ora_aspnet_Prof_GetNOfInactPf';
    old 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR &CurrentUser..ora_aspnet_Prof_GetProfiles';
    new 36: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_GetProfiles FOR PRAKASH.ora_aspnet_Prof_GetProfiles';
    old 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR &CurrentUser..ora_aspnet_Prof_DeleteProfiles';
    new 37: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteProfiles FOR PRAKASH.ora_aspnet_Prof_DeleteProfiles';
    old 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR &CurrentUser..ora_aspnet_Prof_DeleteInactPf';
    new 38: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_DeleteInactPf FOR PRAKASH.ora_aspnet_Prof_DeleteInactPf';
    old 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR &CurrentUser..ora_aspnet_Prof_pkg';
    new 39: execute immediate 'CREATE PUBLIC SYNONYM ora_aspnet_Prof_pkg FOR PRAKASH.ora_aspnet_Prof_pkg';
    PL/SQL procedure successfully completed.
    Package created.
    Package body created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Function created.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    GRANT ora_aspnet_Prof_BasicAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_BASICACCESS' does not exist
    GRANT ora_aspnet_Prof_ReportAccess TO ora_aspnet_Prof_FullAccess
    ERROR at line 1:
    ORA-01919: role 'ORA_ASPNET_PROF_REPORTACCESS' does not exist
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    Grant succeeded.
    ---------------------- Done ----------------------
    thank you
    prakash

    Earlier in the script, the following CREATE statements were called:
    -- Create roles. Create role privilege is required.
    execute immediate 'CREATE ROLE ora_aspnet_Prof_BasicAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_ReportAccess';
    execute immediate 'CREATE ROLE ora_aspnet_Prof_FullAccess';
    If they didn't succeed, that would explain the GRANT errors you see. If you didn't grant the CREATE ROLE privilege to the user, that would explain why CREATE ROLE calls failed.

  • InDesign Quit while running the script

    Hi guys,
    Create A new document with one page of content as " ;" then run this below script.
    while running the below script in InDesign CS3 5.0.4 (Windows),  Suddenly Application has been closed.
    if(app.documents.length == 0)
                alert("No Documents are Open...");
            else
    app.findTextPreferences = null;
    app.changeTextPreferences = null;
    app.findChangeTextOptions.wholeWord = false;
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findTextPreferences.findWhat = " ;";
    app.documents.item(0).findText();
    app.changeTextPreferences.changeTo= "<2009>; ";
    app.documents.item(0).changeText();
    Anyone help me, Where the errors occured????
    thanks,
    Nagaraj

    Nagaraj1983 wrote:
    There is no Plug-in has been installed..!!!!
    You didn't understand me.
    I'm telling you to install one!
    Here's a very nice one to have:
    http://www.dtptools.com/product.asp?id=ksin
    Try installing this plugin and then running your script.

  • [solved] resizing PuTTY window while running nano is messed up

    If I'm using PuTTY (Windows SSH client / terminal emulator) and nano running on Arch Linux, window resizing is completely broken. On Debian it is fine however. I went to see if they used any patches, but they don't, none related to terminal resizing so there must be some other cause.
    When you resize while running nano it can look like this in Arch:
    And in Debian:
    Both have checkwinsize in bash enabled, but other than that I have really no idea how to fix it... It's VERY annoying! As it also leaves bash kinda confused after closing nano, until you resize it again.
    Last edited by Anders (2009-08-11 16:23:06)

    I fixed it. Commenting out "export COLUMNS LINES" in /etc/profile did the trick.

  • Getting error while running shell scripts

    Hi DBAS,
    I Have one requirement,i want connect n database dynamically by using dynamic password and execute some oracle commands,i written some script ,but while running i am getting error,please any one correct my error ,i am not able to getting error
    passwrd.pw like this
    abc@abc
    aaa@aaa
    # vi healthcheck.ksh
    #!/bin/ksh
    export PW=`cat /applis/forum/pune/dbhealthchecks/.pw/passwrd.pw`
    for (( i = 0 ; i < ${#PW[@]} ; i++ ))
    do
    sqlplus -s larry/$PW<<EOI
    spool sysdate.dat
    select sysdate from dual;
    done
    exit;
    EOI
    error :
    line 2: syntax error at line 11: `for' unmatched
    thanks!
    larry
    Edited by: tmadugula on Mar 18, 2011 6:26 AM

    Could you explain the reason for the for loop and connection attempts while incrementing var $i?
    It is also no a good idea to provide a password at the command line since it can be seen with 'ps' command.
    Better:
    sqlplus -s <<-EOI
    connect larry/$PW
    etc.

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • Getting an error message while running FX script logic

    We are getting the following error message, while running the FX script logic - RUN_LOGIC:MDX statement error:"Value (Entity value) for characteristic /CPMB/U8D5FIT".  Any help is truly appreciated.  We are using the standard FX logic scrip *RUN_PROGRAM CURR_CONVERSION

    Hi,
    Hope all the required currency configuration settings are followed in Entity, Input currency, Category, Account correctly. Also reporting currency indicates the right reporting currency with the 'Reporting' propert set to 'Y' to the currency that you want to report in.
    For the period that you are running the currency trans, could you also maintain rates for the reporting currency as 1.
    Check your rate data. And please post your currency conversion script here.
    Thanks,
    Sreeni

  • Create a Log File while running a script overnight

    I have a script running on 1000s of images each night, and I want to generate a log file.
    Is there a way that anyone can suggest where it will log which file it opened and successfully completed and tag the date/time for each one along the way?

    It will depend on the e-mail system you are using and the OS.
    There is an example here for setting up mail in Bridge..
    http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=20
    I used some VB code and executed that (Windows & Outlook)
    http://ps-scripts.com/bb/viewtopic.php?f=19&t=2291&sid=aea9bf1f7c5747c04a80835ce68d8169
    There will be other ways, so a Google search might help.

  • Open an Terminal while running a script #!/bin/sh

    Hy
    I usually use my Terminal to run my Script to backup some folders with RSync.
    I created an workflow (shell-script-run in shell /bin/sh ) to run this script.
    Is it possible to open the terminal to see it running when I run my script.
    Like when I run it in my Terminal by hand
    with "sudo ./backup" ...
    HOW? I want to see what it does...

    Hey Michael,
    Just wondering how you managed to get that applescript:// url to work properly, so that clicking on it opened it in Script Editor? I used to do that all the time using Convert Script to Markup Code, but haven't been able to get the link to work since Apple switched over to the new forum software.
    Example:
    Open the AppleScript "Untitled" in a new Script Editor window.
    Dual 2.7 GHz PowerPC G5 w/ 2.5 GB RAM   Mac OS X (10.4.4)  

  • IDCS5-win. Error while running a script from indesign(not via estk)

    Hi all,
    After running the script from indesign, I get following error
    ASSERT '(engine->getDebugFlags() & ScScript::kExtendedErrors) == ScScript::kExtendedErrors' in ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp at line 412 failed.
    ..\..\..\source\components\script\javascript\JavaScriptRunner.cpp (412)
    any idea about this?
    The script runs fine when run from ES tool kit.
    Thanks

    Hi,
    My colleague found the problem. We were using extendables library and we still haven't figured out what was actually happening, but removing it solved the problem.

Maybe you are looking for