How to Run 2 Scripts simultaneously:PlayQuicktimeMovieWhileSpeechRecognitio

Basicallly i want to make an interactive game using QT movies and Speechrecognition to control what happens, loading different video clips, changing the speed of the movie while it's playing, playing sounds according to what happens.
So i don't know if i need 2 or 3 scripts runing simultaneously.
But anyways, how would you do it?
Do you need to have one parent script? And if so, how would you do it.. how do you run child scripts within the parent script
This is my basic idea , will it work:
PARENT SCRIPT
-Set GameALIVE to true
Repeat while GameALIVE is true
run GAMESPEECHRECOGNITIONScriptTHat just listens for commands
run Script that plays and controls QT Movies based on what the GAMESPEECHRECOGNITION script gets as input
end true
END PARENT SCRIPT
That's my idea but i have no clue how to do it

I've been waiting for a dualhead2go DP edition too. Arrived today. Just playing with it.
I'd hand on for the Dualhead2Go, that is if you haven't got it already. It's a really nice bit of kit. I'm currently running an inbuilt display and two samsung T260 with resolutions of 1920 by 1200 each as well as the inbuilt display. I haven't yet tried switching to the lower spec graphics card in my MBP but with this one it is working beautifully. I can't imagine a USB external graphics card being anywhere near as good.

