Possible to invoke an executable outside of AIR?

Is it possible to launch an executable from an AIR
application? I've searched everywhere but can't find anything. I
want to use an AIR application to formulate a string of arguments
that get passed to an executable. For example, the simplistic
approach would be to open a command line, pass the string
"c:\application.exe /if="c:\input.xml" /of="c:\output.xml" and let
the command line utility execute it. Or I could call
application.exe from AIR and pass it the arguments skipping the
command line altogether. Either way is fine, but can either be
done?

One workaround I've finally gotten around to implementing....
I wrote a small webserver that my air app downloads and drops
into the user's startup folder. When the user reboots, the server
begins executing. I can then invoke system commands by simply
hitting a well-defined url on the local webserver.
It's reasonably secure, as it only knows how to execute a
fixed set of commands that are pre-programmed into the server, and
I can customize the server to invoke the cmds I need for a
particular application.
It could be easily modified to be more generic in what it
executes, but there's more of a security risk in that.

Similar Messages

  • Is it possible to invoke external REST web service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4)

    Is it possible to invoke an external REST web-service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4) with parameters as input and manipulating the response depending on the type of parameters it gets back. Then invoking an Adobe Form and prepopulating the Form based on the response parameters? Do you have sample projects that do this invocation. The part highlighted in red is what I need examples.

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Possible to Invoke MS Word with Java Application?

    Is it possible to invoke Microsoft Word to open a word doc with a Java application?
    If yes, what API or knowledge should I know to do this?
    Please give some advice.

    Using the various forms of the exec() method in the Runtime class, you can execute arbitrary programs, such as MS Word. exec() returns a Process instance, which you can do various things with such as get input/output streams, kill, etc. Note the parameters to the exec() method are platform specific, because of differing command shell names, path separators, etc. So you will definitely have to experiment and see what works on your platform:
    Process msWord = Runtime.getRuntime().exec( "cmd.exe /C winword.exe" );That is one of the general idioms for using exec(), like I say you will have to experiment to see what variant of exec() works for you. Try searching these forums, this question has been answered numerous times before.

  • Is it possible to read archive files outside of SAP?

    Hi Experts,
    I would like to read SAP archived data (*.ARCHIVE.ARCHIVING)  with non-SAP application. I already know, that data is automatically compressed (and maybe encrypted?).
    My question: Is there some possibility to read archive files outside of SAP? I suppose that would be needed to do some decompress first.
    Your help is appreciated. Thank you!
    Jan

    Hi Stefan,
    Thanks for your reply. I found some points with your hint. Some summary for others:
    460620 - Migrating archive files:
    "Archived data may have to be migrated. One solution is to perform an SLO service archive migration. You can also perform an archive migration for archive files using the Archive Development Kit (ADK)."
    153433 - Access to archived data from other logical systems
    "For data security reasons, the ADK checks whether an archive file was created in the same system and client where it is to be read. If the client, system or file key do no longer correspond to the meta data that were valid at the time of archiving, you can no longer always access the archive file, particularly for reloading. If only the system ID changes when a new installation due to a system copy is carried out, read accesses are still possible. No solution is provided in the standard system. The access to archive files from other logical systems must be taken into account and carried out in a migration project."
    Unfortunately, I still do not know if it is possible to read archived data outside of SAP.
    Best Regards,
    Jan

  • Is it possible to invoke IE with UTL_HTTP.Request

    Hi,
    Is it possible to invoke IE with UTL_HTTP by specifying the URL?
    DECLARE
    LV_RET VARCHAR(2000);
    BEGIN
    SELECT UTL_HTTP.REQUEST('http://www.oracle.com')
    INTO LV_RET
    FROM DUAL;
    END;
    Thanks in Advance
    Thanks & Rgds
    M T

    Hi!
    Pls go through the following link --
    [url http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Utl_Http_Package_Enhancements/Cr_Using_Utl_Http.htm]UTL_HTTP In Oracle
    Regards.
    Satyaki De.

  • Faulted while invoking operation "execute" on provider "OrderFulfillment".

    faulted while invoking operation "execute" on provider "OrderFulfillment".
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    These are the exceptions i have received while running the sample soademo application in the postfulfillementreq scope.
    help me out with this exception.Unable to proceed further

    Hi
    I have a problem. my process is closed but I have error and appears message like below.
    Faulted while invoking operation "UpdateInstalledProduct" on provider "InstalledProductService"
    <messages><input><UpdateInstalledProductRequestMsg><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameter"><UpdateInstalledProductRequest xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductRequest.V1">
    <UpdateInstalledProductArgs>
    <RF_IPRD_WS_WRK class="R" xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductArgs.V1">
    <Setid>COM01</Setid>
    <InstalledProductID>INS0252365</InstalledProductID>
    <AssetType/>
    <AssetSubtype/>
    <ContactID/>
    <ContactRoleTypeID/>
    <ProductID/>
    <InventoryItemID/>
    <SerialID/>
    <AssetTag/>
    <OrderDate/>
    <ShipDate/>
    <InstalledDate/>
    <SiteID/>
    <PersonID/>
    <DepartmentID/>
    <Location/>
    <ProductOwnership/>
    <DistributorID/>
    <DistributorContact/>
    <PoID/>
    <CaptureID/>
    <ExternalID/>
    <LineNumber/>
    <ConfigurationCode/>
    <Environment/>
    <Platform/>
    <Network/>
    <OperatingSystem/>
    <UserInterface/>
    <OperatingSystemVersion/>
    <ManufacturingID/>
    <Model/>
    <ParentInstalledProductID/>
    <AuthorizationCode/>
    <RegisteredDate/>
    <Comments/>
    <AccountID/>
    <ParentAccountID/>
    <SponsoredAccountID/>
    <RBTExternalID/>
    <RBTLineNumber/>
    <ServiceEndDate/>
    <Schedule/>
    <AgreementCode/>
    <Service/>
    <ResumeDate/>
    <PhoneNumber/>
    <PhoneTemp/>
    <PacCode/>
    <PacDate/>
    <PortinDate/>
    <DisconnectDate>2008-06-05</DisconnectDate>
    <SuspendDate/>
    <RecurPrice/>
    <CurrencyCode/>
    <Market/>
    <RF_IPRDS_WS_WRK class="R">
    <InstalledProductStatus>PDI</InstalledProductStatus>
    <InstalledProductReason/>
    <Quantity>1</Quantity>
    </RF_IPRDS_WS_WRK>
    <RF_IPRDW_WS_WRK/>
    <RF_IPRDA_WS_WRK/>
    </RF_IPRD_WS_WRK>
    </UpdateInstalledProductArgs>
    </UpdateInstalledProductRequest>
    </part></UpdateInstalledProductRequestMsg></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html</summary>
    </part></remoteFault></fault></messages>
    If someone have any suggestions please write.
    Thanks in advance

  • Is it possible to invoke other software applications in labview?

    Is it possible to invoke other software applications in labview? I would like to upload my files processed in Labview to my web based database. I have no basis of FTP and SQL. Providing that I have no Internet Database Toolkit installed in my computer. So, is it possible to "call" the software in Labview, just like calling a function or sub VI?

    Hello kaykeat,
    It is definitely possible to call other applications inside LabVIEW. Please see the links below for more help on the most common ways to call external programs.
    If the code is a shared library:
    Using External Code in LabVIEW
    When calling an activeX method:
    ActiveX and LabVIEW
    ActiveX/COM Overview
    Using .NET in LabVIEW:
    .NET Support in LabVIEW 7 Express
    Hope this helps in development,
    Matt F
    Keep up to date on the latest PXI news at twitter.com/pxi

  • Is it possible to access user account in an air android app ?

    Is it possible to access user account in an air android app in as3 ?
    The only thing I've found on internet is that one has to add to its manifest permissions to acccess account :
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    and this documentation for native android coding :
    http://developer.android.com/training/id-auth/identify.html
    thanks for any help.

    There is no API in the AIR runtime to get user's accounts.
    But you may write an ANE to get the same.

  • How is it possible to download Lion on a Macbook Air. I have the answer that "it can't be downloaded on this computer". I bought it with my previous MacBook and I would like to make DVD of it. Thank you.

    How is it possible to download Lion on a Macbook Air. I have the answer that "it can't be downloaded on this computer". I bought it with my previous MacBook and I would like to make DVD of it. Thank you.

    Check that your MBA meets the System Requirements for Lion..
    See Here under General Requirements...
    http://support.apple.com/kb/SP629

  • Hi All, Is it possible to invoke dynamically, constructor with an argument?

    Hi All, Is it possible to invoke dynamically, constructor with an argument
    Thanks in advance

    Strongly depends on what's dynamic.

  • IS IT POSSIBLE TO INVOKE AN ORACLE ALERT FROM PL\SQL ?

    Is it possible to invoke an Oracle Alert from PL\SQL and, if so, could you
    provide me with some references to any relevant notes that you may have on
    Metalink ?

    If you want to fire an Alert programatically the best way is to define a Business Event that will fire a notification. The Notification Emailer (if running) will convert this into an email.
    Notifications are preferable to Alerts because you can use HTML for formatting.

  • Is it possible to invoke() 'Change All' in Find/Change?

    Hi All,
    Is it possible to invoke() 'Change All' in Find/Change?
    Regards,
    Chinna

    Hi Jongware,
    Thanks for the reply. Yes I know changeText() already does but I need to run a script whenever the user invoke the changeAll.
    Is it possible to run a script before clicking on the changeAll button?
    Regards,
    Chinna

  • Is it possible to invoke a Java class from Data Services 4.0?

    Is it possible to invoke a Java class from Data Services? I have a query transform with a varchar column which I want to run an external java class against to encrypt the string value. In the Management Console, I created an adapter of type TestAdapter and referenced my jar file in the Classpath section, but when I create a Datastore of type Adapter I can't import any functions related to my java class? It seems like I need to create a new Adapter type similar to the TestAdapter with the 'Adapter Class' set to my java class? I can't figure out how to do this - which is the correct approach and is there some documentation available? thanks!

    First u nees to imoprt the class which u are doing right
    then u need to call the function of the class , and then you can put the value in a string .
    DbCon.function()
    String data = DbCon.db;
    where db is a string in DbCon
    Cheers
    Varun Rathore

  • Is it possible to expand memory in an iPad air 16Gb ios7

    is it possible to expand memory in an iPad air 16Gb ios7

    Not the iPad itself.
    There are some wireless external hard drives that can be used with the iPad.
    Best iPad External Hard Drive Storage Options
    http://www.unlocktips.com/2012/11/best-ipad-mini-external-hard-drive-memory-stor age-options/
    iPad Storage Solutions
    http://www.ipadstoragesolutions.com/iPadWirelessStorage.php
    SanDisk Connect Wireless Media Drive
    http://www.sandisk.com/products/wireless/media-drive/
    SanDisk Wireless Flash Drive
    http://www.sandisk.com/products/wireless/flash-drive/
    WD My Cloud
    http://www.wdc.com/en/products/products.aspx?id=1140
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • Invoking UNIX executables from client side forms

    Has anyone had any success invoking UNIX executables from forms without using "hosted" rsh and/or rcp commands? There are too many of these UNIX executables to convert to PL/SQL procedures. Have developed a technique using dbms_pipe package but requires a daemon on UNIX side. Any thoughts or sugesstions? Thanks.

    I have done alot of this and the only way that I know of is using dbms_pipe. It looks alot harder than it really is. Also you may want to look at using Forms Server on your database server. I know that you can use the host command, which if running on your database server will send the command to your unix server.

Maybe you are looking for

  • How can I delete or add a file in thunderbird?

    The files on the left side of the window - somehow a file got underneath the trash file - I want to delete it and cannot seem to do it - I've tried right clicking - doesn't work. It must be simple - I just cannot do it

  • Flash Player isn't working correctly on my blog

    Hi friends, I have a blog named TechStake...Here is the URL: http://www.techstake.org/ I am using some javascript codes in my blog template...My problem is sometime my browser is crashing while loading my blog...I have upgraded my Flash player to the

  • Restriction BW developers in BW7.0

    Hello, We are working on the restriction of Developers in BW7.0 Can anybody tell me which trx and authorization infoObjects are critical or where i can find a list . for example BW developers use RSA1 and with authorization Object S_RS_ADMWB it is po

  • I require a TIMS database add in for office 2013

    The add in for that was available for Office 2010 and 2007 edition. I am on a 2013 office edition. I cant seem to find the add in version for 2013. Is there a work around for that?

  • HTMLLoader

    Hi. I don't understand why i can't let HTMLLoader work. It seems that the code is very very easy: package {     import flash.display.Sprite;     import flash.html.HTMLLoader;     import flash.net.URLRequest;     public class HTMLLoaderExample extends