ES: run an external application

Hello comrades,.

I wonder if there is a way ARE to launch an external application (for example, Acrobat) with a path specified in the PDF file?

I read about the cross-DOM functions in JS tools guide, but she doesn't know where is the folder in which a script with a call to acrobat.open must be placed shared startup.

Do you have any input on that?

Thank you!

Hi rombanks

Take a look at the Javascript tools (around page 52) file:

Execute()

fileObj.execute)

Open this file using the appropriate application, as if she had been double-clicked in a file Explorer.

You can use this method to run scripts, launch applications and so on.

Returns true immediately if the application launch was successful.

It works for me:


var cFileName = YourPath + "/FM2015_mifref.pdf";
var cFile = new File (cFileName);

if (cFile.exists)
    {
    cFile.execute();
    }
else
    {
     alert ("File not found : " + cFileName);
     }

Tags: Adobe FrameMaker

Similar Questions

  • External applications of the script call

    Hello

    Wish to be able to run an external application via the script, just like the way we do in node.js via the module 'child_process '. The reason is I want my epub converted to mobi automatically after exporting. The app that I will call is kindlegen.exe. Is it possible to extend script? I tried the tutorials on ExternalObject but have not implemented the chance.

    The file object has an execute() method. In this way, you can run any script shell application or generated.

    InDesign, unlike other environments ExtendScript also has the doScript method to invoke the platform specific languages.

    Then, these languages have their way to call the shell without a separate file commands.

    For example the following excerpts show files in the Finder/Explorer.

    app.doScript(
    "tell application \"Finder\"\r"
    + "reveal {"+list.join(", ")+"}\r"
    + "activate\r"
    + "end tell\r" ,
    ScriptLanguage.applescriptLanguage);
    

    or

    app.doScript(
    "CreateObject(\"WScript.Shell\").Run \"explorer /n,/e,/select,"+f.fsName+"\"",
    ScriptLanguage.visualBasic);
    
  • There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    Hi, I m a bit new in LabVIEW and I'd like to ask a few questions...

    -There is a possibility to run Labview projects or to set them off from a batch file or if the exist and the ability to control labview or run it from an external application?

    -One API PI or raspberry beaglebone exists for LabVIEW?

    -Power supply Wich can recommend you control with LabVIEW? (some chip solution witn 0 - 30v / 0 - 3A DC)

    Thank you very much for your advice!

    Best regards

    Elena

    Elena,

    I know raspberry, so no comment on that.

    For the rest:

    -Do you want to create tools for developers? If so, we must look in the API of project VI and VI server. If this isn't the case, please compile your application LV as executable and call this one using a batch file.

    -LV prefer specific supplies. LV is a programming language. There are several power supply providers (including OR) which provide directly the LV API for their power supplies. So, essentially, the approach is:

    1. choose food that serves your needs.

    2. check if the power supply has a standard interface for programming (such as Ethernet, GPIB, or if the power supply is PXI, is already providing a programming interface!)

    3. check if the LV API (so-called "instrument driver") is available for the device. In the case of a PXI system, get you a device driver (for example NI DCPower).

    4. check if the LV samples are available (for example in the Finder for example LV once you have installed the driver).

    Norbert

  • Links of some (but not all) of an external application fail.

    Some external application links fail to open in Firefox (but open fine when IE is the default browser instead). This problem occurred in the 3-point-something version thing, I was running previously, as well as in the 6.0 I run now. If Firefox does not work when I click on the external link I get an error dialog "there was a problem sending the command to the program." Otherwise, it fails silently.

    The links are provided by an RSS feed in an external player. Food has recently changed the formatting to their URLs.

    The links that work will look like:
    http://catalog.SPL.org/ipac20/IPAC.jsp?profile=dial & Full = 3100001 ~! 2725646 ~! 6

    Links that do not work are similar to:
    http://catalog.spl.org?profile=dial & view = items & uri = full = 3100001 ~! 2732159 ~! 2 & term ="science fiction".

    I'm not clear on the question of whether the problem is the lack of a / between the host name and the query string (a violation of the RFC, but that Firefox handles if the URL is just pasted in the address box) or something else. I have also contacted the authors of RSS, but hold on to other entries on if that is the problem (and, if there is a way I can fix it on my end, where there is no rapid change in people generating streams).

    Maybe the search term in quotes that contains spaces is at the origin of the problem: & term = "science fiction".

  • Capture engine pointer to external application

    Hello

    I need a program to change a Global sequence running. Simplify, I need to change a Boolean Global with an external application (in c#). If someone has done something similar, I would like to know how.

    So far, ive tried to save the object pointer in the configuration file, through TestStand and an another c# application, but it was not good because it save it as an object com I now try to use Remote Access Services to launch a service (with the current engine) with TestStand so my application can communicate with the engine via remote access.

    I tried my client-server without TestStand and works very well, but I can't grow if I run the application server through TestStand.

    I know more ways to capture the pointer of the engine... Any idea?

    Daniel

    Probably the best thing to do would be to use a queue of TestStand or notification for transmitting data between processes. Using the step type, if you start the name of a queue with a ' *' character then the queue will be global for the entire machine. To access the queue of your external application programmatically, create an instance of the teststand engine and call GetSyncManager() on this topic with the name of your queue (i.e. it must begin with a ' *' character). Then use synchronization to TestStand API with returned Synchronization Manager Manager to get the existing queue and access. Notifications can also pass data and can be used in the same way. You can store the global variable itself by reference to the queue and get the external application using Dequeue in a TestStand object reference variable (pass false for the Microsoft.SqlServer.Management.Sdk.Sfc.ISfcCollection.RemoveElement parameter so that it remains in the queue for the life of the queue). See the teststand help file for Synchronization Manager and the queue of API information. You can create a TestStand object reference variable to store the corresponding element using Engine.NewPropertyObject (). Then once there, simply call GetValueInterface and access the value returned as a PropertyObject himself.

    Hope this helps,

    -Doug

  • R12.2.5 Installation on OL 7.1 ERROR: RW-50010: error:-script returned an error: 1 RW-50004: error code when you run the external process.  Check the log file for more details

    I tried to install EBS 12.2.5 on OL 7.1 with rapidwiz and got this error when applying the unique patches in second File System

    "Second system logfile file - /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log.

    LOG FILE:

    _____________________________________________________________________________________________________________________________

    Step 0-8

    Command: /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh

    Step 4 of 8: UNIX making pretreatment

    Running: chmod 777/db/oracle/OraInventory r

    chmod-r 777/db/oracle/OraInventory succeeded

    Step 4 of 8

    Performance: known appltest - c "/ app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/adrunfmw.sh".

    PHASE of INSTALLATION has BEGUN: APPS TECH STACK: Wed Dec 2 17:27:07 IST 2015

    runProcess_1

    StatusString installation of Applications Technology Stack

    Copy the temp area models

    Inventory name is: app_oracle_TEST_fs2_Oracle_EBS_app

    One-time fixes copy to temp area

    Remove JDK_TOP: / app/oracle/TEST/fs2/EBSapps/comn/util/jdk32 if there is

    / App/oracle/TEST/fs2/EBSapps/comn/util/jdk32 deleted directory

    Installation of WebLogic Server.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWLS.xml oracle.apps.fnd.txk.config.InstallService

    WebLogic Server successfully installed

    Web Tier utility installation.

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instWeb.xml oracle.apps.fnd.txk.config.InstallService

    Level successfully installed Web utilities

    Registration EBSUsing /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instEBS.xml oracle.apps.fnd.txk.config.InstallService

    EBS registered successfully

    Rename/home/appltest/bea/beahomelist in /home/appltest/bea/beahomelist.29266 to avoid problems during WLS

    patching

    / Home/appltest/Bea/beahomelist renamed successfully.

    Application of ad hoc patches

    With the help of /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml

    L'exécution de commande : /stageR12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.6.0/bin/java -cp /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd /... /j11067592_fnd.zip:/app/Oracle/test/FS2/inst/Apps/TEST_ebs122/Temp/ASInstallHome/FND/Java/3rdparty/stdalone/xmlparserv2.zip-Doracle.apps.fnd.txk.env_home=/app/oracle/TEST/fs2/EBSapps/appl/admin/TEST_ebs122/-Doracle.apps.fnd.txk.runtime.config=/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/xmldocs/instASpatches.xml oracle.apps.fnd.txk.config.InstallService

    Fatal error: T2K install Service

    oracle.apps.fnd.txk.config.ProcessStateException: OPatch process failed: Output = 1 see log for more details. CMD = perl /app/oracle/TEST/fs2/FMW_Home/webtier/OPatch/opatch.pl apply - verbose - silent - ocmrf /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/ASInstallHome/fnd/admin/template/txkForms_ocm.rsp jdk - / app/oracle/TEST/fs2/FMW_Home/webtier/jdk/app/oracle/TEST/fs2/inst/apps/TEST_ebs122/temp/patches/7695070/7695070

    at oracle.apps.fnd.txk.config.OPatchActionNode.processState(OPatchActionNode.java:312)

    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)

    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)

    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)

    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)

    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)

    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)

    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)

    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)

    Can not install the unique patches

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.


    It was recorded in /app/oracle/TEST/fs2/inst/apps/TEST_ebs122/logs/12021641.log and I don't know how to find another newspaper for such details as mentioned in this journal. Please help me with that.


    Concerning

    KasunA

    Found a workaround.  The problem is that, before the 7695070 patch is applied, the installation program backup directory/apps/fs2/FMW_Home/webtier/jdk in /apps/fs2/FMW_Home/webtier/jdk_backup_existing_version, but then it clears. / jdk - the patch fails because it can't find it.  I had to rename the directory of the jdk for jdk2, and as soon as it gets deleted quickly and rename jdk2 jdk.  Then he applies the patches without problem.  A symbolic link would do the same thing.

  • Load an external application.

    Hi all!

    How can I load an external application when the user clicks on a button using action script 2?

    I don't know what your situation or context, but Flash (or whatever it is in a sandbox as a Web page) cannot load executable files on the file system. If you run it in a projector, you can use the fscommand exec function, see here for more details:

    Flash CS4 Professional ActionScript 2.0

  • Get the converted HTML (dynamic converter) content of external application

    According to the requirement, external application (java application) assume to get dynamic content (HTML version) converted from the Complutense University of MADRID.
    I am trying to run the GET_DYNAMIC_CONVERSION service with call of web service client and CRMI.
    I see no content HTML is coming as the result of the GET_DYNAMIC_CONVERSION service.
    Could you please guide me in getting converted HTML document to external application.
    Let me know if you need further details.

    Thanks in advance

    Published by: 958795 on Sep 12, 2012 15:29

    Thank you, Ryan. Keep right em... :-)

    IIRC, by default, when the call to this service via RIDC, will get you service data returned back to you in a format of .hda.

    Add "IsJava = 0" to your request for the HTML code instead, for example

    binder.putLocal("IsJava","0")

  • Lauch PowerCLI script from an external application

    Hello

    I work with an external application to scheduling. It allows to launch command line scripts. I wrote a ps1 script that creates a new guest VM. I want to be able to call this script - the planning application CreateVM.ps1 however I am not sure of the command line to use. Launch of Powershell is not a problem, but it will launch the normal Powershell that does not give me access to commands PowerCLI. Anyone know how to run a script of ps1 PowerCLI guest BACK from a .BAT file?

    Thank you very much

    Ben

    You can add the snap-in on the first line of the script:

    Add-PSSnapin VMware.VimAutomation.Core

    or use the following to run your script:

    C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe - PSConsoleFile "C:\Program Files\VMware\Infrastructure\VIToolkitForWindows\vim.psc1" "& C:\CreateVM.ps1 '"

    If you found this information useful, please consider the allocation of points for correct or helpful.

    Alan Renouf

    http://Virtu-al.NET

  • The call to an external application from within WebHelp

    Production of RoboHelp 8.0.2 merged WebHelp.

    I want to be able to call an external application, such as a batch file or a .exe since in a topic, or a table of contents.

    Let's convert Qt (from Nokia/Trolltech) and part of our aid will be in their QtHelp format, which requires the use of assistant.exe. Did someone do something like that?

    . MW

    Hello

    If you were using compiled HTML (CHM) format as released, I wouldn't say no problem! Use a shortcut to the HTML help control.

    Unfortunately, you ask about WebHelp. And WebHelp is a collection of this HTML pages since in a frameset. And you can't run EXE for pages HTML files. It's a security issue. Think about it. If you do, someone could build a link to an EXE file which format your HDD and it destroy.

    Click here to learn more

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • How to pass values to external applications to guests of dashboard?

    Any idea is appreciated.

    How can I pass values of the guests dashboard from external applications to the dashboard inviting so that the dashboard is filtred based on the values sent by external applications.

    Thanks in advance!

    Kris

    Kris,

    I am able to change the session variable and able to call external application dashboard, but I identified the prompt value changes do not. but finally I am able to find a solution for you.

    Use the following URL and he explained here

    http://localhost:9704/Analytics/saw.dll?dashboard&nquser=administrator&nqpassword=administrator&PortalPath=/shared/ABCD/_portal/Dash1&options=RMF&DSN=Madan

    CheminPortail is your dashboard location. / Shared/ABCD is the folder in which I recorded dashboards. Dash1 is my dashboard name.

    internally, this dashboard includes a lot of reports that use the session variable. After above that, I am able to update the session variable to the value I have given in the URL, DSN = value.

    You can observe here called the dashboard and happening of value, but its not updated to the prompt value. so this workaround is change the prompt,

    Replace the default - SQL result and place the code sql

    SELECT CASE WHEN 1 = 0 THEN ANOTHER VALUEOF Markets.Region (NQ_SESSION. DSN) END saw_0 OF paint

    again here Market.Region is a column in the presentation layer and paint material. After you complete this step, the command prompt displays always value in the default session variable.

    Now include reports and dashboard invites in the dashboard and run this url from external applications.

    http://localhost:9704/Analytics/saw.dll?dashboard&nquser=administrator&nqpassword=administrator&PortalPath=/shared/ABCD/_portal/Dash1&options=RMF&DSN=Madan

    It worked for me and blog it soon. If it works for you question mark as answered and mark my answers as being correct.

    Thank you
    -Madan

  • "Your system is running out of Application memory"

    Hello

    Since last week I have been having a problem where my computer screen appears with a reading of the question 'your system has sold out of the memory of the application.' This happens around every 20-30 minutes to use my computer, where the issue is resolved by restarting my computer. However, this message appears when I have 1 or 2 applications open (including the permanent Finder application). At my computer without a doubt a lot of memory left and I installed only 5 additional applications: League of Legends, Microsoft Excel, Powerpoint, Word and Outlook. I used OS X El Capitan for the first half of the week and macOS Sierra for the second half, but the upgrade did not solve my problem.

    I run:

    MacBook Air (13 inch, mid 2013)

    1.3 GHz Intel Core i5 processor

    DDR3 4 GB 1600 MHz memory

    Start drive Macintosh HD

    Graphics Intel HD Graphics 5000 1536 MB

    Your system is running out of RAM, not disk space. 4 GB is the absolute minimum of RAM. Try to remove all unnecessary startup items (Preferences > users and groups > you > login items) with the key less (not simply uncheck the boxes - which hide just the app but it still works).

    You can also run activity monitor (Applications > utilities) to see what is using the memory.

  • How fix oblivion previously opened tabs when Firefox starts by clicking on a link in an external application?

    Hello, I have the boot option: "show my windows and tabs from last time" activated. Works fine, except when Firefox starts when I click on a link in an external application (typically Thunderbird). Then, the new link is opened in a new tab, Firefox remembers the number of tabs I had open when I finally closed it, but all of the 'old' tabs are empty. Somehow fix this behavior?

    Deactivation of the modules does not help. By clicking on a link in an external application when Firefox is already open works OK. I use Firefox for some time short (probably half a year) and this problem was still there (not that is not due to a new update).

    Thank you.

    If Firefox is closed, and an external link opens Firefox, you must go to history > recently closed tabs and open tabs before closing Firefox. If you don't 'last session' will be gone and only one page than the open external program will be the new "previous session."

    If this is not satisfactory, you will need to install an extension of type "session manager" as well as "the last sitting" remember only.

    Search for AMO "session manager".

  • Done "buttons of external applications 2 0.13 ' have a bug in FF 33.1.1?

    When I install the "external applications 2 buttons 0.13 ' FF 33.1.1, the small rectangle that appears in the toolbar contains a button that I can't remove. This button can be edited is not the problem, but at the same time a new entry appears at the bottom of the tools "aplikacji Firefox" menu, and I can't get rid of.
    If I disable the extension, the new entry in the Tools menu disappears, but it returns as soon as the extension is reactivated.
    Is this a known bug, and, if so, how can you get around it? Any suggestions would be greatly appreciated. (Windows XP - SP3 32-bit)

    Hello normanbg, please directly contact the developer of the extension by post of support provided to the home page of the addon - it can probably give you more detailed advice and is the only one who can fix bugs or make necessary adjustments in the addon for new versions of firefox. Thank you...

  • Firefox seems to block links to external applications, in this case Outlook. Can you help me?

    When I click on the link (for example, mailto;email@domain) in a Web site, nothing happens. If I use Chrome or Explorer link opens Outlook to send the e-mail.
    A friend told me "Must be something to do with how your browser is configured, perhaps blocking links to external applications (outlook, etc.)"
    is that correct, and how do I do it please?

    Perfect - thank you very much!

