How to start external application

how do i start external process like notepad.exe or is there
any mechanism to reload air application
Does air supports this?
thanks

Hi,
AIR 1.1 does not support launching external processes or
reloading itself (though an HTML AIR app can).

Similar Messages

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • How to start Oracle Application Server 10g on Linux

    Hi,
    I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
    Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
    We are going to use the these with Oracle EBS 11.5.10.2 .
    Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
    Can some one please guide me.
    Thanks,

    You can do as rizla said or go another route.
    We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
    Example:
    Script which you can chkconfig.
    #!/bin/sh
    # oracle_collabInfra
    # This shell script takes care of starting and stopping Oracle Collab Infra instance.
    #chkconfig: 345 96 14
    # Source function library.
    . /etc/rc.d/init.d/functions
    RETVAL=0
    start () {
    echo $"Starting Collab Suite on the Infra instance..."
    echo $"Starting Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
    sleep 10
    echo $"Starting Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    startup;
    exit;
    sleep 10
    echo $"Starting Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
    sleep 5
    echo $"Starting Infra OID and OC4J_Security processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
    echo $"Starting Infra HTTP_Server processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
    return $RETVAL
    stop () {
    echo $"Stopping Collab Suite on the Infra instance..."
    echo $"Stopping all Infra OPMN managed processes..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
    sleep 5
    echo $"Stopping Enterprise Manager Application Server Control..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
    sleep 10
    echo $"Stopping Metadata Repository..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
    shutdown immediate;
    exit;
    sleep 10
    echo $"Stopping Listener..."
    runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
    return $RETVAL
    restart () {
    stop
    start
    RETVAL=$?
    return $RETVAL
    # See how we were called.
    case "$1" in
    start)
    start
    stop)
    stop
    restart)
    restart
    echo $"Usage: $0 {start|stop|restart}"
    RETVAL=1
    esac
    exit $RETVAL
    profile:
    export ORACLE_BASE=/opt/oracle
    export ORACLE_HOME=$ORACLE_BASE/collabInfra
    export ORACLE_SID=orcl
    export TMP=/tmp
    export TMPDIR=/tmp
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
    unset USERNAME

  • How to use external application, webclipping portlet in webcenter ?

    I'm just following this [http://biemond.blogspot.com/2008/01/external-application-in-webcenter-11g.html|http://biemond.blogspot.com/2008/01/external-application-in-webcenter-11g.html]
    to integrate an application into webcenter application as a external application. But I can't get the login work, always get the "User authentication failed".
    I'm using JDeveloper 11.1.1.2.0 and Webcenter 11.1.1.2.0.

    You can view a demo-
    How to Build a Portlet from an existing authentication web application
    from:
    http://portalstudio.oracle.com/servlet/page?_pageid=350&_dad=ops&_schema=OPSTUDIO&9054_PDKHOME_39847486.p_subid=176584&9054_PDKHOME_39847486.p_sub_siteid=73&9054_PDKHOME_39847486.p_edit=0#PDKURLDEMO
    There are PDK articles that explain how to builld ASP portlets and how to set up a URL based portlet for external authentication:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/build.asp.portlet.url.services.html
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/how.to.build.urlbased.portlet.with.SSO.to.external.app.html
    There is also an ASP sample under the PDK-URL services samples.
    Please use these to build your application.
    Thanks,
    Mohana

  • How to call external application (transaction launcher) from event method

    Hi all
    Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
    Best regards
    Arne Thage / MarchIT / Denmark

    hi,
    check class CL_CRM_UI_LTX_NAVBAR_PARAM.
    call method : CREATE_PARAMETER_OBJECT with parameters
    IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
    IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
    RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
    I think it should work but have never done myself.
    Best Regards
    Pankaj Kumar

  • How to run external application

    How could I call an external application like an exe file in
    Windows.
    I read the Adobe AIR Language Reference for HTML Developers,
    but don' t know if it is possible.
    Thanks.

    Well,
    I make a socket service listening to a port (an exe program
    written in C#).
    It waits for somone, listening for a command.
    From air, y make the connection to this port and parse the
    command like this:
    socket = new air.Socket();
    socket.addEventListener( air.Event.CONNECT, onSocketOpen );
    socket.addEventListener( air.ProgressEvent.SOCKET_DATA,
    onSocketData );
    socket.connect( 'localhost', 5050 );
    function onSocketOpen( event )
    socket.writeUTFBytes( "c:\windows\calc.exe" ); <<--
    send command
    socket.flush();
    function onSocketData( event ){
    var data = socket.readUTFBytes( socket.bytesAvailable );
    socket.close();
    When the air connect to the server in the port 5050, send the
    command. (onSocketOpen)
    The server then execute what we send, because is out of the
    air domains.
    Understand?
    Allways you could do it by installing a Apache, IIS, and make
    a .asp, or .php, or any other that could execute external commands.
    If you install or just have installed Apache is more easy and
    robust that make a simple server like I do.
    But I like to complicate my life, and don´t want a web
    server installed.
    I hope this can serve to you as well.
    Widomin

  • Start external application with oracle job

    I'm trying to start external program with oracle job.
    Here is an example (I used SYS as SYSDBA):
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    job_type => 'executable',
    job_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled => true,
    auto_drop => false );
    END;
    But job STATE comes FAILED.
    How should I do this?
    Result was not better when I used
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
    program_name => 'my_prg',
    program_type => 'EXECUTABLE',
    program_action => 'C:/WINDOWS/system32/cmd.exe',
    enabled=>TRUE);
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'my_job',
    program_name => 'my_prg',
    enabled => TRUE,
    auto_drop => false );
    END;
    Edited by: user458393 on Feb 16, 2010 1:55 AM

    Take a look at this thread: Running a Windows BAT file using DBMS_SCHEDULER
    C.

  • How to start an application in the background using "oscmd" on windows

    Is there any way to launch a windows application using oscmd without suspending xmath?
    From a "cmd" window one can use the start command:
    > start notepad
    Which starts the application without suspending the "cmd" window.
    From xmath command line, one may use:
    > oscmd("start notepad")
    This starts the application. However, the user cannot interact with xmath as long as the application is running.
    Thanks
    Xmath715, windows xp version 5.1 SP2

    Hi Farshid,
    There is a command in the Shell API of Windows that runs an executable:
    #include <utility.h>
    #include <ansi_c.h>
    #include <shellapi.h>
    #include <windows.h>
    int main (int argc, char *argv[])
        int res;
        if (InitCVIRTE (0, argv, 0) == 0)
            return -1;    /* out of memory */
        HINSTANCE stuff;
        stuff = ShellExecute(NULL, "open", "notepad.exe", NULL,NULL, SW_SHOW);
        printf("%i",stuff);
        return 0;
    You can build a similar program into an executable and since the Parent
    executable will finish executing, control will return to XMath even
    while notepad is still open.
    Richard
    Field Sales Engineer, New Jersey
    National Instruments

  • How to transfer External Applications Information

    WE HAVE SEVERAL INSTANCES OF PORTAL+LOGIN SERVER, ONE PER COMPANY.
    IS IT POSSIBLE SOMEHOW TO EXPORT/IMPORT THE DIFFERENT EXTERNAL APPLICATIONS WE CREATED IN ONE OF THE PORTAL TO THE OTHERS?
    OR DO WE HAVE TO CREATE THEM IN EACH ONE MANUALLY?
    TKS!!

    You may write a script to export application information and then load it to other login server instance.

  • Applescript: How to start an application with parameters

    AppleScripters,
    I am sorry if I have posted this in the inappropriate forum, I saw none with a specific regard to AppleScript.
    Let us presume that we have a regular shell script which when initiated from the Terminal has code such as what follows hereupon:
    /Applications/SeaMonkey.app/Contents/MacOS/seamonkey -editor /Users/joebuffoon/myhomepage.htm
    In order to convert this to AppleScript I was told to use:
    activate application "Seamonkey"
    This works, but seems not to support the ability to either provision the "-editor" argument (such argument would impel Seamonkey to start in "composer mode"), nor does it seem to provision the allowance of supplying a file to open in "composer mode" as the aforementioned command line in my shell script would.
    Can I ask if anyone has any idea how I can do this in AppleScript?
    I am also interested to find a good book on Apple Scripting (preferably one available in PDF format as well, if possible).
    Thanks in advance,
    Stuart

    I saw none with a specific regard to AppleScript
    http://discussions.apple.com/forum.jspa?forumID=724

  • How to start an application with parameters

    AppleScripters,
    Let us presume that we have a regular shell script which when initiated from the Terminal has code such as what follows hereupon:
    /Applications/SeaMonkey.app/Contents/MacOS/seamonkey -editor /Users/joebuffoon/myhomepage.htm
    In order to convert this to AppleScript I was told by an associate to use:
    activate application "Seamonkey"
    This works, but seems not to support the ability to either provision the "-editor" argument (such argument would impel Seamonkey to start in "composer mode"), nor does it seem to provision the allowance of supplying a file to open in "composer mode" as the aforementioned command line in my shell script would.
    Thus, my query is if anyone has any idea how I can do this in AppleScript?
    I am also interested to find a good book on Apple Scripting (preferably one available in PDF format as well, if possible).
    Thanks in advance,
    Stuart

    I've had success with the script below, tested using SeaMonkey version 2.0b1 and Mac OS 10.4.11. It may or may not work with earlier versions of SeaMonkey, however, as the new beta version features UI changes.
    No browser window will open as long as SeaMonkey > Preferences > Appearance is set to open Composer exclusively at startup.
    Be advised that the script is meant to run slowly and might appear to be hanging when such is not the case. Adjusting delay times would be key if the script does fail at any point, however. Good luck.
    +Copy the block of code below and paste it into your AppleScript Script Editor:+
    *tell application "SeaMonkey" to activate*
    *delay 4 -- four-second delay; increase if necessary*
    *tell application "System Events"*
    *tell process "SeaMonkey"*
    *if not (exists window "untitled - Composer") then*
    *key code 21 using command down -- makes new window if necessary ("Command + 4")*
    *end if*
    *delay 2 -- increase if necessary*
    *keystroke "o" using command down -- "Open File…"*
    *delay 2 -- increase if necessary*
    *keystroke tab using shift down*
    *keystroke tab using shift down -- brings focus to text field for file search*
    *keystroke "File Name" -- enters file name (you must replace text within quotes with actual file name)*
    *key code 47 -- enters "dot"*
    *keystroke "html" -- enters extension*
    *delay 10 -- ten-second delay could be MININUM; increase if necessary*
    *keystroke tab*
    *keystroke tab -- brings focus to scroll area*
    *key code 125 -- presses down arrow to highlight specified file*
    *keystroke return -- presses "Open"*
    *end tell*
    *end tell*

  • How to start ascontrol application of oc4j_soa OC4J Instance

    Hi All,
    As per the Content DB Developer's kit we have configured the oc4j_soa OC4J to use OID, however the ascontrol application of this Instance is down and the ascontrol application of home OC4J Instance is up (I guess only one instance of ascontrol must be running at any point of time). However, I will not be able to create the connection to oc4j_soa with JDeveloper as it's ascontrol is not running...How can I make it up?..if I try to make it up from back end by changing the
    <application name="ascontrol" path="../../home/applications/ascontrol.ear" parent="system" start="true" /> start property to false in F:\product\10.1.3.1\OracleAS_1\j2ee\home\config\server.xml and <application name="ascontrol" path="../../oc4j_soa/applications/ascontrol.ear" parent="system" start="false" /> start property to true in F:\product\10.1.3.1\OracleAS_1\j2ee\oc4j_soa\config\server.xml and restart the SOA suite, I am unable to start the Appliaction Server Control page as the ascontrol of home is is refering to Applicatin server control page we are working on...so how to make the oc4j_soa's ascontrol up and running without loosing the access to Appl. Server Ctrl. page.
    Thanks
    Krrish

    Hi Krrish,
    This can only be done via the opmnctl command line tool.
    Subsequently run:
    - opmnctl stopproc process-type=home application=ascontrol
    - opmnctl startproc process-type=oc4j_soa application=ascontrol
    Then ascontrol runs in oc4j_soa.
    Although this is fine for development or when running SOA Suite in a Virtual Machine (and for cutting down memory consumption) it is not recommended for production deployments. In the latter case only run SOA Suite components in your SOA OC4J instance.
    Hth,
    Sjoerd

  • How to start my application automatically when computer is turned on?

    hi there,
    i built a small application that is meant to be started automatically everytime a computer is turned-on. How can I do that?
    any ideas?

    Programs which run all the time in the background are called daemons, or in Windows, Services.
    There's a package to manage Java daemons in Apache commons
    at jakarta.apache.org/commons
    This allows the program to be handled by the unix startup or the windows Service manager and to be controlled (in the case of Window) from the controll panel, so that it comes up and shuts down gracefully with the system.

  • WD Program calls RFC. How to start external ABAP debugger to see the data

    Hi Experts,
    I have created WD program which calls RFC. I want to see the value passed from WD to ABAP. I have to see the values once data reaches ABAP. How I can do so?
    I did following.
    1) se 37 . Open the proram. Inside the fucntion near a select statement I placed the cursor. Then clicked on controlshitfF9 (set/delete  external brakepoint icon).
    2) I clicked on WD screen - Save push button.
    3) The data goes from WD to R/3. Some processing takes place. I can see message from R/3. However debugger never got triggered.
    How to resolve the issue.
    Regards,
    Gary

    go to following link.
    External debugging of ABAP from NWDS in web dynpro java
    I hope it helps.
    Regards,
    Rohit

  • How to start extern videos and apps?

    Hi, I try to figgure out to start some Captivate -videos and
    some applicaions in a Flash 8 CD/DVD-Menu. Is there a helpfile,
    sample or template available?
    It would be a big help why I'm new in this business.
    Thanks a lot for any help, Wolf

    Wolvo wrote:
    > Hi, I try to figgure out to start some Captivate -videos
    and some applicaions
    > in a Flash 8 CD/DVD-Menu. Is there a helpfile, sample or
    template available?
    > It would be a big help why I'm new in this business.
    >
    > Thanks a lot for any help, Wolf
    If you make these files EXE, you can use "FSCOMMAND EXEC" to
    call them up.
    fscommand("exec", "filename.exe");
    you will need to place the content into folder call
    FSCOMMAND. This is a
    security feature to prevent users from calling commnad lines
    and messing
    around with your system files (use to be possible few years
    ago).
    Flash by default seek its content in that folder so do not
    specify it in
    the action path. Just the file names. Keep in mind tho, you
    can't have any
    sub directories.
    If you like more freedom and arrange the way you like it w/o
    using
    FSCOMMAND folder, you could try either one of these:
    http://flashjester.com/?section=tricks_jtools_jstart
    JStart will allow you to not only launch a program, but use
    parameters to make the
    program open files, perform special actions and just about
    anything you can use
    parameters for. You can also choose to launch files with
    their default associated
    program.
    Another solution is provided by Rick Turoczy, it's pretty old
    but it should still
    work. Perhaps give it a try.
    http://www.flashgeek.com/tutorials/07_launchapp_01.asp
    Easy to use tool that allow you to launch basically anything
    from the projector.
    As long as there is system default application supporting
    particle file.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

