can call a batch script Pentecost JS script?

Hello! I am looking for a method to invoke a JS script for indesign CS2 command script.

Is it possible?

Thank you

Hello

If you want to call the .bat file then, use this

File('d:\\test.bat'). Execute();

Kind regards

Sudar

Tags: InDesign

Similar Questions

  • How the photoshop script can call an applescript script

    I realize, maybe it's a bit of a messy way around it, but I need to get the photoshop script to call an applescript script. Basically so that I can have it become a menu item in photoshop.

    Is - this show applescript can in the same way photoshop script?

    If this isn't the case, I thought I could get either photoshop script to call the applescript or even more messy, I could use Photoshop to run a Terminal command to call the applescript.

    All thoughts

    Matt

    For those who come through it

    Save your applescript as an application, and then you can use

    App.System ("' open ' / path/to/script_as_an_app.app'" ");

    then everything works

  • How to call a JavaScript script in Photoshop?

    Hello

    I created 3 simple scripts (convert PS Actions JavaScript) as a test: Script1.jsx, Script2.jsx, Script3.jsx

    How I would go about creating an another JavaScript that executes these three JavaScript consecutively (whereas in photoshop)
    .. I can create a simple Action of PS to open three scripts (that works)... but when I convert this back to a Javascript script, I get an error.

    My goal is that the possibility of creating a JavaScript code that can call the three scripts.

    Download
    call Script1.jsx
    call Script2.jsx
    call Script3.jsx

    Is this possible?

    Thanks for any help

    The f

    Change SCRIPTS_FOLDER for: -.

    var SCRIPTS_FOLDER = "/ z/ANIMATION/Max_Renders/FaceLevels/ActionsScripts";

  • call a batch file in the sql scripts

    Hi friends,
    I'm looking for a way to call any batch file in sql scripts. I avoid using the DBMS_SCHEDULER package because my application server and database server are deparaments.
    I use the sql script using the server.plz application.


    Ah, I see. Of course, this explains everything.

    Now to be serious: there is no way to run a batch SQL script. The Tools that present SQL statements to the database are often able to do; host in SQL * Plus may issue commands to the OS, the host of builtin forms is it too and with dbms_scheduler , you can run a shell script on the database server.

    So depending on the tools you use, there are several ways to run the OS commands. So far you didn't tell us what you want to do with what tools in the version you want to do. So to only answer is: it is not possible. You cannot run a simple SQL command script.

    see you soon

  • Change the LV version currently active in the batch script

    Hello

    I use two different applications on my computer, and one of them should run in LV 2011, this in LV 2012. The two versions are installed and it works fine until I start the correct version of LV manually before you start the application (start and end of the required version of LV in C:\Program Files (x 86) \National Instruments\... before starting my request).

    I want to do this automatically in a command script, so basically I want to do the following:

    * Check which version of LV is currently active (last LV start version)

    * If the currently active version of LV is NOT required: change to the required version of LV (by starting LV and close or preferably do differently if someone could tell me how)

    * If the currently active version of LV is required: do nothing

    There are two problems I couldn't solve so far:

    * How to get the LV version currently active (I checked the windows registry, but I see that my installed versions of LV, and not one that is currently active)

    * How can I close LV with a batch script (or how to change the version of the currently active LV without opening and closing)

    Thanks in advance,

    Tobias

    PS: I did the same for the different versions of TestStand, by reading the TestStand system and if requuired environment variable change the version of TestStand via the command-line of the TS Version selector. It works fine, but there is no system environment variable that indicates the currently active version of LV.

    OK, this is a very informal Tip:

    In the registry (regedit), you will find the key 'HKEY_CLASSES_ROOT\LabVIEW.Application\CLSID '. This default key should contain some weird ID information.

    If you search for this key, you will find an entry for the key in the "HKEY_CLASSES_ROOT CLSID" section.

    If you have several versions of installed LV, there must be a key in the entry which will give you the path to the active version of NV. don't forget: this is the version that you have opened up to the last successfully!

    Please note that keys can change from system to System. Also different versions of LV can use different keys like "routing information" the way of the real LabVIEW.exe.

    hope this helps,

    Norbert

  • delete the printer driver by political group or batch script

    I am migrating our server F & P from 2003 to 2008.  I created all of the printers in server 2008 and tested, and they print correctly.  Test the issue I am running is this: I can add the printer Server 2008 for fine local workstation, but users are unable to print the new queue.  If I go ahead and deleted the printer and remove the driver completely and then add the printer on 2008 server works very well.  So, I'm looking for a way to remove printers and drivers of each workstation via Group Policy or batch scripts to make my life easier.  Thank you.

    Hello

    Given that the problem is related to the windows server, I suggest you post this question in the Windows Server Forums.
    http://social.technet.Microsoft.com/forums/en-us/winserverGP/threads

  • Writing batch scripts

    Text editor is the best to use on the command line to write a batch script? Are there special orders for a batch file?

    You can simply use Notepad. It works very well and once you have written your script, just save the file with a .bat extension.

  • How to report the ip address resolved of nslookup as a variable in the batch script

    I have a batch script that performs a constant audit 'external server' living every minute and the activity is fed into a log file. The external server is on a dynamic ip address.

    for example,.

    Logfile = C:\Logfile.txt

    echo control myserver... > Logfile

    .

    .

    [see document test/myserver.domain.com]

    However, I would like to write in the log IP address that is being tested.

    That is to say

    the my_server checking to 123.456.78.9 echo

    Could someone tell how can I get the dns to resolve address from "myserver.domain.com' as a variable in order, can I use it

    for example,.

    RESOLVED_ADDRESS = (nslookup resolution results)

    the my_server % RESOLVED_ADDRESS % control echo

    Thank you

    Hi Jimimaseye,

    I suggest that you post the application on Microsoft TechNet forum because we have experts working on these issues. You can check the link to post the same query on TechNet:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Please do not hesitate to contact us if you have other questions related to Windows.

  • UCCX call in the script to disable all scripts in an emergency.

    I work with UCCX 8.5 and I need to develop a script that the end user can call tones allows to disable the call center and send it to a message.  This way if anyone is able to do via the VPN or close a connection, they can call.  I already have a basic script writes the only problem is written and pulling from a file so text or xml.  Basically, when the user calls, they will be in a menu which will be asked if 1. call centers are closed and 2. What is the reason for the closure. Expect this can be bettr

    Call answer

    Quick-press 1 if call centres are closed and press 2, what they are open

    1. write in a file "closed".

    Then go to the closed guests

    2. write in a file "open".

    Then go to the end

    Closed 1 guest-press for the closure of the weather, press 2, emergency closure, press 3 meets at closing

    1. write in the file 'weather_closure '.

    go to the end

    2. write in the file 'emergency '.

    etc, etc.

    The daily script would check this file first if it is closed and if yes, then invites to play.

    This is the file that I did so well. The script is easy.
    Aid.

    Hello

    No, you don't have to use an XML.

    The link I gave explains you how to use a simple text document.

    I suppose you create a file with this content:

    Open = 1

    Name it something like "open_or_closed.properties".

    Use this simple Java code to read the contents of the file. As prop.getProperty ("open"). Use an If not in UCCX script to check the value, if 1, then the call centre is open, if 0, closed.

    G.

  • How can I use a script to set the variables?

    I have a script to set a few variables and I need to run the script multiple times throughout the form, for different users at different times.  How can I configure the script as an object in the Variables and call it when I need to run it?  Appreciate all help.  I use SS3.

    var emailSubject = "";
    var cleanDate = Page1.EventDetails.Block2.SpeakingDate.rawValue.replace(/[\/]/g, "-");
    var eventName = Page1.EventDetails.Block1.EventName.rawValue;
    var eventCity = Page1.EventDetails.USaddress.CityEvent.rawValue;
    var eventState = Page1.EventDetails.USaddress.StateEvent.rawValue;
    emailSubject = cleanDate + " - " + eventName + " - " + eventCity + " - " + eventState;
    

    To create a function to be able to reuse the code easily right click in your hierarchy (for example, on your "form1"), click "insert a Script object.

    A new script object will be created, just rename it to something appropriate and then create a function both inside and

    function myFunction(var1,var2,var3){
    ' just an example '
    page1.textfield1.rawValue = var1 + var2 + var3
    }
    

    (I didn't fully understand the significance of the date and the event and the city, and exactly what your function is supposed to do, but it's how you declare a function).

    To call this function you simply reference as form1.scriptobjectname.myFunction(123,"asdf",variablename)

    (just one example of the possible arguments).

    I hope that's not too hard to follow,

    Best regards, Mattias

  • How to hide the user id and password in the batch scripts

    Hello

    Can help me hide the user id and the password in the batch scripts to automate the process of running script to export and action.

    Context: In my client project does not display user id and password that's why they are looking for guaranteed way to hide them.

    Thanks for your response in advance.

    Kind regards

    Sandra.

    Sandra,

    As stated by Craig Administrator's Guide is a good option.

    Let me give you a few steps I did in one of my projects.

    Open the command prompt and navigate to the location "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client"... here you can see many see as well other utilities.

    DRM-batch-customer - credentials.exe is the one that is used to encrypt the user name and password.

    Open this in the command prompt and choose the application that you want to encrypt the password.

    then remove the username and password from command script can run it... It does what you want

  • Import a csv file to workspace root folder using Batch script

    Hello

    I usually use LCM to export/import from one instance to another in my planning and HSS and Reporting objects.

    Here, I have a specific requirement where I want to import couple of CSV file from a path on the server specified in the root directory of the workspace that is accessible to users similar to other FR and IR reports.

    I was looking for a utility to import or batch scripts I use to import the file to specific path from the server to the folder root of the workspace. \

    any help?

    -KP

    Checkbox Oracle - Hyperion Labs...: upload files in bulk of permissions in the workspace he wrote for the pdf files, but you can change it

    Concerning

    Celvin

  • Write a batch script to import data in a database of DRM *.

    Hello

    I'm having a problem writing a batch script
    to import into DRM from an external database.
    This is the script I wrote:

    [General]
    Username = myusername
    Password = mypassword
    URL = net .tcp://usphl0mdma1: 5210, Oracle, Drm, ProcessManager
    Operation = import

    [Import]
    Operation = import
    InFile = TEST
    ImportLogFileName = "Importlog.log"
    AutoSave = Yes


    Can someone please tell me if I'm doing something wrong, and the best course of action will be highly appreciated.
    Note: it is on DRM 11.1.2.3

    Published by: 1010031 on June 5, 2013 09:43

    First, are you able to import from a DB table manually?, if it does not.

    Then I think the issue is around "InFile = TEST", I do not quite see documentation around batch import of a DB Table.

    Murali-

  • Using single quotes with MaxL in batch scripts

    I have the following MaxL, I need to pass to essmsh via a batch script:

    run the calculation ' FIX("Member 1") CLEARDATA "member 2"; ENDFIX' on App.Db;

    The problem is that the single quotes cause problems when it is passed as a variable in the batch script. However, if I change single quotes to double quotes the batch script is happy but the MaxL is not valid.

    Please can anyone suggest how I can get this to work?

    You also try that works

    ( @echo login %USER% identified by %PASS% on %SERVER%; & @echo execute calculation "'FIX(\"Member 1\") CLEARDATA \"Member 2\"; ENDFIX'" on App.Db; & @echo logout; & @echo exit; ) | essmsh
    

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Need to call the Shell script that uses SQL loader in APex4.1 / 11g

    Hello!

    I have a requirement in which I need to call a shell script that connects to an external server, FTP to a file and then use sqlloader to load data into our table. We have now the ftp script that accomplishes this task to another program, but is a scheduled task. I wanted to call the script ftp in the APEX. Any suggestions on how this can be done, what is the logic of PL/SQL can we use? I saw online some people using DBMS Scheduler for this?

    Thank you
    Sun

    Hello

    Create some sh script on your computer host oracle where you can join in the external server and run the process.
    something like:

    run_external_sh.sh

    #!/bin/sh
    ssh ext_user@ext_host ./sqlloader/import/import.sh
    

    Then create an external TASK to call it via ORACLE (PL/SQL)

    -Shell Script call.

    BEGIN
      DBMS_SCHEDULER.create_program (
        program_name        => 'external_call_sh',
        program_type        => 'EXECUTABLE',
        program_action      => '/local_host/call_external/sh/run_external_sh.sh',
        number_of_arguments => 0,
        enabled             => TRUE,
        comments            => 'Call external SH script');
    END;
    /
    

    You can now create a regular / or unplanned WORK
    -Job defined by the calendar and an existing program.

    BEGIN
      DBMS_SCHEDULER.create_job (
        job_name      => 'jb_external_call_sh',
        program_name  => 'external_call_sh',
        schedule_name => 'external_call_scheduler', -- created scheduler
        enabled       => TRUE,
        comments      => 'Job defined by an existing external_call_sh program and schedule.');
    END;
    /
    

    You can now call the WORK in the APEX in the process of PL/SQL.

    BEGIN
      -- Run job synchronously.
      DBMS_SCHEDULER.run_job (job_name            => 'jb_external_call_sh');
    END;
    

    Concerning
    J :D

Maybe you are looking for

  • How to record Yahoo email, but not in Thunderbird?

    I didn't know that my e-mail would not reside on Yahoo once removed in Thunderbird. How can I change the settings to prevent this? Furthermore, is it possible to retrieve deleted messages?Thank you.

  • cd/DVD drives not recognized by the computer.

    Some full scans there is our operating system to xp does not recognize our 2 dvd/cd players after a full scan, by security essentials. We went into the control panel to check the cd/dvd drivers... and they were gone.  Then we went in the 'my computer

  • the list appears

    Hi all I added the list like this, but when I run the program I get a blank scree. var terms_list:list = new List(); x varataProvider = new DataProvider(); var xataProvider =new DataProvider(); x.addItem ({label:}) 'test'}); terms_list. DataProvider

  • Monitor sleep after 5 minutes

    Hello My monitor has all of a sudden going to sleep after 5 minutes, even if I set it to "never" in my power management. I can't find anywhere where it says go to sleep in 5 minutes. If anyone can help? Kind regards KK

  • BlackBerry smartphones can not synchronize Outlook 2007 calendar with Alltel BB 8330

    Ok... Looks like a lot of people have this problem. Here is what I have Vista Home Basic SP1 Outlook 2007 (as part of Office Enterprise 2007) Running OS 4.5.0.127 BB8330 Configured with two accounts-Default calendar/e-mail account is the same account