Maybe you are looking for

  • No chapters after compressor export?

    Hi people, I'm editing old family 16mm film to a customer in a SD NTSC file. The file is modified with several chapters (16 or almost) fully finished. I exported a file of format prores FCX.  I'm doing this because I also give customers a larger file

  • iPad disabled

    After message 'ipad disabled, connect to iTunes' I followed the advice to force my iPad into Recovery Mode, but it waits for centuries, then goes back to screen 'iPad disabled. I know that my PC is to see the ipad in the file Explorer, but it does no

  • Portege R830 - Download Cant PT321E value added package driver.

    Hello!I can't download the toshiba.eu/support/drivers/laptops/ driver for Toshiba Portege R830 - PT321EWindows 7 64 bitLocation - Latvia Download keeps failing sometimes to 10% to 50% complete. Sometimes the page is inaccessible. Tried to download th

  • ProBook 650 G1: Fn + Esc does not

    This used to work, but after reinstalling Windows from DVD HP and updated BIOS is not more. I installed the shortcut button, On Screen Display, quick launch... I rebooted. What Miss me? OSD for other Fn keys works (brightness etc) very well.

  • ENE CIR Receiver Driver

    ~2014.05.13~ I made the switch from Windows Vista to Windows v.8.1 on my HP Pavilion dv7 - 2173cl Entertainment Notebook. I get the following error message: "A problem with your infrared receiver"."Your infrared receiver has stopped working correctly