Maybe you are looking for

  • Lenovo B6000 Bootscreen freeze, solutions ? (Windows 8)

    I bought a Lenovo B6000 Yoga 8 less than a year ago from Amazon.de.  Mainly for trips and mainly for the big battery otherwise I still am kicking myself now for choosing the Lenovo over the Nexus 7. Anyway, too late for that now. My first problem was

  • Can't launch Acrobat 9 - HELP!

    Can anyone help: I have just installed a legal, purchased copy of Acrobat 9 Standard, but after I accept the user agreement, the program shuts down... no error messages or anything. Here is my history: I initially downloaded the trial version of Acro

  • I changed the password from the root user - now: no booting up

    Hey guys. Im a new "unix user" and I learned a lot about using terminal and stuff and a few days ago I changed my password and I forget it after. So I changed my password over the following steps: when it booted up, i pressed apple + s to go into ter

  • I new to java but how do you load different settings for different browers?

    Let's say i want the page to be font size 6 on FF but size 8 on IE. I know there is a code like "if firefox" but i'm not sure how to set it up.

  • Script for running multiple find/change queries

    Working on a large ID book document (*.indb), I have saved several dozens of Find/Change Queries (named "col01", "col02" etc.) that I run on "All documents". For a particular reason I have to run these queries several times a day. So I was wondering