Similar Messages

  • How to run script file ( unix script file like ksh or sh file) using Java

    How to run script file ( unix script file like ksh or sh file) using Java Program?.
    I am using the following code snippet to run the simple commands like top or ls ,etc....
    Runtime runtime = Runtime.getRuntime();
    Process proc = runtime.exec("top");
    Thanks In Adavance
    -Siva

    String [] { "ksh" , "-c" , "script", "arg 1", "arg 2", "arg 3"}

  • How to run scripts ?

    I would like to know how to run scripts with xgrid.
    From the Xgrid Admin manual, page 37, I created a file and added
    !#/bin/sh
    /bin/echo "Hello, World!"
    saved the file, and gave chmod 755 hello.sh
    When I run at the command line, "Hello, World" is displayed. But as Apple mentioned in the same page of the manual, I did this at the command line
    xgrid -h localhost -p mypassword job submit hello.sh
    Job id is displayed. Say it is 67.
    I could see in the Admin interface that job is sumbitted and running. After finishing, at the command line I did a
    xgrid -h localhost -p mypassword job results -id 67
    Nothing is displayed. Am I doing right or missing something ?
    Appreciate any help.

    A little comment: add to your bashrc file (in /etc/)
    export XGRIDCONTROLLERHOSTNAME=yourcontroller
    export XGRIDCONTROLLERPASSWORD=yourpass
    so that you don't need to use -h and -p options all the time.
    Am I wrong or shouldn't your commands be -job (notice the dash before job)?
    I suppose because otherwise you would get a help page. Also, I suppose your beggining of file is #! instead of the inverse...
    Did you try using run instead of submit? You should see the output right away.
    What is the status of the job in Xgrid Admin? What happens if you use -so to direct the output to some file?

  • How to run script .sql

    Hi
    eBS
    DB: 11.1.7
    APS: R12.1.2
    Does anyone who can guide me how to run script for .sql
    I need command on how to execute this |
    Run the script poxrespo.sql in the PO_TOP/sql directory
    Thanks

    Does anyone who can guide me how to run script for .sql
    I need command on how to execute this |
    Run the script poxrespo.sql in the PO_TOP/sql directoryConnect as apps user to SQL*Plus as run the script.
    Make sure COMMIT is issued -- Release Notifications Error - ORA-20002 2018 Unable To Generate The Notification Content [ID 342734.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to run script in HP -UNIX

    Hi all,
    I am facing problem in running oracle scripts in HP-Unix..
    In nohup option i can`t able to use @ symbol...
    can anyone suggest me how to run ???its urgent
    In solaris i usually run like below
    nohup sqlplus -s data/data @script.sql &
    but i cant do the same in HP-Unix please some one tell me how to run??

    Hello Kirupa,
    this is from the HPUX FAQ, maybe it helps:
    Subject: 8.14 Why can't I type an '@' character?
    If you do a 'stty -a' and you will see that your 'kill' character is
    set to '@'. You need to set your 'kill' character to be something
    other than the '@' character by doing something like 'stty kill '^U''.
    You should add this to your .profile or .cshrc file.
    Kind regards

  • OSD: How to run script(it's In package) without download

    I has a hta script need to run before "Partition Disk", but this script is in a package, if I want to run it, it need to download to harddisk. so it will fail, because no partition.
    So how to run directly this script in network, without download to C drive.
    PS: I think I can put this script into boot image, but it is not easy to maintain. So I want to run directly in network
    06/30:
    Thank you for everyone support!
    My Hta will warn users that the following operations will format data.So "Create a temporary partition on the disk"--It is not for my requirement.
    As Narcoticoo mentioned, I want to use "Package Share Settings" to share folder, so how to map this folder with automatically recognize
    DP?
    just like \\%DP%\hta

    Thank you for everyone support!
    As Narcoticoo mentioned, I want to use "Package Share Settings" to share folder, so how to map
    this folder with automatically recognize DP?
    just like \\%DP%\hta
    Is there this variable?

  • Cron job : how to run scripts as cron job

    Hi friend,
    Sorry one very small question ..
    Can someone tell me how can i run scripts as cron job .. on HP UX.
    thanks
    ashish

    Hi Ashish,
    open one telnet session.
    crontab -e
    then give the periodicity day and time
    like below
    05 00 * * 1-6  /usr/local/bin/database_backup.sh
    and now create the script file with the command or script to execute.
    Regards
    Ashok Dalai

  • Run scripts simultaneously

    hi-
    i am firing some sqlscripts off through cron and i was hoping to run several materialized view refreshes in a single script rather than maintaining multiple .sql files.
    For example...if i have a script like this
    set time on
    set timing on
    spool audit.lst
    exec dbms_mview.refresh('audit1');
    exec dbms_mview.refresh('audit2');
    spool off
    audit1 must complete before audit2 starts.
    How can i maintain 1 sql file and have them run simultaneously?
    thanks

    > Untill audit1 is finished audit2 won't start. Why are u saying that? Do uhave any proof in support of ur statement.
    In the SQL*Pllus script as posted, i.e.
    set time on
    set timing on
    spool audit.lst
    exec dbms_mview.refresh('audit1');
    exec dbms_mview.refresh('audit2');
    spool offthe commands have to run one at a time, in foreground, because that is the only way SQL*Plus works. I'm not sure how much proof we need of that, unless I'm missing something.

  • How to run script on Adobe Acrobat 9 Pro

    HI all i'm new to Adobe Acrobat 9 Pro Scripting, and I'm hoping someone can help me how i can run any javascript on Adobe Acrobat 9 Pro.  I have no idea which place (location) take script then run.
    Like Adobe InDesign CS4 script location=>
    Application>Adobe InDesign CS4>Scripts>Scripts Panel>JavaScript
    Run Path =>
    Window>Automation>Script then run
    Any insight is appreciated!
    Thank you so much adv.
    [email address removed by host]

    “All scripts are executed in response to a particular event. There are several types of events.” (Adobe, 2006, p. 40). You may want to execute your script as a console event. In this case, use the JavaScript Debugger console (Adobe, 2006, p. 21). For more information, read the manual Acrobat has provided online: Developing Acrobat Applications (Adobe, 2006).
    John
    Works Cited
    Adobe Systems Incorporated. (2006). Adobe® Acrobat® SDK 8.0 Developing Acrobat Applications Using JavaScript for Microsoft® Windows® and Mac OS®. Edition 1.0, November 2006. Retrieved on Jan. 5, 2012 at http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_devel oper_guide.pdf.

  • How to run script on selected files in Bridge

    I have a script that takes an open Photoshop document and saves it to four different resolutions in different folders. I'd like to be able to select files in Bridge and run the script on the selected files instead of having to do it each image individually in PS. Anyone know how to do this? Thanks!
    Eric

    MarkWalsh wrote:
    A fairly easy way, you can add your script to the 'Scripts' menu, then create an action that calls this script (use 'Insert Menu Item' to add to your action) and call this action through a batch in Bridge. One issue with this, though, is that it does require creating an action to specifically call the script, I don't know if you can call the script directly from Bridge.
    I haven't scripted Bridge at all myself, but I believe you should also be able to rewrite your script to get the selection in Bridge, and process those files in Photoshop.
    If your script is set up to process one file at a time, the Bridge/Batch technique is the simplest way to do it.
    If your script needs to know what all of the files are before it can begin processing, you have to add a Menu element in Bridge and have it call your action/script in Photoshop. A bit more complicated, but there are a lot of examples of this at ps-scripts.com.
    -X

  • How to run script file Oracle XE?

    Hi there,
    I'm new here. I've just started on a tutorial (i.e. ADF) and it requires me to run a script, i.e.
    SQLPLUS>Start <tutorial_install>\scripts\build.sql
    How do I run this in Oracle XE?
    The content of the build.sql is included below.
    The build.sql also calls other sql scripts in the same directory.
    I can't seem to get this to run in the SQL command prompt in Oracle XE. Can you please help?
    Thanks,
    Will
    build.sql contains the following...
    REM Main build Script for the SRDemo schema, objects and demo data
    REM To be run from SQL*Plus conected as a DBA
    REM Note you can also run this SQL install from ANT
    REM Schema Owner SRDEMO is parameterized to allow for simpler workshop /
    REM classroom setup where only one shared server is available
    REM $Id: build.sql,v 1.5 2005/12/22 22:46:41 duncan Exp $
    SET FEEDBACK 1
    SET NUMWIDTH 10
    SET LINESIZE 132
    SET TRIMSPOOL ON
    SET TAB OFF
    SET PAGESIZE 999
    SET ECHO OFF
    SPOOL SRDemo_Install.log
    REM Define the changable data
    DEFINE DEMO_SCHEMA = SRDEMO
    DEFINE DEMO_SCHEMA_PASSWORD = ORACLE
    REM Create the schema owner - this can fail if the
    REM Script has alreadt been run, but that's OK as the first
    REM Step of the createSchemaObjects is to drop the existing objects just in case
    @@createSchema &&DEMO_SCHEMA &&DEMO_SCHEMA_PASSWORD
    REM connect to user account and invoke the scripts that create schema objects.
    CONNECT &&DEMO_SCHEMA/&&DEMO_SCHEMA_PASSWORD
    @@createSchemaObjects
    REM Add the triggers needed for the ADF BC version of the Demo
    @@createSequenceTriggers
    REM Add the sample data to the tables
    @@populateSchemaTables
    REM And Commit all that
    commit;
    REM Report Back
    Prompt What OBJECTS were created?
    column object_name format a30
    column object_type format a30
    select object_type,
    object_name
    from user_objects
    group by object_type, object_name
    order by object_type desc, object_name
    Prompt ------------------------------------------------------
    Prompt
    Prompt Are there any INVALID OBJECTS?
    select      object_type,
    object_name
    from user_objects
    where status='INVALID'
    group by object_type, object_name
    order by object_type desc, object_name
    Prompt Disconnecting....
    disconnect
    spool off

    I've just started on a tutorial (i.e.
    ADF) and it requires me to run a script, i.e.
    SQLPLUS>Start <tutorial_install>\scripts\build.sql
    How do I run this in Oracle XE?You must start SQL*Plus (SQL Command Line) and there execute the script.
    For more info about using SQL*Plus take a look here:
    http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_sqlplus.htm#CJABIFFE
    HTH

  • How to run scripts of sql

    Hi
    how run sql scripts for example see below,
    For Release 12+, i2471362.sql is delivered with the release with version 120.0
    The module can be found in $INV_TOP/patch/115/sql
    Run i2471362.sql periodically to clean-up orphaned rows in the MTL_DEMAND and MTL_RESERVATIONS tables.
    any idea
    thanks

    Hi,
    As applmgr/oracle user, login to SQL*Plus (as APPS user) and run the script.
    $ sqlplus apps/<apps password>
    SQL> @i2471362.sqlStandard Cleanup Scripts for INVDVDSD - SUPPLY/DEMAND in 11.5.10.2, 12.0 and 12.1 [ID 372170.1]
    11i/R12: Clean Up Scripts - Inventory Reservations Not Relieved for Closed Sales Orders [ID 199887.1]
    MRPRPROP - Reorder Point Report Shows Incorrect Data In Open Demand Qty [ID 300260.1]
    Thanks,
    Hussein

  • How to run script on login?

    I've got a script called MouseFix that sets the mouse's sensitivity to just the way I like it when it is run. I'd like the script to run on startup. I've tried using Lingon, but that didn't work, and I've also placed the command to run the script in the ~/.profile file, but that doesn't seem to work, either.
    Anyone have any other suggestions that I could try?

    GaryKing wrote:
    I've got a script called MouseFix that sets the mouse's sensitivity to just the way I like it when it is run. I'd like the script to run on startup. I've tried using Lingon, but that didn't work,
    please explain what didn't work. using a launch daemon is a proper way to do this and Lingon is the easiest way to make one.
    and I've also placed the command to run the script in the ~/.profile file, but that doesn't seem to work, either.
    ~/.profile is only executed when you start terminal.
    Anyone have any other suggestions that I could try?
    Message was edited by: V.K.

  • How to run scripts in Numbers?

    In Yvan Koenig's script, the instructions say
    "Save the script as a Script: numberInLetters.scpt
    Move the newly created application into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    Put the cursor in the cell which contains the number to translate.
    menu Scripts > Numbers > numberInLetters"
    What I have done so far:
    placed a script in that location
    checked option in AppleScript Editor "Show Script menu in menu bar"
    closed and opened Numbers since doing all that
    Still no Script menu.
    What else do I need to do to get the Script menu to display in Numbers?

    Hi kharisma,
    This is what  did with the script:
    Selected everything from   (*   to   --[/SCRIPT]   (omitting {code} )
    Pressed command-C to Copy.
    Opened AppleScript Editor.
    Went AppleScript Editor > Preferences.
    Checked "show Script menu in Menu bar"
    Closed preferences.
    Clicked in the script area and Pasted.
    Went File > Save to open the Save Dialogue.
    Chose Script from the File Format: popup menu.
    Navigated to the Desktop and clicked Save.
    Switched to Finder and opened a Finder window.
    Pointed the window to the Desktop. Sorted by Date to bring the newly saved file to the top.
    (Later repeated the steps above, saving the same script as an Application with the name Num2wdsResults. Moved both to the folder noted below.)
    Clicked otside the window to deslelect it.
    Pressed and held the option key.
    Went Go > Library to open my user Library.
    Released option key.
    Navigated/constructed path to Library > Scripts > Applications > Numbers.
    Dragged newly saved file to the newly made Numbers folder.
    Launched Numbers (which opened a new blank document)
    Entered numbers in A2 through A11.
    Selected each in turn and went Script menu > Numbers2words
    (or on alternate rows, Script menu > num2wds)
    Resuts as shown. Note the limitations demonstrated in the yellow rows.
    The script may be saved as either a Script or an Application. Both produce the same results.
    To run either from within Numbers, select a cell containing a number, then select the script from the Script menu in Numbers.
    Regards,
    Barry

  • How to run two sub vi simultaneously??

    i need to run two sub vi simultaneously in one main vi, becasue it is a must the two sub vi run exactly at the same time, but now i find that if i put they in one diagram ,in fact they are not exactly run at the same time. if you see in high light mode Just like the attached simple example code.  any one can help me to handle this to run the two subvi exactly at  the same time ? how to do it ? thanks so much.
    Attachments:
    how to run subvi simultaneously.vi ‏11 KB

    You are correct, they will not run at exactly the same time.  What is it you are actually trying to do?  What platform are you developing on? What version of LabVIEW? What processor does your target system have? This information is vital in order for us to assist you.  In a nutshell, unless you are running a real-time OS, then the OS you are running is not deterministic.  When you say "at the same time", what are you actually referring to? As a note, when executing parrallel operations in LabVIEW, the execution order may or may not be the same with the highlight bubble on as it is when it is running without highlight execution.  It is highly unlikely that you will be able to just run two sub-vis at the exact same nS.  If you are using DAQ boards, you accomplish this through triggering.  Please give a detailed description of what you are doing, and what you see the road blocks being.
    Thanks
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

Maybe you are looking for