Adding scripts to an EM plugin

Hi,
We're attempting to create an EM plugin for our application.
We've defined metrics for our plugin and we're using an OSLineToken fetchlet (http://docs.oracle.com/cd/E24628_01/doc.121/e25161/fetchlets.htm#i1005577) in order to call a shell script that we wrote.
The called script is packaged with the rest of the files in the EM plugin however for some reason the execution permission of the script is revoked once the script is packaged (with empdk).
So whenever we try to monitor our metric with the EM GUI we receive a message from the EM that the script has no execution permission. We can chmod +x the script manually in the OS and then it works fine.
The original script in our code base does have execution permission. How can we have the empdk retain the original permissions of the script?
thanks,
Michael

In a nutshell, your plug-in code should be as generic as possible. It should not assume any platform specific dependencies.

Similar Messages

  • [svn:osmf:] 10587: Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic

    Revision: 10587
    Author:   [email protected]
    Date:     2009-09-24 18:42:35 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.css
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml

    Revision: 10587
    Author:   [email protected]
    Date:     2009-09-24 18:42:35 -0700 (Thu, 24 Sep 2009)
    Log Message:
    Modified the Akamai Plugin Sample app: 1) Added the new MAST plugin; 2) Added support to load the plugins as static or dynamic
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.actionScriptProperties
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/.project
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.css
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/src/AkamaiPluginSample.mxml

  • Error when trying to run script using SDK at plugin startup

    Hi
    I am trying to run a script when my InDesign plugin is loaded. I referred to the PanelTreeView sdk sample as an example and implemented a StartupShutdown Boss
    In my implementation, in the startup() method I have the code to get the scriptManager and the scriptRunner for my javascript that I want to run. However, when my code hits the following line :
              InterfacePtr<IScriptRunner>theRunner(Utils<IScriptUtils>()->QueryScriptRunner(scriptFile) ); //scriptfile is ID script file that I want to run
              I get the error saying "Calling ScriptInfoDatabase::InitScriptInfoManager before resources have been registered".
    I am wondering how I can fix this error. or if this is too early to invoke scriptrunner, then is there some other place where I can invoke the scriptrunner to run my script
    this is how I have defined my StartupShutdown Boss class in  the .fr file
        Class
             kmyStartupShutdownBoss,
             kInvalidClass,
                 /** Implementation of IStartupShutdownService that runs a  scripts on startup */
                 IID_IAPPSTARTUPSHUTDOWN, kmyStartupShutdownImpl,
                 /** identify the service type */
                 IID_IK2SERVICEPROVIDER, kCStartupShutdownProviderImpl,
    Appreciate any help on this one .. thanks!
    Sameer

    Dependent on your InDesign version, you can schedule an IdleTask and do it from there, or just use a lazy startup.
    IID_IK2SERVICEPROVIDER,kLazyStartupShutdownProviderImpl,
    Again dependent on your InDesign version you should first check whether a script can run at all - some nasty other plugins may prevent that with modal dialogs.
    Finally there is the possibility to run startup scripts even without plugin ...
    Dirk

  • [svn] 638: opensource: added scripts to setup per-branch build environments : setup.sh; renamed setup.txt to README.txt.

    Revision: 638
    Author: [email protected]
    Date: 2008-02-23 14:46:04 -0800 (Sat, 23 Feb 2008)
    Log Message:
    opensource: added scripts to setup per-branch build environments: setup.sh; renamed setup.txt to README.txt.
    Added Paths:
    flex/sdk/branches/3.0.x/README.txt
    flex/sdk/branches/3.0.x/setup.sh
    flex/sdk/trunk/README.txt
    flex/sdk/trunk/setup.sh
    Removed Paths:
    flex/sdk/branches/3.0.x/setup.txt
    flex/sdk/trunk/setup.txt

    Revision: 638
    Author: [email protected]
    Date: 2008-02-23 14:46:04 -0800 (Sat, 23 Feb 2008)
    Log Message:
    opensource: added scripts to setup per-branch build environments: setup.sh; renamed setup.txt to README.txt.
    Added Paths:
    flex/sdk/branches/3.0.x/README.txt
    flex/sdk/branches/3.0.x/setup.sh
    flex/sdk/trunk/README.txt
    flex/sdk/trunk/setup.sh
    Removed Paths:
    flex/sdk/branches/3.0.x/setup.txt
    flex/sdk/trunk/setup.txt

  • Links not working after adding script

    I added a drop down menu to my website and now none of my hyper links work.  Not external or even links to the other pages.  Here is the script.
      <script type="text/javascript">
        $(document).ready(function(){
          $('a').on('click', function(e){
           e.preventDefault();
           $('#ddmenu li').hover(function () {
            clearTimeout($.data(this,'timer'));
            $('ul',this).stop(true,true).slideDown(200);
          }, function () {
           $.data(this,'timer', setTimeout($.proxy(function() {
             $('ul',this).stop(true,true).slideUp(200);
           }, this), 100));
      </script> 
    I found that if I change the ('a') to ('b') all the links work except when I try to get back to the home page.

    Ken that is exactly what I am looking for.  I have the Script type code exactly like you posted it in the head plus the portion that I posted above is in the head.  Here is the whole code I will try to upload it this morning.
    <!doctype hyml>
    <html><head>
         <script src="Java Script/JQuery.js" type="text/javascript"></script>
         <title>BADKRacing</title>
           <link href="CSS/styles.css" rel="stylesheet" type="text/css" media="screen">
        <link rel="stylesheet" type="text/css" media="all" href="CSS/dropdown.css">
       <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
              <script type="text/javascript">
        $(document).ready(function(){
          $('a').on('click', function(e){
           e.preventDefault();
           $('#ddmenu li').hover(function () {
            clearTimeout($.data(this,'timer'));
            $('ul',this).stop(true,true).slideDown(200);
          }, function () {
           $.data(this,'timer', setTimeout($.proxy(function() {
             $('ul',this).stop(true,true).slideUp(200);
           }, this), 100));
      </script>  
            <link rel="stylesheet" href="CSS/nivo-slider.css" type="text/css" />
                <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>
                <script src="Java Script/jquery.nivo.slider.pack.js" type="text/javascript"></script>
            <link rel="stylesheet" href="CSS/default/default.css" type="text/css" />
                <script type="text/javascript">
        $(window).load(function() {
           $('#slider').nivoSlider({effect:"fade"});
       </script>            
        </head>
    <body>
    <div id="wrapper">
            <div id="top">
                <div id="logo">
                 <img src="Images/BAD K Logo.JPG">
                </div>
                <div id="social-media">
                 <ul>
                     <li><a target="_blank" href="https://www.facebook.com/pages/BAD-K-Racing/115436301814031?v=wall"><img src="Images/Social Media Icon/facebook.png"></a></li>
                     <li><a target="_blank" href="http://www.youtube.com/profile?user=BADKRacing&view=videos"><img src="Images/Social Media Icon/youtube.png"></a></li>
                    </ul>
                </div>
            </div>
            <div id="content-wraper">
             <div id="content">
              <h1>Welcome to BAD K Racing</h1>
             </div>
            </div>  
    <nav>
         <div id="menu">
        <ul id="ddmenu">
                 <li><a href="#">Home</a></li>
                    <li><a href="#">Race Day Info</a>
                     <ul>
                         <li><a href="schedule.html">Schedule</a></li>
                            <li><a target="_blank" href="Updateshttps://www.facebook.com/pages/BAD-K-Racing/115436301814031?ref=hl">Updates</a></li>
                     </ul>
                    </li>
                 <li><a href="#">Drivers</a>
                       <ul>
                         <li><a href="Andrue.html">Andrue</a></li>
                            <li><a href="Dave.html">Dave</a></li>
                     </ul>
                    </li>
                 <li><a href="#">Racecars</a>
                        <ul>
                         <li><a href="prochallenge.html">Pro Challenge</a></li>
                            <li><a href="Superstock.html">Super Stock</a></li>
                     </ul>
                    </li>
                 <li><a href="#">Gallery</a>
                        <ul>
                         <li><a href="photo.html">Photos</a></li>
                            <li><a target="_blank" href="Videoshttp://www.youtube.com/user/BADKRacing/videos">Videos</a></li>
                     </ul>
                    </li>
                    <li><a href="contact.html">Contact</a></li>           
                </ul>
           </ul>
    </div>
    </nav>
            <div id="banner">
             <div class="ribbon"></div>
             <div class="slider-wrapper theme-default">
              <div id="slider" class="nivoSlider">
         <img src="Images/Karting 07 (184).jpg" alt="" />
         <img src="Images/4-20-13 (3).JPG" alt="" />
           <img src="Images/Karting 07 (185).jpg" alt=""/>
           <img src="Images/4-20-13 (1).JPG" alt="" />
        </div>
                </div>
      </div>
            <div id="footer">
            </div>
        </div>   
    </body>
    </html>

  • EventOpen action play results in error when adding scripting parameters

    Hi all,
    I have a setup that involves two plugins:
    A file format plugin which I've made scripting-aware and takes one parameter and,
    An automation plugin that opens a number of files of this format and which passes the parameter to the first plugin.
    For achieving this, I am playing eventOpen via the Action Control Suite, and using the code the Listener plugin from the SDK generates:
    SPErr PlayeventOpen(/*your parameters go here*/void)
         PIActionDescriptor result = NULL;
         DescriptorTypeID runtimeKeyID;
         DescriptorTypeID runtimeTypeID;
         DescriptorTypeID runtimeObjID;
         DescriptorTypeID runtimeEnumID;
         DescriptorTypeID runtimeClassID;
         DescriptorTypeID runtimePropID;
         DescriptorTypeID runtimeUnitID;
         SPErr error = kSPNoError;
         // Move this to the top of the routine!
         PIActionDescriptor desc0000000000000570 = NULL;
         error = sPSActionDescriptor->Make(&desc0000000000000570);
         if (error) goto returnError;
         // Move this to the top of the routine!
         Handle aliasValue = NULL;
         FullPathToAlias("C:\dev\data\test.dat", aliasValue);
         error = sPSActionDescriptor->PutAlias(desc0000000000000570, keyNull, aliasValue);
         if (error) goto returnError;
              // Move this to the top of the routine!
              PIActionDescriptor desc0000000000000578 = NULL;
              error = sPSActionDescriptor->Make(&desc0000000000000578);
              if (error) goto returnError;
              error = sPSActionDescriptor->PutFloat(desc0000000000000578, keyGamma, 2.2);
              if (error) goto returnError;
         error = sPSActionDescriptor->PutObject(desc0000000000000570, keyAs, 'tdfP', desc0000000000000578);
         if (error) goto returnError;
         error = sPSActionControl->Play(&result, eventOpen, desc0000000000000570, plugInDialogSilent);
         if (error) goto returnError;
    returnError:
         if (result != NULL) sPSActionDescriptor->Free(result);
         if (desc0000000000000570 != NULL) sPSActionDescriptor->Free(desc0000000000000570);
         if (aliasValue != NULL) sPSHandle->Dispose(aliasValue);
         if (desc0000000000000578 != NULL) sPSActionDescriptor->Free(desc0000000000000578);
         return error;
    By using this code, the call in line 47 returns an error code -25923 and the error string contains "The parameters for command “Open” are not currently valid.".
    These are some of the things I've tried already:
    Escaping the file path backslashes does not seem to help although it seems necessary.
    Playing the event with no parameter (remove lines 27:36) does work.
    Playing the event thought the Actions tab results in a dialog for browsing a file being open and no parameters are passed to my plugin.
    Changing plugInDialogSilent to plugInDialogDontDisplay in line 43 causes the same effect as the previous point.
    The plugin writes correctly the parameter into the scripting plugin (when provided via its UI) but it seems that somehow it is not able to retrieve it correctly when passed via the host application.
    In case it helps, this is the relevant part of my PiPL resources file:
    resource 'aete' (ResourceID, plugInName " dictionary", purgeable)
      1, 0, english, roman, /* aete version and language specifiers */
           vendorName, /* vendor suite name */
           "", /* optional description */
           plugInSuiteID, /* suite ID */
           1, /* suite code, must be 1 */
           1, /* suite level, must be 1 */
           {}, /* structure for filters */
           {      /* non-filter plug-in class here */
                plugInName,     /* unique class name */
                plugInClassID, /* class ID, must be unique or Suite ID */
                plugInAETEComment, /* optional description */
                {      /* define inheritance */
                     "<Inheritance>", /* must be exactly this */
                     keyInherits, /* must be keyInherits */
                     classFormat, /* parent: Format, Import, Export */
                     "parent class format", /* optional description */
                     flagsSingleProperty, /* if properties, list below */
                    "gamma",
                     keyGamma,
                     typeFloat,
                     "Source data gamma",
                     flagsSingleProperty
                     /* no properties */
                {}, /* elements (not supported) */
                /* class descriptions */
           {}, /* comparison ops (not supported) */
           {} /* any enumerations */
    I'll appreciate any help
    Thanks.

    Hi,
    If anyone come across this issue in the future, I've manged to get it working with what it seems to be a workaround by using the plugin runtime descriptor, replacing line 39 with the following code:
    error = sPSActionDescriptor->StringIDToTypeID("Test Data Plug-In", &runtimeObjOD));
    if (error) goto returnError;
    error = sPSActionDescriptor->PutObject(desc0000000000000570, keyAs, runtimeObjID, desc0000000000000578); 
    I'm not sure if anyone from the dev team can help clarify what's going on here, but seems to be either a bug in the Action Control Suite or the Listener plugin from the SDK not generating the correct output.
    Thanks.

  • Adding script to Available Scripts in Configuration Task

    I'm following the instructions for creating a Configuration Task here:
    http://docs.sun.com/app/docs/doc/817-7961/6mn8bt797?a=view
    My question: How do I get a new script added into the Available Scripts in the Edit File Set window? All that shows up there is email.sh, and I would like to add a script that we want to deploy to all of our SunMC clients, but can't find info anywhere on how to get it added into SunMC so that it can be selected.

    Hi SquibbyDog,
    My question: How do I get a new script added into the
    Available Scripts in the Edit File Set window? All
    that shows up there is email.sh, and I would like to
    add a script that we want to deploy to all of our
    SunMC clients, but can't find info anywhere on how to
    get it added into SunMC so that it can be selected.The scripts that are available are the same scripts that can be run as "actions" on that particular system. i.e. owned and executable as root, and in /var/opt/SUNWsymon/bin
    http://docs.sun.com/app/docs/doc/819-5417/6n7gj8272?l=en&a=view#actions-tab
    Remember also that you need special permissions to be able to pick up and move those scripts (regular SunMC admin priviledges are enough to move just the modules and thresholds). Use the "es-config -m" command to augment your SunMC account:
    http://docs.sun.com/app/docs/doc/819-5417/6n7gj8298?l=en&a=view
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • Adding Script to a Button?

    Is there a way to add JavaScript to a button when creating an Interactive PDF in InDesign (CS6)? This Interactive PDF is being turned over to other developers, who need to tack on a Certificate/Completion process, which is called to from a script that I need to place in the document somewhere.
    Other issues: I know this is probably doable by opening the interactive PDF in Acrobat and adding the script from there - but I have to save the Interactive PDF as a SWF (the developers' process eliminates interactivity from a PDF.)
    Any ideas? Help?

    Perhaps the definition of windows is the issue. Flash swf
    movies are self
    contained in a web browser window web page. So opening an
    external image in
    a MovieClip is simply redrawing the Flash swf.
    If you are thinking of windows within the Flash movie, they
    will have to be
    within the confines of the Flash movie that is first
    launched. You can have
    MovieClips with externally loaded content appear as windows
    and even be
    draggable, but they will not be a separate web browser
    window.
    If you need the web browser to open another window and then
    load another
    Flash movie in it that does the loading, then you need to use
    getURL("
    http://www.domain.com/pagewithotherflashmoviecontainingloadjpg.html/",
    "_blank");
    However it seems it would be less files to simply use html in
    the other
    window page to show the jpg without the Flash movie doing the
    loading unless
    you are using Flash to animate the jpg in some fashion like a
    fade in or
    out.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "Chicca81" <[email protected]> wrote in
    message
    news:e92am7$58n$[email protected]..
    >I need some help to understand and find a way to script
    the loading of
    >pictures
    > on different window. I already tryed to use behaviours:
    adding the
    > following
    > script to a button:
    >
    > on (release) {
    >
    > //load Graphic Behavior
    > _root.Contenitore.loadMovie("Cornice 10.jpg");
    > //End Behavior
    >
    > }
    >
    > When I do test the movie though I realised that it
    doesn't work as I
    > expected.
    > The picture "Cornice 10" loads on a what I think to be a
    new window: the
    > Movie
    > Clip "Contenitore" but it doesn't appear to a different
    window. How should
    > I
    > procede then?
    >

  • Help with adding job type to Management plugin

    I'm trying to play with this. When I attempt to add my job definition to the plugin creation via emcli add_mp_to_mpa I get the following error
    Error: JOB_DEFINITION is not a supported file type
    Here is my full command
    emcli add_mp_to_mpa -mpa="netapp_smo_database.jar" -mp_version="1.0" -ttd="Z:\MyDocuments\OEM-playing\metadata\my_database.xml" -dc="Z:\MyDocuments\OEM-playing\default_collection\my_database.xml" -file="MONITORING_SCRIPT:Z:\MyDocuments\OEM-playing\scripts\my_database_backups.pl" -file="JOB_DEFINITION:Z:\MyDocuments\OEM-playing\jobs\my_database_backup.xml" -func_desc="Prototype plugin to demonstrate the integration of my special backup scripting system for a database"
    I did look at some of the existing plugins and see for example in the VMware ESX plugin that there are JOB_DEFINITION file types in that Management Plugin.
    What am I missing?

    It looks like you have an old version of the emcli client/verb definitions. You can try running "emcli sync" and that will update your verb definitions from the OMS. You'll need either an OMS which is version 10.2.0.3 or later or an emcli client downloaded from an OMS 10.2.0.3 or later.

  • 'date added' script?

    Is there a script, 3rd party app, or any quickfast way to add the 'date added' info into the 'comment' text?
    I keep my library sorted by date added, and id like to be able to be able to hold on to that if/when i end up having to re-import or add.
    I know nothing about scripting, so i apologize if this is really elementary.
    thanks all,
    -af-
    TiBook G4 [DVI]   Mac OS X (10.4.9)  

    thanks Mort. That would do the second half of the job - adding the date to the comment field. Ideally the script wouldnt need me to add the date, it would read it from the ID3 tag.
    But I would think that could be done with minor modification. Ill look into it.
    TiBook G4 [DVI] Mac OS X (10.4.9)

  • Browser Extensions are adding scripts my WYSIWIG content.

    I've recently found that browser extensions/plugins manage to manipulate the content within the WYSIWYG editor upon saving.
    My client has a skype extension installed in Firefox and the following is added to the page:
                                                                                                                                           Heating is part of the.... Group which was founded in 1973 and holds significant market positions in the domestic appliance industry worldwide. With an annual turnover of AU$2.8 Billion worldwide, the Group employs 8,500 people.        Glen Dimplex remains privately owned and finances its ongoing expansion from its own resources. Fundamental to its success, is a policy of continuous investment in building brands, constant product innovation and providing its customers with the products which they aspire to. Masport Heating as one of these brands take pride in the quality and integrity of its products. We are committed to providing high quality products with fresh and inspirational design and revolutionary technology.                                Our Commitment
            Our commitment to you however, goes way beyond a great range of products. We're with you every step of the way while making your purchase and beyond. If you have any questions about Masport Heating, our products and stockists, or if you would like assistance in choosing the Masport heater that's right for you, we're always here to help.                               Our Service        Just call 1300 554 155 and you'll get straight through to one of our friendly customer care assistants. For more Glen Dimplex products check out www.glendimplex.com.au.                              Call        Send SMS        Add to Skype       
    You'll need Skype CreditFree via Skype
    I've also noticed chome does the same thing with the Hola extension ands the following to the <html>
    Obviously I can deactivate my plugins and extensions but this was never an issue before recent BC changes and I can't control what plugins my clients have active.
    Is this normal behaviour? Or a BC bug?

    It will do it everywhere you post, even happen on these  forums. Do not use the plugins that do this, simple as that. It is not a BC bug and its not much BC, wordpress etc can do about as its a browser plugiin.

  • Adding script in page

    Hi,
    Is there any way to add script in specific page without using setPageAction  because it do not work with Reader. I am posting question in Acrobat Scripting thats why I will appriciate scripting solution instead of manually adding.
    Thanks 

    Is there any way to add script in specific page without using setPageAction  because it do not work with Reader.
    Not with Acrobat JavaScript. You can write a plug-in using C/C++.

  • Adding scripts to Actions

    I am involved in a lot of works of handling thousands of photos (digital/scanned, B/W as well as color, of different ages: I have to treat images from '30s) and in my workflow (Bridge-Camera Raw-PSHP) I have a lot of repetitive actions to take.
    One very delicate action is saving, in different moments of the workflow, images with different filenames extensions (having the same root of the initial image filename) in different directories; most of the times, this occurs at the end of an Action that I have recorded for specific job.
    I would like to have a "script" that automates the renaming of the image file and writes it in the right directory, instead of typing the right extension and selecting the right directory by hand: beyond the waste of time, the real problem is that an error will have devastating effects.
    I have tried to accomplish this with the standard PSHP Action facilities, but I haven't been able to.
    I have an acceptable knowledge of Visual Basic, while I don't know anything about Scripting, and therefore the best thing would be writing imyself in VBA a function that handles the different situations for saving images with the right filename extensions in the right directory, producing a .exe that I would activate (it should be possible, but how ?) at the end of diffrent Actions: where do I get the filename of the image and the directory where it comes from ?
    BTW, I have the Design Premium Creative Suite 3 in an XP SP3 always updated.
    Great thanks to the ones that can help me: I need it.
    Mauro (Italy)

    As a start could you please try this script.
    Open  "Adobe ExtendScript Toolkit 2" (This is installed with Photoshop) and should be available in Start Programs.
    Copy and paste this code into an ExtendScript window.
    Then File- Save to C:/Program Files/Adobe/Adobe Photoshop CS3/Presets/Scripts folder
    Close Photoshop if open then re-open Photoshop
    Load a test picture for Definitive then run the script and see if it does what you require.
    To run the script File - Scripts and select the script.
    If it does you can add the script to the end of your action by selecting  "Inset Ment Item" in the action palette and File - Scripts and select the script.
    #target photoshop
    function main(){
    if(!documents.length){
    alert("You do not have a document open!");
    return;
    var newPath = Folder(decodeURI(activeDocument.path) +"/" +"Definitive"); //This is the target folder
    if(!newPath.exists){
    var result = Window.confirm (decodeURI(newPath) +"\nDoes Not Exist\nWould you like me to create it?", true, "Folder does Not Exist");
    if(!result) return;
    newPath.create();
    var newName = decodeURI(activeDocument.name).match(/(.*)\.[^\.]+$/)[1];
    newName = newName +"-DEF.tif"; //The suffix with tiff format
    var saveFile = File(decodeURI(newPath)+"/"+newName);
    if(saveFile.exists){
    var result = Window.confirm("This File Exits!\nWould You Like It Overwritten?", true, "File Exists");
    if(!result) return;
    saveFile.remove();
    SaveTIFF(saveFile);
    main();
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);

  • Adding script into DynamicConfig.xml in App-V 5.0

    Hi,
    In App-V 4.6, to add a script, we’d open the relevant .osd file & add it under the dependency tags.
    In case of App-V 5.0, this is an example of CS6-Flash_DeploymentConfig.xml
    Where would I insert this script & how?
    <SCRIPT TIMING=”PRE” EVENT=”LAUNCH” WAIT=”TRUE” PROTECT=”TRUE”>
    <SCRIPTBODY>
    C:\CS6-Flash\CS6-Flash-Serial\AdobeSerialization.exe adobe_prtk ––tool=VolumeSerialize ––provfile=C:\CS6-Flash\CS6-Flash-Serial\prov.xml
    < /SCRIPTBODY>
    < /SCRIPT>

    http://www.tmurgent.com/TmBlog/?p=1154 and
    http://blogs.technet.com/b/appv/archive/2012/12/10/scripting-and-embedded-scripting-for-appv-5-0-dynamic-deployment-and-user-configuration-scripting.aspx 
    cover this quite good
    Falko
    Twitter
    @kirk_tn   |  Blog
    kirxblog   |  Web
    kirx.org

  • QT crashing when adding script

    Hi
    I created a simple script for a QT movie but when I Edit>Add to Selection & Scale, QT crashes.
    This is consistent with doing exactly the same thing on a different Mac - I'm using version 7.1.1 of Quicktime.
    However a colleague can do this just fine a PC.
    So what's the diff? Why can't I paste a text-based script into Quicktime? Why does QT crash? Why doesn't this work on Mac, the home of quicktime, but does on a Windows machine.
    Thanks
    Neil

    I want to explore the technical aspects of QT - I didn't realise until 2 days ago that it was anything more than a player - OK so call me slow on the uptake but hey, at least I'm here now!
    I want to explore incorporating Flash elements into some movies, but right now simple text file will be OK.
    I don't understand why QT crashes - do you have this problem too?
    I bought Pro for my POwerbook and tried it on there too and had the same result - so is it the text file or is it a common problem with QT?
    It's frustrating that the Windows version seems more stable than the Mac version though.
    I'm running the latest version of everything, a quad core G5 etc etc.
    Very disappointing.
    Any help advice assistance would be most gratefully received and restore my faith in Apple.
    Cheers
    Neil

Maybe you are looking for

  • Save As .doc in Pages?

    I started to use Pages (comming from Word for Mac) but am annoyed with this "Export for Word" issue. I understood that everytime I need to send a document to a Windows user, I have to export it to Word. That's ok. But my files are stored in a network

  • Photos App - Unresponsive

    The Photos app on my IP4 has stopped responding to touch. I can launch the app, and see 4 Albums (Camera Roll, Photo Library, Last 12 Months, & Last Import iPhoto) but when i tap on any of the albums nothing happens. Also the icons on the bottom of t

  • Socket freezes based on client connectivity...

    Hello, We've been suffering through a problem in our game for several months, and I have yet to identify why the problem occurs. I've written a small program that duplicates the problem, perhaps someone here will be familiar with what's causing it, a

  • Genric extracor -data source

    Hi friends,    when the data source does nt support delta upload then we go for generic extractor.am i right?   can u pls tell me few data sources ,which does nt support delta update thanks in advance. regards mano

  • The Creative clouds says I have Photoshop downloaded but I cannot find it help.

    I downloaded Photoshop but then I had I dumped it in the trash, but now I'm trying to get it again and the creative cloud says I have it installed but I cannot find it anywhere. So please help.