Execute script from Flash Widget

Hello everyone,
I'm on a panel, and I just wanna know:
is it possible to execute a script from a flash widget, and how?
I was thinking of Flash' "getURL()" function, without any success.
The idea is that I want to make some sort of form in flash (since it's the only way to give the user custom input, according to me) and execute a script using the user's input...
Any ideas??
TIA, Robin

Please refer this article
http://scriptplayground.com/tutorials/as/Creating-Flash-Panels-for-Photoshop-using-Flash-C S4/
You also can create a Flash Panel which can call extendscript with FlexBuilder/FlexSDK + Adobe Flash Panel SDK.

Similar Messages

  • Controling Captivate Slide elements from flash widget

    I am creating a widget in Flash and I am able to control the captivate movie by widget. But I do not know how to control the elements (clickbox, highlightbox or images) appearing on slide.
    Is it possible to show/hide and image appearing in captivate slide from flash widget.

    I have the same issue.
    I have a button "Button_1" that I am trying to turn invisible, and have tried:
    var myRoot:MovieClip = MovieClip(root);
    var mainmov:MovieClip = MovieClip(myRoot.parent.root);
    mainmov.slide0__color_mc.Button_1.visible = false;
    Also tried:
    mainmov.Button_1.visible = false;
    Neither works.

  • Execute script from AfterFX command line

    Hello all
    I'm trying to run a script from the AfterFX.exe command line and I get a message: "Unable to execute script at line 1. Syntax error"
    If I run the same script file from the AE Script Editor, it works perfectly
    Here is the command line I'm using:
    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\AfterFX.exe" -noui -s "D:\Product\Watermark\Rendering\WatermarkedSecuritySample.jsx"
    Anyone have an idea of what can cause this error? I've tried running the script directly in the command line like
    "C:\Program Files\Adobe\Adobe After Effects CS6\Support Files\AfterFX.exe" -noui -s "alert('1')"
    and it works fine for short script but mine is way to big to do that
    As you can probably guess with the "Watermark" and "Security" in the filename, I cannot post the script file here, all I can say is that the line 1 is:
    var projectName = "D:\\Product\\WatermarkTemplate.aep";
    I've tried to replace the entire script with "alert('1');" and it cause the same error when running it from the command line
    Also, if anyone know where I can find the AfterFX.exe command line arguments description, I would be very happy.. everybody talks about aerender.exe but I need thoses options for AfterFX.exe
    Thanks for your help

    Have you tried to use "-r" instead of "-s"?
    (argument for "-s" is a script; and argument for "-r" is a path to script)

  • Cannot Execute Scripts from UNC Despite GPOs Allowing Me To Do So

    Hello! 
    I'm having an issue getting scripts to execute from a UNC share.
    I have followed in instructions in the below two blog postings:
    http://blogs.technet.com/b/heyscriptingguy/archive/2012/10/29/how-to-run-powershell-scripts-from-a-shared-directory.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2013/08/10/weekend-scripter-run-powershell-scripts-from-remote-file-share-part-2.aspx
    I have also used Group Policy to set the execution policy to Unrestricted for the MachinePolicy and UserPolicy scopes:
    PS C:\> Get-ExecutionPolicy -List | Ft -AutoSize
            Scope ExecutionPolicy
    MachinePolicy    Unrestricted
       UserPolicy    Unrestricted
          Process       Undefined
      CurrentUser       Undefined
     LocalMachine    RemoteSigned
    Unfortunately, I am still getting the following prompt when executing a script from a remote share:
    \\Server1\Share\Install-Something.ps1 -Parameter1 Value1 -Parameter2 Value2
    Security warning
    Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
    computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
    message. Do you want to run
    \\tlehmann.vcs.coaxis.net\Source\QA_Automation\QA_Repository\Scripts\Installation\AutoBuildv2\Install-AutoBuild.ps1?
    [D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): r
    I have executed GPRESULT and it states the GPOs are being applied successfully.
    Why am I still getting this prompt? Please help before I go crazy.

    AS IS ALWAYS THE CASE, ONCE I ASK FOR HELP I FIND AN ANSWER ON MY OWN.
    <FrustratedSquabbling>fhj19387ruasd;lkfj rlkghkushdvas907faihsc</FrustratedSquabbling>
    When I entered the UNC path, I was entering an FQDN and not a NETBios name (e.g. \\Server1.domain.com\Share\Script1.ps1 vs \\Server\Share\Script1.ps1)
    Can someone help me understand WHY the FQDN did this to me?
    PowerShell Extraordinaire - The Toddle

  • Agent showing error while executing script from OTM

    Hi Team,
    OTM is installed in a separate server(Windows 2008 R2).
    When I am executing scripts in my client machine from OTM in server , I got the following error in agent....
    17:22:17,192 INFO [Messenger] Try server=t3://10.50.48.29:8088 destination=oracle/oats/queue/AgentManagerStatusQueue
    17:23:04,083 ERROR [Messenger] JNDI Error:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://10.50.48.29:8088: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unknown Source)
         at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Source)
         at oracle.oats.empstart.Messenger.startConnection(Messenger.java:115)
         at oracle.oats.empstart.EmpStartMain.<init>(EmpStartMain.java:500)
         at oracle.oats.empstart.EmpStartMain.main(EmpStartMain.java:392)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:105)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: java.net.ConnectException: t3://10.50.48.29:8088: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
         ... 18 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection timed out: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:470)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:321)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
         at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:198)
         at oracle.oats.server.jndi.JndiLookup.createInitialContextInternal(Unknown Source)
         at oracle.oats.server.jndi.JndiLookup.createInitialContext(Unknown Source)
         at oracle.oats.empstart.Messenger.startConnection(Messenger.java:115)
         at oracle.oats.empstart.EmpStartMain.<init>(EmpStartMain.java:500)
         at oracle.oats.empstart.EmpStartMain.main(EmpStartMain.java:392)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:106)
         ... 1 more
    Actually my server IP is *10.50.6.38*, then why agent is trying to connect *10.50.48.29* with port 8088. If I restart my machine it works for 4 - 5 scripts again shows the same error in agentmanager.
    Please help me to resolve this issue........
    Regards,
    Deepu M

    anybody have comments on this????????????

  • Execute Script from URL

    I think there's probably a security implication, but is it possible to execute a script from a URL - ideally in Safari? I want to be able to store a local file reference ( file://... ) as a bookmark and have this call a script.

    Take a look at http://www.apple.com/applescript/linktrigger/index.html

  • URGENT- Need advice on executing scripts from Forms 6i

    Hi all,
    Quick background info:
    I'm working on a conversion project from Forms 4.5 client/server applications to a three tier, web based Forms 6i environment.
    We're running Oracle 8i DB on HP-UX machines, Oracle 9ias on HP-UX machines, and users access forms through Netscape
    on Win2000 platform.
    The problem:
    I have a SQL execution interface form from which users have been able to run dynamic SQL scripts w/o having direct access to
    a SQL Plus prompt (uses the 'HOST' command in 4.5). How can this functionality be implemented in the three tier environment?
    Unless other options are available, my plan is to use a Java servlet to access the 8i database on the UNIX box and display
    output on an html page. Is there a better/easier way?!
    Any advice is appreciated...
    FLM
    Paychex, Inc.

    Thanks for the response,
    I may be able to invoke the script from Forms using the HOST command, but how is the script output
    displayed back to the browser?
    FLM
    [email protected]
    You can probably still use the host to sqlplus, but this time it will run on the Forms Server.
    You just need to make sure that the dynamic SQL files are uniquly identified for each customer.

  • Adobe Configurator - how to invoke action or script from html widget?

    How to invoke action or script from html wiget in Adobe Configurator?
    Please help! I tried to make it about 5 hours!
    I need something like that:
    I click link or image
    ...and it runs action.
    Thanks!

    If you click on the question mark ( as shown below) on the right of Configurator  2 window
    the user guide installed on your computer within Configurator 2  will open
    Anyway once you have your action or script button  in your panel you must select it and configure it in the  inspector palette

  • Execute script from ODI

    Hi ODI Gurus,
    I need to execute unix scripts which will internally call java programs from ODI.
    I am trying using the packagae - OS Command option but it is saying "Wrong process return code"
    Appreciate your inputs ?
    Best Regards
    Arc

    Hi Arc,
    Like to contribute some points,
    Wrong Process Return Code will be returned due to,
    1. ODI cant able to access your script file ie, access permission issues, script reside in some machine where your ODI agent cant find it.
    2. Your script itself failed ie, there is some problem in your script and if its failed ODI will retrun the error. So its always a best practice to redirect the output of script to a log file.
    Hopes this helps you.
    Thanks,
    Guru

  • Execute script from an email

    I was wondering if anyone knew how to execute a script that originates from an email. For example, if I were to send an email to [email protected], then an script would get executed.
    I thought about trying to put the script in the aliases file, but I was not sure.
    Thanks.

    I have a text file that is dumped from a program on one server, and I want to get the file to another server, but I did not want to use host-based authentication to get it there. Also, I there is a web server running on the source server, but it is not apache, and I tried to use the webroot of that program and wget to move the file, but I was not able to do so.
    The script on the destination server just parses text and I don't see any security risk. Maybe I am just try to over complicate things. Any ideas?
    I really appreciate all of your responses.

  • How to execute sql script from linux command line

    Hello everyone !
    Just short question. On my server I must install script in crontab which will eexecute some sql statements.
    How can I write command which will execute script from file without asking about password ?
    sqlplus user/pass ... and then what ?
    thanks
    dlugasx

    user10064952 wrote:
    Just short question. On my server I must install script in crontab which will eexecute some sql statements.
    How can I write command which will execute script from file without asking about password ?Crontab does not run your local shell profile - which means no valid Oracle environment for SQL*Plus to execute in.
    On newer cron versions, you can add an environment to the crontab file itself that needs to be set before executing the scheduled command.
    Whatever method - make sure you have ORACLE_HOME set, that the path includes ORACLE_HOME/bin, that ORACLE_SID is set (if not using a TNS alias) and so on.
    But I agree with Sybrand... crontab is not the best place for running SQL or PL/SQL code. That should reside in the database as named code (e.g. stored procs) and be executed via DBMS_JOB or DBMS_SCHEDULE.
    Less moving parts that way. No external dependancies. And will work on any Oracle server, irrespective of the o/s used and whether or not the relevant o/s user has batch/cron/etc privs to do the deed.

  • Open an Applescript from Flash

    Hello,
    I woud like to know, how I can open an Applescript from
    Flash. I have an Applescript to open a external document (pdf,
    jpeg....) and it works when I open it. But I do a CDRom and I would
    like to execute this script from Flash. I have put this in flash :
    on (release) {
    fscommand("exec", "apfichier.app");
    but nothing happen. Thanks for your help, I'm
    desperate....

    You will have to use a third party tool. Flash cannot do this
    alone.
    Try FlashJester JStart which will allow you to open your
    PowerPoint file.
    Download a FREE evaluation copy and examples from
    http://jstart.flashjester.com
    Let us know if you have any questions.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • Command to Run Script from File

    Hi,
    I have 20 .sql Files, each one has CREATE script for stored peocedures. I want to run the script for each SP of the file in the database. Instead of copy and paste from each file, is there any command to execute script from each file.
    Thanks,
    Regards,
    Suman S
    Edited by: SSN on Jun 28, 2009 11:41 PM

    Hi,
    You can place that sql script either in drives.
    IF suppose you placed your scripts file in D:\,
    connect to database thru sqlplus and run like this
    SQL>@"D:\sqlstatement.sql"

  • Run PowerShell script from C# writing to input pipe

    Hello,
    I am trying to run a PowerShell script from C# (I have no control over what's in the script). The script may have a prompt like "Press enter to continue". So my goal is:
    1. Get text output from the script (easy, many examples available)
    3. If output contains "Press enter to continue", write a blank line to the running script's pipe to make it finish its job and quit
    4. If output does contain that prompt, just let it exit by itself without sending any input
    Note that commands in this PS script also try to get at script's file path, so I can't read script from file and pass it as text. It has to be executed as a script so it knows where it's located.
    I have done this with .exes and batch files before. All you do in that case is process.StandardInput.WriteLine() which "types" enter into the input stream of script you are trying to control. But this does not work with Power Shell. How do I do this?
    I have tried using PS object model like so:
    using (Pipeline pipeline = runspace.CreatePipeline())
    Command command = new Command(scriptPS, true, true);
       pipeline.Commands.Add(command);
       pipeline.Commands[0].MergeMyResults(PipelineResultTypes.Error, PipelineResultTypes.Output);
       pipeline.Input.Write("\n");
       Collection<PSObject> psresults = pipeline.Invoke();   //...
    But I get an error because the script prompts:
    "A command that prompts the user failed because the host program or the command type does not support user interaction. Try a host program that supports user interaction, such as the Windows PowerShell Console or Windows PowerShell ISE, and remove prompt-related
    commands from command types that do not support user interaction, such as Windows PowerShell workflows."
    I also tried using Process, and running PowerShell with -File switch to execute the script, then write to StandardInput with C#. I get no errors then, but the input is ignored and doesn't make it to PowerShell.
    Please help!

    No man, what kind of answer is that? You should have left it unanswered rather than waste people's time like this. I already seen those links before I posted my question. They address the issue of specifying script parameters, but not
    writing to the input pipe.
    Fortunately I did figure this out by writing a custom script host for PowerShell. Anyone interested can read about this in detail on MSDN (fortunately simple material with samples you can copy paste as I did, so this solution takes little time to implement).
    Implement PSHost interface. Nothing special here, just paste directly from MSDN sample and modify their SetShouldExit function definition to contain just a "return;". Here's the relevant link:
    http://msdn.microsoft.com/en-us/library/windows/desktop/ee706559(v=vs.85).aspx
    Implement PSHostUserInterface interface. This is the ticket to solving this problem
    (see below). Here's the MSDN link:
    http://msdn.microsoft.com/en-us/library/windows/desktop/ee706584(v=vs.85).aspx
    Implement PSHostRawUserInterface. This may not be required (not sure) but I did anyway. Nearly a direct paste from MSDN:
    http://msdn.microsoft.com/en-us/library/windows/desktop/ee706601(v=vs.85).aspx
    So, there are two PSHostUserInterface function implementations that are of particular interest. First is Prompt (read header comment to see why):
    /// <summary>
    /// When script attempts to get user input, we override it and give it input programmatically,
    /// by looking up within promptInput's dictionary<string,string> or lineInput array.
    /// PromptInput dictionary is mapped by input prompt (for example, return "" in response to "Press ENTER to continue")
    /// LineInput is a regular array, and each time the script wants to prompt for input we return the next line in that array;
    /// this works much like piping inputs from a regular text file in DOS command line.
    /// </summary>
    /// <param name="caption">The caption or title of the prompt.</param>
    /// <param name="message">The text of the prompt.</param>
    /// <param name="descriptions">A collection of FieldDescription objects that
    /// describe each field of the prompt.</param>
    /// <returns>Throws a NotImplementedException exception.</returns>
    public override Dictionary<string, PSObject> Prompt(string caption, string message, System.Collections.ObjectModel.Collection<FieldDescription> descriptions)
    Dictionary<string, PSObject> ret = new Dictionary<string, PSObject>();
    foreach (FieldDescription desc in descriptions)
    if (this.promptInput.Count != 0)
    ret[desc.Name] = new PSObject(this.promptInput[desc.Name] + "\r\n");
    else if (this.lineInput != null && this.currentLineInput >= 0 && this.currentLineInput < this.lineInput.Length)
    ret[desc.Name] = new PSObject(this.lineInput[this.currentLineInput++] + "\r\n");
    else
    if (desc.DefaultValue == null)
    ret[desc.Name] = new PSObject("\r\n");
    else
    ret[desc.Name] = new PSObject(desc.DefaultValue);
    return ret;
    Next is PromptForChoice. Here I opted to always return the default choice, but you could rewrite it to read from somewhere to "simulate" reading from input pipe just like the function above:
    public override int PromptForChoice(string caption, string message, System.Collections.ObjectModel.Collection<ChoiceDescription> choices, int defaultChoice)
            return defaultChoice;
    Last but not least, here's a ReadLine implementation (again read header comment):
    /// <summary>
    /// If the LineInput is set, "read" the next line from line input string array, incrementing line pointer/// </summary>
    /// <returns>The characters that are entered by the user.</returns>
    public override string ReadLine()
    if (this.lineInput != null && this.currentLineInput >= 0 && this.currentLineInput < this.lineInput.Length)
    return this.lineInput[this.currentLineInput++];
    else
    return Console.ReadLine();
    Both are exposed as properties:
    /// <summary>
    /// Gets or sets the input pipe override
    /// </summary>
    public string Input
    get
    return string.Join("\n", this.lineInput);
    set
    if (value != null)
    this.lineInput = value.Split('\n');
    this.currentLineInput = 0;
    else
    this.lineInput = null;
    /// <summary>
    /// Gets or sets input pipe override for named prompts
    /// </summary>
    public Dictionary<string, string> PromptInput
    get
    return this.promptInput;
    set
    this.promptInput = value;
    And finally, here's how the whole shebang is used:
    /// <summary>
    /// Runs a powershell script, with input pipe arguments
    /// </summary>
    /// <param name="script">Path of the script to execute, or script text</param>
    /// <param name="inline">Whether or not to execute script text directly, or execute script from path</param>
    /// <param name="unrestricted">Whether or not to set unrestricted execution policy</param>
    /// <param name="parameters">Parameters to pass to the script command line</param>
    /// <param name="inputOverride">Input to pass into the script's input pipe</param>
    /// <param name="inputOverrideName">Input to pass into the script's input pipe, to each prompt by label</param>
    /// <returns>Output lines</returns>
    public static string PowerShell(string script, bool inline, bool unrestricted = false, Dictionary<string, string> parameters = null, string inputOverride = null, Dictionary<string, string> inputOverrideByName = null)
    string output = null;
    ScriptHost host = new ScriptHost();
    (host.UI as ScriptHostUserInterface).Input = inputOverride;
    (host.UI as ScriptHostUserInterface).PromptInput = inputOverrideByName;
    using (Runspace runspace = RunspaceFactory.CreateRunspace(host))
    runspace.Open();
    if (unrestricted)
    RunspaceInvoke runSpaceInvoker = new RunspaceInvoke(runspace);
    runSpaceInvoker.Invoke("Set-ExecutionPolicy Unrestricted");
    using (Pipeline pipeline = runspace.CreatePipeline())
    if (inline)
    pipeline.Commands.AddScript(script);
    else
    Command command = new Command(script, true, true);
    foreach (KeyValuePair<string, string> param in parameters)
    command.Parameters.Add(param.Key, param.Value);
    pipeline.Commands.Add(command);
    pipeline.Commands.Add("Out-String");
    pipeline.Commands[0].MergeMyResults(PipelineResultTypes.Error, PipelineResultTypes.Output);
    Collection<PSObject> psresults = pipeline.Invoke();
    var sb = new StringBuilder();
    foreach (PSObject obj in psresults)
    sb.AppendLine(obj.ToString());
    output = sb.ToString();
    pipeline.Dispose();
    runspace.Close();
    return (host.UI as ScriptHostUserInterface).Output + "\r\n" + output;
    As you can see, I also did some magic with the .Output property. That just accumulates lines of text output by the script in every WriteXXX function implemented in your custom PSHostUserInterface. The end result of all this, is that if you have a script
    that has prompts, choices or reads from standard input, you can execute the script within the context of your custom script host written as above, to control precisely what strings are passed to it in response to prompts.
     

  • Executing Unix scripts from a stored procedure

    From the sql*plus windows, I am able to execute the host command and '!sh' commands; but I need to ececute Unix scripts from a stored procedure. Hoe can I do this? Where can I get good documentation on this? Any help would be greatly appreciated!
    Thanks..

    Hi,
    U can use external procedure ( newly added feature in 8.0.3 onwards) and call any shared library. From shared library u can execute it.
    One sql command is there HOST(' '). U can run a OS command. But u can not use it in PL/SQL.
    U can call pls sql from shell !!!!!..
    Thanks...
    Boby Jose

Maybe you are looking for

  • Random music disappears when ipod is unmounted. help.

    i have music on my ipod that is only accesable when it is attached to my computer. when i unmount the ipod the music doesn't appear in any of the menus. plug it back in to the computer and its there and can be played through i-tunes. i've installed t

  • How To Add Folders and Sub Folders

    I am brand new (1 week) to my new Mac (iMac). In my Windows-based PC I used to have, for example, a folder named PHOTOS followed by sub folders designating certain categories that work for me, such as, "Family", "Vacations" etc, and I would make sure

  • Safari 5.1.7 Won't Save My Homepage OR Bookmarks

    I've read the other discussion threads on this topic....they don't help me. I just purchased an iMac with OS X v10.7.4 and Safari 5.1.7   It let me change the homepage just once....now it won't retain any changes once I quit Safari.  My bookmarks are

  • New Nikon RAW Codec For Vista Posted

    According to the Microsoft Photo Blog Nikon has posted an updated RAW codec that fixes its Vista compatibility issues. Details are http://blogs.msdn.com/pix/default.aspx

  • Change back to english interface

    hi i not sure why my dreamweaver interface become other language i cant read it at all. may i know how to change it back to english version ?