locked
App-V running multiple scripts RRS feed

  • Question

  • Hi

    I have the need to start two scripts at different times of the application.
    I found this Technet Blog:
    http://blogs.technet.com/b/appv/archive/2007/04/18/using-scripts-with-softgrid.aspx

    One script works well.

    But in my case one script must run before the application starts and one script after the application has started.



    I tried to add two different tags like this <"SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">

    But this didn't worked.

     

    How can I do that?

    Thanks for your help

    Wednesday, July 7, 2010 6:08 AM

Answers

  • Have you attempted using PRE and POST for the timing?

     

    <"SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">

    <"SCRIPT TIMING="POST" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">

     

    When using POST LAUNCH to execute a script, there's no guarantee that the application UI will be ready when the script runs, so you'll need to check for that yourself in the script.

    Wednesday, July 7, 2010 8:28 AM
    Moderator

All replies

  • Hello,

    See this site for assistance with OSD syntax;

    http://www.tmurgent.com/OSD_Illustrated.aspx

    /Znack

    Wednesday, July 7, 2010 7:47 AM
  • Have you attempted using PRE and POST for the timing?

     

    <"SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">

    <"SCRIPT TIMING="POST" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">

     

    When using POST LAUNCH to execute a script, there's no guarantee that the application UI will be ready when the script runs, so you'll need to check for that yourself in the script.

    Wednesday, July 7, 2010 8:28 AM
    Moderator