Migration of application to another workspace via the script

Hello

I want to install an APEX application in a new (empty) workspace with a fix application_id.
I use the following script

Select workspace_id
in l_ws_id
of apex_workspaces
where workspace = "TEST_WORKSPACE";

apex_application_install.set_workspace_id (l_ws_id);
apex_application_install.set_application_id (l_ap_id_fix);
apex_application_install.generate_offset;
apex_application_install.set_schema (Root_User);
apex_application_install.set_application_alias ('SP_APEX');
apex_application_install.set_application_name ('SP_APEX');

Hi Kirsten,

I'm happy that I could help you.
you would be so kind to mark the correct anwser, as shown in the [url https://forums.oracle.com/forums/ann.jspa?annID=1324] announce: Oracle Application Express welcome to the Discussion Forum!

* It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts).

Thank you
Erik-jan

Tags: Database

Similar Questions

  • load via the script use

    Hello

    How can I charge a use (*.uri) via the script? Check the plug current if the plug-in is already loaded?

    Greetings,

    Martin

    Hi Martin

    The following will let you know what is the revision of a pluggin of data.

    The second function updates the plugin data upon request.

    Enjoy!

    Paul

    ' Gets the version of a use

    function GetDatapluginVersion (strDatapluginName)

    Dim oMyDataPlugin

    Set oMyDataPlugin = Navigator.Settings.RegisteredDataPlugins (strDatapluginName)

    GetDatapluginVersion = oMyDataPlugin.Version

    "Call the MsgBoxDisp (oMyDataPlugin.Version)."

    EndFunction

    Sub CheckUpdateAOP5

    Dim strAOP5CurrentVersion, strAOP5LatestVersion

    Dim MyVar

    protected path2AOP5: Path2AOP5 = 'Yours to fill. "

    strAOP5CurrentVersion = GetDatapluginVersion ("AOP5")

    strAOP5LatestVersion = "11.0.1f5081".

    If strAOP5CurrentVersion = strAOP5LatestVersion then

    ' msgbox ("AOP5 latest version:" & strAOP5LatestVersion & "is equivalent to" & strAOP5CurrentVersion)

    on the other

    MyVar = MsgBox ("AOP5 use requires an update now?", vbYesNo + vbQuestion, "DIAdem")

    Select if MyVar

    Case VbYes

    Call ExtProgram (Path2AOP5)

    Select end

    end if

    EndSub

  • Get and Set of dynamic Type via the Script output

    I am running vRO 6.0.1. I built a dynamic type to Veeam. I can see the items in the inventory and can select them as attributes in workflows. I'm looking to get the dynamic Type via a script object and set it as a variable in the script output, but its does not work. I created the dynamic type using the type dynamic plug-in generator v2.

    I have 'Veeam' namespace with types:

    VeeamHost

    jobFolder

    job

    I put an output with the 'DynamicTypes:Veeam.job' type attribute and the name jobOut

    My script is just:

    jobOut = Server.findForType ('DynamicTypes:Veeam.job' '29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae');

    System.log ("Job found:" + jobOut "'); 

    After the execution of the jobOut variable is empty. In the newspapers, I see:

    Found job: DynamicWrapper (Instance): [DynamicTypesDynamicObject]-[class com.vmware.o11n.plugin.dynamictypes.model.DynamicObject] - VALUE: dynobj: [__ns:Veeam __id:29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae __tp:DynamicTypes:Veeam.job]

    Does anyone have an idea of how complete the release of DynamicTypes:Veeam.job with the actual work of veeam I got via the script?

    Could check you what happens if you replace the line

    jobOut = Server.findForType("DynamicTypes:Veeam.job","29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae");

    with

    jobOut is DynamicTypesManager.getObject ("Veeam", "task", "29714267-f517-4f76-a621-902b3e789772/urn:veeam:Job:26eddcda-ea52-469b-b4c9-0b80fec098ae");.

  • Precomposer new function AE CC via the script

    As we know new AE CC got awesome box called "Adjust duration of both extended the selected layer composition".

    The default setting in the script guide is:

    [object LayerCollection] .precompose (array, string, [bool]);


    But it does not work with a new checkbox.

    So how to operate with a new checkbox via the script?

    Thanks for reading.

    I found that precomp function does not work with app.project.activeItem.selectedLayers;

    So here's the finishing touch that works with selected layers.

    See you soon

    
    function precompLayer() {
    var myComp = app.project.activeItem;
    if(myComp == null){alert("Please, select your composition"); return false;}
    
       var selectLayers = app.project.activeItem.selectedLayers; // selected
       if(selectLayers.length <1 ){alert("Please, select layers"); return false;}
    
       myLayers = [];      // precomp function works only with layers indexes, so array should contain layers indexes
    
            for (var l = 0; l< selectLayers.length; l++){
                myLayers.push(selectLayers[l].index);            // new array with layers indexes
            }
    
     var precompIndices = myLayers;  //change this to customize
            var precompName = "new_comp";  //change this to customize
            var parentComp = app.project.activeItem;  //change this to customize
            clearOutput();
            writeLn("Creating precompose");
            app.beginUndoGroup("Precompose");
            var Inpoint = 0;
            var Outpoint = 0;
    
            var precomp = parentComp.layers.precompose(precompIndices, precompName, true);
            var adjustStartTime = precomp.duration, newCompDuration = 0;
            writeLn(precomp.layers.length+" layers in procompose");
    
            for(var i=1; i<=precomp.layers.length; i++) {
                var layer = precomp.layer(i);
    
                (Inpoint > layer.inPoint) ? Inpoint = layer.inPoint : Inpoint;                  // begin of precomp
                (Outpoint < layer.outPoint) ? Outpoint = layer.outPoint : Outpoint;       // end of precomp
    
                var duration = Outpoint - Inpoint;
                adjustStartTime = adjustStartTime > layer.inPoint ? layer.inPoint : adjustStartTime;
                newCompDuration = newCompDuration < duration? duration : newCompDuration;
            }
                writeLn("New duration = "+newCompDuration);
    
            for(var i=1; i<=precomp.layers.length; i++) {
                precomp.layer(i).startTime -= adjustStartTime;
            }
    
            precomp.duration = newCompDuration;
            parentComp.layer(precompName).startTime = adjustStartTime;
            app.endUndoGroup();
    
    writeLn("Done!");
    }
    precompLayer();
    
  • Sort by name via the script

    Hello world

    I would be grateful if someone could give some clues to sort by name from the

    Paragraph Styles, character Styles, Styles of object and panels color chart

    via the script.

    Thank you in advance.

    Edson Furman

    [email protected]

    To sort the styles I used the script below - works in CS3 and CS4 if it has been awhile since I finally tried. It could be coded with more elegance, but it worked well as it is. He does not account groups of style: I don't know what happens if your documents contain a sort you would better try.

    As for shades, these are not so easy to sort. There was a discussion about this at one of these sites:

    http://www.Hilfdirselbst.ch/gforum/gforum.cgi?jump=Forum%3d4

    http://InDesign-FAQ.de/

    Peter

    #target indesign
    
    sort_par_styles (app.documents[0]);
    sort_char_styles (app.documents[0]);
    sort_obj_styles (app.documents[0]);
    
    //-------------------------------------------------------------------------------
    
    function sort_par_styles (doc)
        {
        var string_array = sort_par_names (doc);
        for (var i = 0; i < string_array.length; i++)
            doc.paragraphStyles.item (string_array[i]).move (
                LocationOptions.after, doc.paragraphStyles[i+2])
        }
    
    function sort_par_names (doc)
      {
      var array = doc.paragraphStyles.everyItem().name;
      array.shift (); array.shift ();  // exclude [No p.] and [Basic p/]
      return array.sort (case_insensitive);
      }
    
    //-------------------------------------------------------------------------------
    
    function sort_char_styles (doc)
        {
        var string_array = sort_char_names (doc);
        for (var i = 0; i < string_array.length; i++)
            doc.characterStyles.item (string_array[i]).move (
                LocationOptions.after, doc.characterStyles[i+1])
        }
    
    function sort_char_names (doc)
      {
      var array = doc.characterStyles.everyItem().name;
      array.shift ();  // exclude [None]
      return array.sort (case_insensitive);
      }
    
    //-------------------------------------------------------------------------------
    
    function sort_obj_styles (doc)
        {
        var string_array = sort_obj_names (doc);
        for (var i = 0; i < string_array.length; i++)
            doc.objectStyles.item (string_array[i]).move (
                LocationOptions.after, doc.objectStyles[i+4])
        }
    
    function sort_obj_names (doc)
      {
      var array = doc.objectStyles.everyItem().name;
      array.shift (); array.shift (); array.shift ();  array.shift (); // exclude  [None], [Basic Graphics Frame], [Basic Text Frame], [Basic Grid]
      return array.sort (case_insensitive);
      }
    
    //-------------------------------------------------------------------------------
    
    function case_insensitive (a, b)
      {
      return a.toLowerCase() > b.toLowerCase()
      }
    
  • HFM Application works is not via the workspace

    Hello

    When I try to access the HFM application via the workspace I get the following error:

    There was a communication error. The answer is:

    http://Server/HFM/GlobalWorkspaceNav/BPM/modules/com/Hyperion/HFM/Web/appcontainer/ADF.asp <! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 / / IN" "http://www.w3.org/TR/html4/strict.dtd" >
    < HTML > < HEAD > < TITLE > page can not be found < / TITLE >
    < META HTTP-EQUIV = "Content-Type" Content = text/html"; charset = Windows-1252 ">"
    < STYLE type = "text/css" >
    BODY {make: verdana 8pt/12pt}
    H1 {make: verdana 13pt/15pt}
    H2 {make: verdana 8pt/12pt}
    A:link {color: red}
    A: visited {color: maroon}
    < / STYLE >
    < / HEAD > < BODY > < TABLE width = 500 border = 0 cellspacing = 10 > < TR > < TD >

    < h1 > the page could not be found < / h1 >
    The page you are looking for has been removed, had its name changed, or is temporarily unavailable.
    < hr >
    < p > please try the following: < /p >
    < ul >
    < li > make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. < /li >
    < li > if you have reached this page by clicking a link, please contact
    the Web site administrator to alert them that the link is badly formatted.
    < /li >
    < li > click the back button to try another link. < /li >
    < /ul >
    < h2 > HTTP error 404 - file or directory not found. < br > Internet Information Services (IIS) < / h2 >
    < hr >
    information technology (for support staff) < p > < /p >
    < ul >
    < li > go to the Microsoft Product Support Services and perform a search by title for the words HTTP < /b > < b > and < b > 404 < /b >. < /li >
    < li > < b > help IIS < /b >, which is accessible in IIS (inetmgr) Manager, to open
    and search for topics titled < b > setting up a Web Site < /b >, common administrative tasks < /b > < b > and < b > on the Custom Error Messages < /b >. < /li >
    < /ul >

    < Table > < /TR > < / TABLE > < BODY / > < / HTML >

    ----------------------

    I tried to reconfigure the web server (I use IIS) several times.

    I have HFM 9.3 installed windows2003 server.

    The rest of the components work fine through the workspace... dim library, library of the app etc.

    Any help would be greatly appreciated. Thank you.

    You can also try the following:

    1. from the IIS Manager > Web Service Extensions try to change the following:
    Internet data connector = allowed
    WebAnalysis = authorized
    allowed = workspace
    HR = accepted
    AWB admitted =
    WebDAV authorized =
    then restart IIS

    2 edit web site properties by default in IIS to remove all entries in the ISAPI filters tab

    KN

  • How can I transfer all my applications paid on another device via the cloud? When I downloaded the cloud a few apps says 'install', while others said 'try' even if I already bought it.

    How can I transfer all my applications paid on another device through the creative cloud? I have them on both my computer a laptop in the past, but the clouds of my computer wiped when I had to get it fixed and lost all applications. When I went to reinstall some applications say 'install' and some said to 'try', even if I've already paid for them. Please help, I need these applications to the school.

    Hello

    Please refer to the threads creative software says cloud my free trial has expired, but I have a paid subscription

    Or you can see the steps from here: https://helpx.adobe.com/manage-account-membership/cc-reverts-to-trial.html

    Let us know if this worked for you!

  • Passing a value of item to another page via the button set to redirect to the page

    Hello

    I'm new to APEX and I develop an application to manage Oracle database user accounts.  I have a (8) page that has text elements for the user name and the database name.  I have a submit button (this works very well) who deliver... the ALTER USER statement to reset his password and unlock the account.  I have another button that if:

    1. get the value of username - P8_USERNAME
    2. assign to an element of application - FIND_USER_IN_DB
    3. redirect the page application - page 11

    The issue is that FIND_USER_IN_DB does not get filled and page 11 which is a simple report with the following query:

    SELECT *.

    OF valid_db

    WHERE username =: FIND_USER_IN_DB;

    How to achieve this?

    Thanks for your help.

    Steve

    A page redirect is actually nothing more than the rendering of an anchor tag or call apex.navigation.redirect. The link provided by these is generated when the page is rendered. Thus, when the page is rendered (in charge) and P8_USERNAME session state is NULL, then the link will be an empty value. There is nothing sad about the fact that when you change the value of the element on a page that session state will not change automatically and it's just about understanding session state.

    Let's say that you will present the session before the redirection if status point. Would it change anything? N ° the link, as I pointed out, has already been made, and no substitution of session state not be made on a redirect.

    You'd better be off by submitting the page via the button instead of a redirect. This will set the session state of your object to the desired value. You can then use a branch to redirect to the correct page setting the value of an element whose state of session of P8_USERNAME. You can even choose to use a process or a calculation to set the value of the application instead of by a link element, so that you can keep the application not manipulable by the user element.

  • Can not import a copy of the application to our workspace. The page is not found

    Hello
    We have an existing schema and workspace called track 2 and everything was fine. We could export a copy of the application of prod and import it under a different number, so we could test some changes.
    Then, we created a new workspace and schema called track3 and I tried to export a copy of prod and its import in track3 workspace.

    It gave the error:
    The page is not found
    The page you are looking for has been removed, had its name changed, or is temporarily unavailable.

    The URL, he found himself on after that the error was http://ourServer:7778/pls/apex/wwv_flow.accept

    In troubleshooting, we went back track 2 environment and cannot import copy of this old workspace more either.
    This has happened before on another post (contract), I was on and fixed it himself.
    Then we tried to bounce the server HTTP, did not work. I tried to bounce the database server has failed.
    What can do us?

    Please, any help is appreciated. Bill

    To debug the problem using SQL * Plus, you must connect as KMX2 in the production database. If the script fails, there will be no harm. You can remove the validation of the end of the script and replace it with a restore where the script is not and you want to ensure that there are no changes to your db prod.

    Don't you think that the version 3.2 upgrade would fix our problem?

    I do not know.

    Scott

  • Is it possible to migrate an application and drop one of the three types of plans?

    Migrating applications is 11.1.1.3 to 11.1.2.2.300.  Try to migrate an application and a company wants to only 2 of the 3 types of regime to be brought back.  Is there a way to do this?  Or to remove or hide the type of 11.1.2.2.300 if all 3 are migrated on?

    Here is what has been tried, but he cuased a problem in the DB:

    • Migrate an existing application that originally had 3 types of plan. Plan dropped type 1 and kept plan types 2 and 3

    • Created 2 types of plan when creating the application in 11.1.2.2

    • Initially built the contour using 11.1.1.3 LCM export dimensions and had to modify the XML to import. Edited plan 2 and made this plan type 1. Edited plan 3 and made this plan type 2. Had problems with the LCM/xml and finally finished by using the extractor contour and loading by using the outlineload utility. Dimensions are now based.

    • Initially, wrong Bishop Calc. To change the value of the hsp_systemcfg for the type of plan table = 2 instead of 3 as it was in the table.

    • Calc Mgr shows that type of plan 2 and no plan to type 1.

    Any ideas?

    Probably the best way to rebuild the application and then reload the hierarchies or hack files XML of LCM, if 11.1.2.3 then you would be able to create/delete plan types.

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • Custom problem race workspace via the SSL protocol

    Hello

    If we try to run our workspace personalized via the SSL protocol, we get the following in the trace error message: * took place an error event: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    So the stuff of successful connection... but then the error occurs while initializing the workspace .

    In the trace you can also see, that service of the workspace still tries to connect via http, but with the secure port: http://xxx.xxx.xxx.xx:8443 / work-server/messagebroker/amfpolling space

    When we use the Internet-Explorer, the problem only occurs on the first connection. The second time everything works fine.

    Unfortunately, we cannot solve the problem when you use other browsers (Firefox, Safari. Etc.)

    It would be great if someone could give a clue.

    Thank you!

    We use the next version of livecycle:

    Version: 8.2.1, GM

    Patch Version: SP2

    Service Pack Version: 8.2.2353.1.195587.2

    Trace debugging:

    -Built in 3729ms AuthenticatingApplication.

    -called createComponentsFromDescriptors to 3761ms.

    [SWF] /xyz/workspace-theme.swf - 496 567 bytes after decompression

    Finished loading the theme to 3997ms.

    -init called 3998ms.

    Workspace created string: id = work-survey-amf space, url = https://192.168.196.60:8443 / work-server/messagebroker/amfpolling space .

    -checkLogin-

    singleSignOn: SSO connection

    login: https://192.168.196.60:8443/um/login time = 4053 Ms

    an error event occurred: verification of credentials: credentials not found. connection is required. (ALC-WKS-007-149)

    -showLogin to 4240ms.

    [SWF] /xyz/LoadingCircle.swf - 673 bytes after decompression

    -doAuthenticate to 10171ms.

    Login: credentials

    login: https://192.168.196.60:8443/um/login time = 10176 Ms

    sendWorkspaceLogin: https://192.168.196.60:8443 / space work-server/authenticate , time = 10357ms.

    exit sendWorkspaceLogin: https://192.168.196.60:8443 / space work-server/authenticate , time = 10363ms.

    loginHandler

    loginSuccessHandler: time = 10455ms.

    Workspace created string: id = null, url = https://192.168.196.60:8443 / remote/messagebroker/amf access .

    the authentication expires in 6899; to re-authenticate timer set to 6869 s.

    = initialize()

    handleChannelFault - faultCode = Channel .connect .failed NetConnection.Call.BadVersion: url: ' http://192.168.196.60:8443 / work-server/messagebroker/amfpolling space '

    an error occurred: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    an error occurred: an error occurred during initialization of workspace. (ALC-WKS-007-049)

    -showLogin to 10526ms.

    We had the same problem.  There is a patch for it: http://www.adobe.com/support/products/enterprise/support_knowledge_center_livecycle_ES_ser ver.html

  • The value of PDF file printed via the script name

    Hi people!

    I have a little problem with the generation of a PDF file. First my Workflow:

    I have an InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After it is merged, we need to generate a PDF file. This PDF file is opened in acrobat. In the document, I am looking for one ID for each record so I can split the document to 100 files (each with 6 pages) and name by the ID that I found.

    The Acrobat script is finished and functional. I thought: the InDesign script is over, too. But I was wrong-. -.

    I merged the databasefile with the document and it has exported to PDF. But after export, we noticed that the Acrobat script isn't finding the adressheader where ID is in. The script only noticed the text after this header. The result is, as get-Acrobat always 'null' as ID

    If print us the PDF with our PDFprinter, the header could be read by our script of Acrobat. I don't know why this is... But now, I changed the script to print the files through our PDF printer. Unfortunately I can not set a name for my exported file - do you know if it is possible to print PDF files without asking for confirmation after each other as well as with a via script name?

    Here you can see the old writing for InDesign and after her, the sript Acrobat. Maybe I made a mistake by generating my PDFexport and have no need to use the printer?

    INDESIGN SCRIPT:

    /**
    * invite filebrowser and stores the name and path of the file in variable
    */
    var sourceDocument = File.openDialog ("Bitte Indesign-Dokument Park", "*.indd", false);

    /**
    * stores the only prefix of file name to use as the new file name
    */
    newName var = sourceDocument.name.substr (0, sourceDocument.name.length - 5);

    /**
    stores in folder where the file is stored
    */
    var dbSourceFolder = sourceDocument.parent + "/"; "

    /**
    * guests for databasefile, where production is expected to begin
    */
    var dbstartfile = File.openDialog ("Start-Datenbankdatei of Bitte Park", "*.txt", false);

    /**
    * Gets databasefile basename
    */
    var dbstartfilename = dbstartfile.name.slice (0, dbstartfile.name.search(/_Teil+/));

    /**
    * Gets number of first databasefile
    */
    var i = dbstartfile.name.slice (dbstartfile.name.search(/_Teil+/) + 5) .slice (0, -4);

    /**
    * generates the path and name of the first databasefile to use
    */
    var dbSource = dbstartfile;

    /**
    * set PDF preset to generate PDFS
    */
    var PDFPreset = app.pdfExportPresets.item ("GAG - PDF");

    /**
    * stop throwing alerts
    */
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

    message will be thrown if databasefile is not existing
    If (dbSource.exists == false) {}
    reboot to launch alerts
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Alert ("File" + dbSourceFolder + dbprefix + "_Teil" + i + ".txt konnte nicht werden found! \n\rBitte starten Sie den procedure Rubis und Sie die right Datenbankdatei one enter.");
    }
    another process begins
    else {}
    even if (dbSource.exists == true) {}
    Opens the document indesign source without displaying
    mergeDocument = app.open (File (sourceDocument), false);
    defines what databasefile should be used for data merging
    mergeDocument.dataMergeProperties.selectDataSource (File (dbSource));
    starts the file database and the indesign document merging
    mergeDocument.dataMergeProperties.mergeRecords ();
    document generated in PDF export
    app.activeDocument.exportFile (ExportFormat.pdfType, File(sourceDocument.parent+"/"+newName+"_Teil"+i+".pdf"), false, PDFPreset);
    farm open indesign document
    mergeDocument.close (SaveOptions.no);
    i ++ ;

    change the name of the database file to get the next file
    dbSource = File(dbSource.parent+"/"+dbstartfilename+"_Teil"+i+".txt");
    }
    }
    reboot to launch alerts
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
    Alert ("PDF-Generierung sky!");

    SCRIPT ACROBAT:


    /**
    * Path where files should be saved
    * Special characters like spaces must be preceded of--------.
    * If you want to change the folder, use the following form:
    * ' / DriveLetter/foldername /... /LastFolderName/.
    * Be careful not to forget the / before and after the location
    */
    filepath var = "/ c/pdf_split_test / ';

    /**
    * Number of display pages - do not hesitate to change
    */

    pageType = app.prompt var ("Please die Seitenzahl der presentations one gewunschte.", "");
    Alert (PAGETYPE);

    /**
    to search for regular expression
    */

    var idNumber = / 08\d\d\d\d\-\d\d\d\-\d\d\d\d\d-\d\d\d-\d\d/g;

    /**
    * If possible this function gets the number sought as string
    *
    @param string of revenge that is to be found in the document
    * @return null if rematch is not found or a string if the rematch is
    */

    function ExtractFromDocument (reMatch) {}
    try {}
    var Out = new Object();
    for (var i = 0; i < 1; i ++)
    {
    numWords = this.getPageNumWords (i);
    var PageText = ' ';
    for (var j = 0; j < 30; j ++) {}
    var Word = this.getPageNthWord (i, j, false);
    PageText += Word;
    }
    var strMatches = PageText.match (reMatch);
    If (strMatches == null) continue;
    }
    Return strMatches;
    } catch (e)
    {
    App.Alert ("processing error:" + e)
    }
    }

    /**
    * tries to load given filename (excerpt number)
    *
    @param string file name of the file that should be checked
    @param n number of iterate when checking files
    * @return true if the file exists or false otherwise
    */

    function checkIfFileExists (filename, n) {}
    var existingDoc = false;
    try {}
    If (n == 0) {}
    var checkDoc = app.openDoc(filepath+filename+"-000.pdf");
    } else {}
    var checkDoc = app.openDoc(filepath+filename+"-000_"+n+".pdf");
    }
    checkDoc.closeDoc ();
    existingDoc = true;
    } catch (e) {}
    }
    If (existingDoc == true) {}
    n = n + 1;
    n = checkIfFileExists (filename, n);
    }
    return n;
    }

    var pageAmount = this.numPages;
    for (i = 0; I < pageAmount; i + pageType) {}
    var filename = ExtractFromDocument (idNumber);
    fileExistence = checkIfFileExists (filename, 0);
    If (fileExistence! = 0) {}

    this.extractPages ({nEnd:(pageType-1), cPath: filepath + filename + "-000_" + fileExistence + ".pdf"});
    } else {}
    this.extractPages ({nEnd:(pageType-1), cPath: filepath + filename + ""-000.pdf ""});
    }
    this.deletePages ({nStart:0, nEnd: pageType-1});
    }

    Hello

    I have a little problem with the generation of a PDF file. First my Workflow:

    I have an InDesign document with 6 pages. This document is merged with a databasefile containing 100 records. After it is merged, we need to generate a PDF file. This PDF file is opened in acrobat. In the document, I am looking for one ID for each record so I can split the document to 100 files (each with 6 pages) and name by the ID that I found.

    Why you are not exporting 6 pages PDF directly from InDesign?

    Robin

    www.adobescripts.co.UK

  • Patch Vista - launch of the patches via the script

    I search for an answer online for days and finally gave up and decided to post here...

    I'm currently launching spots on our handful of machines Vista here via a script.  Each time, it returns the error "attempt to reference a token that does not exist.

    I tried to start by calling directly from the server, copy locally, mapping a drive to the server for the launch, etc... any attempt gives me this error even.  What happened to the multiple patches as well.

    Someone at - he seen elsewhere or have any ideas?

    UnderdogRC

    Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to the server and would be better suited to the Technet community. Please visit the link below to find a community that will provide the support you want.

    http://TechNet.Microsoft.com/en-us/default.aspx Engineer Support Justin M. Microsoft Answers visit our Microsoft answers feedback Forumand let us know what you think.

  • rendering image via the script get me uknown messege

    Hi all 2, maybe someone knows and can help me, what means of alert message and why it showing on 2 of my 7 work computers (all PC's have after effects cs5 but why only on two display this message?), when I try to make the current image via my script. My script - rendered the current image in the png file (and at this point after effect a bug and adding numbers 00000 filename so I need to find my rendered file and fix bug of file name and import file back), so when I see this message my script does not work (AE render the file, but the incorrect file name and my script is unable to import it to AE)

    PS to make the current image I create my own preset (with hands) for the output module based on the png sequence

    error.PNG

    THX

    Hi guys, I understand, the problem in my script make part, first of all I have the code to save the current image

    myProj.renderQueue.item (1) .outputModule (1) mpfprojectdir\dev10\src\csharp\projectbase.file = File (DesktopPath + "\\temp\\" + "_" + myLayerName); and it gives me error, so I fixed this alert message by

    ("myProj.renderQueue.item (1) .outputModule (1) mpfprojectdir\dev10\src\csharp\projectbase.file = File(DesktopPath+"\\1111\\"+"ltp"+"_"+myLayerName+"[###].png ");

    [#] .png - it's a key, thx to all!

  • Install Esx 4.1 via the script

    Good day to all,

    I see a lot of documentation showing how to install ESXi 4.1 using installation scripts, but I wonder if it is possible to install the 4.1 via the same installation script?

    Concerning

    David

    Yes, you can use a startup script to install ESX 4.1 - check out the installation guide - http://www.vmware.com/files/pdf/vsp_41_esx_vc_installation_guide.pdf

Maybe you are looking for

  • Scan to 7500 a Mac

    I have several questions. I had this same printer one has worked for over a year now so I know how it works... even with a Mac. Liked it so much that we got one at home... After you HAVE upgraded to Lion and discovered "questions." A that's a given,

  • When I log into Windows, the login screen does not appear, how can I fix?

    I am running Windows XP Professional.  When I start my computer, it works fine.  I can log on and have no problem.  Unfortunately, when I log into my profile, Windows logon screen does not appear.  I use the log on screen where you have to manually t

  • My L7680 doesn't stop

    Hello I followed the instructions to unplug the electric power to the unit and then disconnect from the wall, nothing helps. When I reverse the action, the power button flashes and the text in the window says that he tries to align the printer. I'm u

  • CUCM SIP road model Discussion

    Help-> to this page Model of IPv4 (Required) Enter the domain, subdomain, IPv4 address or the IP address of the subnet. For the use of model Domain Routing, entering a field of IPv4 model domain name that resolves to an IPv4 address. The domain name

  • "Could not find the main class" Java error on Windows 7, but not Windows XP

    Hi allIt's the first app I try to package and virtualize with ThinApp.It is an old business application that usually runs on Windows XP SP3 x 86.The. MSI that I generated with Thinapp works very well when it is installed on a Windows XP SP3 x 86.Howe