Create the Groovy Script Version

One of our clients wants to use ODI Version as part of their publication process. This is not the version of case numbers generation but rather the ability to capture a snapshot of the mapping in the scenario

This is not a problem of GUI - just as you must click on the browser and select versions-> create new version.

I can't find a method of the Java API for this. Any ideas?

My goal is to automate the generation of versions at release

Sorry, but ODI does not provide APIs for version management.

Tags: Business Intelligence

Similar Questions

  • How to enable and disable, copy or rename the rules via the groovy script?

    A client, we received this question:

    How to enable and disable, copy or rename the rules via the groovy script?

    Foglight 5.7.5

    Hello

    There is this example of support KB

    support.Software.Dell.com/.../99059

    and there is also documentation of Service layer of the administration on the RuleService console.

    Best regards

    Golan

  • Determine whether the host is virtual in the groovy script

    Hello

    I am writing a groovy script to extract data from our monitored SQL Server instances.  I would like to be able to differentiate between the n & b physical and virtual hosts.  I know that this should be possible since the database dashboard displays a different icon for both.  However, I can find what data item or property I'd look for his determination.

    I use the following code:

    dataSrv = server. DataService

    querySvc = server. QueryService

    topologyQuery = «!» DBSS_Instance ".

    objects = querySvc.queryTopologyObjects (topologyQuery)

    Need a way to determine whether each object is located on a physical or virtual host

    //...........

    Thank you.

    Thank you.  That pointed me in the right direction.  For those looking for the code, I use:

    ...

    topologyQuery = «!» DBSS_Instance ".

    objects = querySvc.queryTopologyObjects (topologyQuery)

    Objects.each {object->

    instance_name = object.name

    instance_host_name = object.real_mon_instance_name

    VM = 'physical '.

    vmQuery = «!» «VMWVirtualMachine where $host.name = ' "+ instance_host_name +»»»

    VM = querySvc.queryTopologyObjects (, vmQuery)

    If (vms.size () > 0) {}

    VM = "VM".

    }

    ...

  • Create the Java script function

    Hello

    I try to create the following java script function to retrieve a character string:

    String.prototype.left = function (findWhat)

    {

    try

    {

    var = this.search (findWhat) position;

    If (position > - 1).

    Return this.substr (0, position);

    }

    catch (e)

    {

    / / alert (e.message);

    }

    return "";

    };

    var text = "myText-description";

    var separator = "-";

    In this example, I try to extract the word on the left before the "-" delimiter (mtText)

    But I get the following error message: failed to add a property to an object sealed: left

    My question is how can I create a simple js function in the Orchestrator in the following example

    Thank you

    Hello

    You can try the code to retrieve a string from left to right below the delimiter.

    
    searchstr();
    
    function searchstr() {
       try{
       var str = "angela.soni"
       var pos = str.indexOf("."); // Currently this is hard coded, you can pass delimiter as an input parameter.
       if(pos>-1) {
          var substr = str.substring( 0, pos );
          System.log(substr);
       }
       else {
          System.error("Delimiter not found");
       }
      }
      catch (e) {
       System.error("Search failed: " + e);
      }
    }
    

    I hope this would help you.

    Thank you!

    Angela

  • Tune, 12.4.1.6, I, no, more, have the option to create, the Apple, losses, Version,, file > convert, submenu,-, where, is, it?

    All of a sudden I can't create Apple Lossless AIFF or WAV files versions. Yes, I know that he moved into the submenu file.

    That's happened?

    Dave

    You to pre-set the format in the preferences (as it has been for the past 15 years).

    12 iTunes for Mac: save a copy of a song in a new file format - http://support.apple.com/kb/PH19509

  • After you create the action script for the creation of user Oracle DB - connector DBUM

    Hello

    After we have set up a user of IOM in the database on the target system, you must insert the same user in the RLS_USER_GROUPS table. (INSERT INTO CAMPDB. The VALUES of RLS_USER_GROUPS ('DV < user name >', RLS_DEV');  )

    The requirement is available to the user of multiple databases (different values of SID). But, the user to insert in a table to a database (DB1).

    If I write an after create a file of Action with action script, it will fire for all databases?  How to trigger this script only on the DB1 database?

    (2) in the literature, it is mentioned as below

    (Q) I installed the connector only in IOM (there is no connector server). Thus, in the 3rd and 5th stage, what should I mention

    Key code?

    Decode?

    Please suggest

    Thank you

    This query has worked well.

    INSERT INTO CAMPDB. RLS_USER_GROUPS (USERNAME, GROUPNAME) VALUES ({__NAME__}, "RLS_DEV")

  • Create the designer (IOM) version

    Hi friends,
    Can you help me solve this problem, try to create a new version of the Ad (AD User) connector in the designer, Braber when I get the following error:

    Here is the picture for more details:
    http://img814.imageshack.us/img814/9241/errordesigner.jpg

    Thank you for your support

    When you download the connector, there is a XML directory. Check these files with an XML editor and find the tag for the name of form SDK = ADUSER and take just this entry.

    -Kevin

  • Create the UDM using os script

    Hi guys,.

    I received the following task to be done as soon as possible, but have small problems, as I read the oracle documentation, we have os scripts to apply certain measures that are defined by the user, I followed tasks but cannot get the scripts

    -----

    Create a user defined Metrics (UDM) alerting when file listener is in mode Dbug

    Create an alert UDM check Rman uses catalog Rman

    Create a UDM alerting when logical WEB is in debug mode

    Create a UDM alert when logical when WEB log rotation is not defined

    -----

    I'm using OEM 11 g

    If anyone has suggestions or scripts to do this, please let us know.

    Thank you and best regards,
    Small foot

    Hi 844375,

    I created the same script you provided (seems like you and me have a similar up to think the comment section), but the script provided seems to be incomplete, it is empty, first step of the script is empty, IE "/ tmp/udm_lsnrctl_script.sh ' is not provided without which the next part is incomplete.

    Here are the scripts I've created:

    1. UDM_LSNRCTL_DEBUG_CHECK

    TASK: To check if a listener is put in debug mode.

    Script used:

    > STEP 1: udm_lsnrctl_script.sh

    #The script to check if the listener is in debug mode

    Small-foot #script, version 1.0

    #Step 1 - file name is udm_lsnrctl_script.sh

    #Step 2 - uses udm_lsnrctl_testrun.sh to retrieve the name of the listener in debug mode

    #The script below will search for ASM instance

    for k ' ps - ef | grep pmon | grep asm *. AWK '{print $8} ' | f '_' awk ' {print $3} "

    do

    echo $k ' for loop inside get the path from the House of the DSO.

    . oraenv<>

    $k

    EXPRESSIONS OF FOLKLORE

    #If more than a listener then we do loop for

    # 'lsnrctl see the trc_level' is the command to check the debug state

    for m ' ps - ef | grep inh | grep - v grep | grep "grid" | "awk"{print $9} '"

    do

    echo $m "inside for loop check the listeners of the DSO.

    lsnrctl<>

    the value current $m

    See the trc_level

    output

    EXPRESSIONS OF FOLKLORE

    fact

    echo "outside for loop check ASM listeners."

    fact

    echo «outside for loop get the path from the House of the ASM»

    #This script will not TEST for + ASM1

    for i ' ps - ef | grep inh | grep - v grep | AWK '{print $8} ' | AWK-f ' / ' '{print $6} ' | grep - v tnslsnr'

    do

    $i echo "inside for loop get ASM no way home.

    #' ps - ef | grep MP n | grep - v grep | AWK '{print $8} ' | f '_' awk ' {print $3} "#check this line once more

    #check over the line once more

    #check over the line once more

    . oraenv<>

    $i

    EXPRESSIONS OF FOLKLORE

    CD $ORACLE_HOME

    j in ' ps - ef | grep inh | grep - v grep | grep - v "grid" | AWK '{print $9} ' | grep $i ' # #CHECK THIS LINE TOO CHECK if THE FIRST LINE IS ALWAYS - LISTENER - ONLY of OTHER IT WILL RESULT WORNG OUTPUT

    # LINE #THIS CAN BE USED as AN ALTERNATIVE tTO AVOBE LINE CHCEK AND CONTINUE

    #for j in ' ps - ef | grep inh | grep - v grep | grep - v 'LISTENER ' | AWK ' {print $9} "

    #To be more specific

    #for j in ' ps - ef | grep inh | grep - v grep | grep - v "grid" | AWK ' {print $9} "

    do

    $j echo "inside for loop check listeners not ASM.

    lsnrctl<>

    the value current $j

    See the trc_level

    output

    EXPRESSIONS OF FOLKLORE

    fact

    echo "outside for loop check listeners not ASM.

    fact

    ECHO "outside for loop get ASM no way home.

    Exit 0

    > STEP 2: udm_lsnrctl_testrun.sh

    #! / bin/ksh

    #The script to check if the listener is in debug mode

    #script by Harish, version 1

    #Step 1 - file name is udm_lsnrctl_script.sh

    #Step 2 - uses udm_lsnrctl_testrun.sh to retrieve the name of the listener in debug mode

    #This file to run the script above and store the result in another file to check/compare the information required

    #file name udm_lsnrctl_testrun.sh

    #Put udm_lsnrctl_script.sh in udm_lsnrctl_debug_log.txt output to check the names of the listener in debug mode

    Date > /oracle/app/agent11g/scripts/udm_lsnrctl_debug_log.txt

    /Oracle/app/agent11g/scripts/udm_lsnrctl_script.sh > /oracle/app/agent11g/scripts/udm_lsnrctl_debug_log.txt

    FILE=/Oracle/app/agent11g/scripts/udm_lsnrctl_debug_log.txt

    out_result = "-i"value"grep $FILE |" grep - v out | AWK '{print $1}'

    #Check if the output is echo null then debug disabled

    Message1 =' have the active debug '

    If [-z "$out_result"]

    then

    out_result = "Disabled".

    #out_result = 1

    out = "no listener '.

    on the other

    out = $out_result

    #out_result = 2

    out_result = 'active '.

    FI

    em_result = $out_result

    echo "em_result = $em_result".

    echo "" em_message = $oute $message1 ".

    Exit 0

    2. UDM alert check of Rman uses catalog Rman: was addressed in other post of mine.
    3. UDM_WLS_DEBUG_CHECK

    Task: To check if debug mode is enabled in the wls targets

    Script used:

    > udm_wls_debug_check.sh: NOTE: the House of the area path must be set separately for each server

    Cat /oracle/app/product/fmw/user_projects/domains/custcons_domain/bin/setDomainEnv.sh|grep debugFlag = > udm_wls_debug_log.txt

    QUEUE = udm_wls_debug_log.txt

    out_result = "grep-i"true"$FILE"

    echo $out_result

    domain_name ='grep-i udm_wls_debug_check.sh "/ app/oracle/product ' | AWK '{print $2} ' | AWK-f ' / ' ' {print $8} "

    echo $domain_name

    Message1 = 'have the active debug '.

    If [-z "$out_result"]

    then

    out_result = "Disabled".

    #out_result = 1

    out = "no domain".

    on the other

    out = $out_result

    #out_result = 2

    out_result = 'active '.

    out = $nom_domaine

    FI

    #em_result = $out_result

    echo "em_result = $out_result".

    echo "" em_message = $oute $message1 ".

    Exit 0

    4. UDM_WLS_LOGROTATION_CHECK

    TASK: Check if rotation is enabled and not put over 7 days

    Script used:

    > udm_wls_logrotaion_check.sh:

    #! / bin/bash

    #The script to check if the rotaion of log is enabled

    #Step 1 - file name udm_wls_debug_check.sh contains the path of the field

    #Step 2 - use udm_wls_debug_check.sh to get the path of the field and then download the config.xml file to check if logrotation enabled id

    File #This to run the script above to check th logrotaion is true or false

    #file name udm_wls_logrotaion_check.sh

    file_name ='cat /oracle/app/agent11g/scripts/udm_wls_debug_check.sh | grep setDomain | AWK '{print $2} ' | "awk-f" / "' {print" / "$2"/"$3"/"$4"/"$5"/"$6"/"$7"/"$8"/config/config.xml"}.

    rotation_type ='cat $file_name | grep rotation-type | AWK-f ' > ' '{print $2} ' | AWK f"<" '{print="" $1}' ="" |="" awk=""><>

    numero_fichier ='cat $file_name | grep-number of files | AWK-f ' > ' '{print $2} ' | AWK f"<" '{print="" $1}' ="" |="" awk=""><>

    domain_name ='grep-i udm_wls_debug_check.sh "/ app/oracle/product ' | AWK '{print $2} ' | AWK-f ' / ' ' {print $8} "

    #echo $file_name

    #echo $rotation_type

    #echo $file_count

    If ['$rotation_type' = 'None']

    then

    #echo "Disabled".

    out_result = "Disabled".

    echo "em_message = $nom_domaine have no rotaion enabled log.

    Elif [["$file_count" - gt "7"]]

    then

    #echo "superior to 7 files.

    out_result = "Disabled".

    echo "em_message = $nom_domaine a logrotaion active with file count more than 7.

    on the other

    #echo 'active '.

    out_result = 'Active '.

    echo "" em_message = $nom_domaine have enabled rotaion journal "»

    FI

    echo "em_result = $out_result".

    Exit 0

  • Created a Java Script but the need in Spanish

    In Adobe Standard X, I created the following Script for a dynamic buffer

    Event.Value = util.printd (a-mmm-yyyy ", new Date()");

    That would show

    January 5, 2015

    How to say the same thing but in Spanish. I want to display

    5 January-2015

    Windows 7 x 64

    Remove the options to Format selected for this field.

  • Create the script from another script using GUEST

    Oracle 11

    Instead of having to make a link to a different database, I want to create 2 scripts that are run from a shell script and run separately. Run Script1 in Database1 would create 2 Script using PROMPT to create the second script while entering a date of base1 to base2. I've almost got it but the problem is... Script2 using COPY FROM and I need to put a "-" at the end of each line that the GUEST takes as a literal instead of as part of the output.

    SCRIPT1:
    set pagesize 0
    set trimspool on
    set linesize 2000
    set echo off
    set verify off
    set feedback off
    set sqlblanklines on
    
    spool /home/michelle/sql_scripts/sl_dtc_copy2.sql
    
    PROMPT whenever sqlerror exit sql.sqlcode rollback
    PROMPT SET ARRAYSIZE 5000
    PROMPT SET COPYCOMMIT 20
    PROMPT set linesize 4000
    PROMPT 
    PROMPT COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    PROMPT CREATE SL_DTC_TMP USING SELECT DISTINCT 
    PROMPT col1, col2, col3
    PROMPT FROM dual
    PROMPT WHERE veh_data_elements_cd = 'ODO_READ'
    PROMPT and       dh.data_collected_timstm >=  
    select trunc(sysdate)-7 from dual; 
    PROMPT and       substr(vdh.vin,10,1) in ('A','B','C','D') 
    PROMPT /
    
    PROMPT spool off
    PROMPT exit
    
    spool off
    exit
    SCRIPT2 NOW:
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    CREATE SL_DTC_TMP USING SELECT DISTINCT
    col1, col2, col3
    FROM dual
    WHERE veh_data_elements_cd = 'ODO_READ'
    and       dh.data_collected_timstm >=
    12-AUG-11
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    /
    spool off
    exit
    SCRIPT2 HOW IT SHOULD BE:
    -A [SPACE] AND a [-] at the end of each line
    -THE DATE MUST HAVE THE APOSTROPHES AND PREFERABLY AT THE END OF THE PREVIOUS LINE
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2} -
    CREATE SL_DTC_TMP USING SELECT DISTINCT -
    col1, col2, col3 -
    FROM dual -
    WHERE veh_data_elements_cd = 'ODO_READ' -
    and       dh.data_collected_timstm >= '12-AUG-11' -
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    /
    spool off
    exit
    Thank you

    Oops, sorry, I forgot to change the line.
    Must be double quotes to delimit the orignial:

    SELECT 'WHERE veh_data_elements_cd = ''ODO_READ'' -' from dual
    

    Kind regards
    Sylvie

  • Groovy Script error - launch of workload dynamically

    Hi all

    I'm trying to plan kickoff to load dynamically to help after the groovy script

    com of the packaging. LoadPlan.OdiTool;

    Import oracle.odi.core.OdiInstance;

    Import oracle.odi.core.config.MasterRepositoryDbInfo;

    Import oracle.odi.core.config.OdiInstanceConfig;

    Import oracle.odi.core.config.PoolingAttributes;

    Import oracle.odi.core.config.WorkRepositoryDbInfo;

    Import oracle.odi.core.persistence.transaction.ITransactionStatus;

    Import oracle.odi.core.persistence.transaction.support.DefaultTransactionDefinition;

    Import oracle.odi.core.security.Authentication;

    Import oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker;

    Import oracle.odi.domain.runtime.loadplan.OdiLoadPlan;

    Oracle.odi.domain.runtime.loadplan.OdiLoadPlan import. *;

    Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep;

    Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepContainer;

    Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepSerial;

    Import oracle.odi.domain.runtime.loadplan.finder.IOdiLoadPlanFinder;

    Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanSchedule;

    Oracle.odi.runtime.agent.invocation import. *;

    Oracle.odi.runtime.agent.invocation.StartupParams import. *;

    Import oracle.odi.runtime.agent.invocation.LoadPlanStartupParams;

    import java.util.HashMap;

    import java.util.Map;

    public class CustomLoadPlan {}

    Public Shared Sub main (String [] args) {}

    String Master_User = 'Master_User;

    String Master_Pass = "Master_Pass";

    String WorkRep = "WORKREP";

    String Odi_User = "myuser";

    String Odi_Pass = 'mypass ';

    MasterRepositoryDbInfo masterInfo = new MasterRepositoryDbInfo (Url, driver, Master_User, Master_Pass.toCharArray (), PoolingAttributes()) new;

    WorkInfo WorkRepositoryDbInfo = new WorkRepositoryDbInfo (WorkRep, new PoolingAttributes());

    OdiInstance odiInstance is OdiInstance.createInstance (new OdiInstanceConfig(masterInfo,workInfo));.

    Authentication auth = odiInstance.getSecurityManager () .createAuthentication (Odi_User, Odi_Pass.toCharArray ());

    odiInstance.getSecurityManager () .setCurrentThreadAuthentication (auth);

    ITransactionStatus trans = odiInstance.getTransactionManager () .getTransaction (new DefaultTransactionDefinition());

    Officer of RemoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker ("http://localhost", "myuser", "mypassword".toCharArray ());

    Map paramsValues = new HashMap();

    LpProps properties = new Properties ();

    LoadPlanStartupParams startupParams = new LoadPlanStartupParams (paramsValues);

             

    LoadPlan research

    OdiLoadPlan odiLoadPlan = (odiInstance.getTransactionalEntityManager () .getFinder (OdiLoadPlan.class)) .findByName (planName) (IOdiLoadPlanFinder);

    Implementation of the Plan of care

    ExecutionInfo res = agent.invokeStartLoadPlan (planName, 'GLOBAL', startupParams, "," WORKREP", lpProps, 1);

    }

    And get the following error

    org.codehaus.groovy.runtime.InvokerInvocationException: oracle.odi.runtime.agent.invocation.InvocationException: http://host.com:port/OracleDIAgent:org.apache.commons.httpclient.ProtocolException: The Host of the server.com has not responded to a valid HTTP response

    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:95)

    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

    at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1302)

    at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:759)

    at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:271)

    at groovy.lang.GroovyShell.run(GroovyShell.java:513)

    at groovy.lang.GroovyShell.run(GroovyShell.java:170)

    at oracle.odi.ui.groovy.GroovyScriptRunInstance.run(GroovyScriptRunInstance.java:228)

    Caused by: oracle.odi.runtime.agent.invocation.InvocationException: http://host:port2/OracleDIAgent:org.apache.commons.httpclient.ProtocolException: The Host of the server.com has not responded to a valid HTTP response

    Any idea a pointer what is wrong in the script. Please note that my Agent is up and running, I am able to launch the studio ODi LoadPlan. I am also able to join annex to load the plan through the groovy script. So looks like something wrong in the script.

    Any help is greatly appreciated.

    Thanks and greetings

    I was able to solve the issue myself. It was two minor problems.

    (1) agent was running over HTTPS not http like I was trying in the script.

    (2) the name of the agent must be column of the Web Application context, rather than the column name set Agent screen.

    After the correction of these two options, I was able to launch the Plan of loading of the groovy script.

    7 regards thanks

  • Need help to create the calendar...

    I have a project, and in this project, I have a script.  However, when I go to create a calendar, the dialog box does not display my script.  Without a script, there is no way to create a schedule, so I'm stuck.  The sample project works as expected and I can see the scripts inside but Adobe Story does not see my script, when I created a new calendar.  My script is not well and I can access/modify if necessary but I can't create a schedule for it.  Would appreciate suggestions.

    ED

    Hello

    Schedules can be created scripts for Film or television. You must have permissions to modify the script (which, it seems, you have). My guess would be that you are trying to create the AV script planning or more columns. It is not possible currently.

    Kind regards

    Sunny

  • Create hyperlinks with script, without increase of large size and treatment of the BP reqs resulting?

    Quick Summary: I have a script as part of a process involving a lengthy document of data merge base that creates hyperlinks by using doc.hyperlinkURLDestinations.add (). The script is simply extracted from text into clickable hyperlinks.

    The problem is, the final PDF files that emerge from this process are 300% the size of a PDF file without the running script and are very slow to deal with. Most of that extra weight from an increase of 740 000% crazy (!) in the amount of data used for "info-Structure" (and that's after you run the version with hyperlinks through the Acrobat PDF Optimizer).

    The amount of the data structure in the PDF files with hyperlinks ends up being more than twice the size of the entire file PDF files without hyperlinks added. There is also a substantial increase in the size of the "the cross reference Table.

    This sharp increase in weight becomes a quick and simple process which takes a few minutes in a slow winding which takes hours, to the creation of files with a very slow pace inflated in a process that is prone to crashing and not.

    I hope for another way to create hyperlinks that adds all this weight.

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

    Details: Here is my current process. It works fine except step 2 causes the final size of the PDF file and the time required for the execution of other processes to increase massively. I know there are different ways to implement hyperlinks in a PDF document - I hope that there is a different approach, that I can use to step 2 which avoids this massive expansion.

    The goal is to create 600 2 PDF pages from an indesign template using the fusion of data, with each PDF with a file name that reflects reviews and live hyperlinks which vary from one record to the next. Here is my current process (for analysis comparative, the machine is a Mac Pro, Lion, CS6, with RAM 6gbs, and all files are on a disk HARD space, no transfer of data on all networks):

    1. Implement an INDD 2 pages with placeholders for merging data and spreadsheet.
    2. Create merged INDD, import hypertext links and other content as text, then run this script in InDesign that makes hyperlinks using live doc.hyperlinkURLDestinations.add ()
    3. Export a PDF to 1 200 PDF page - file > export if step 2 was made, or the merger of data tool if it wasn't.
      • Without step 2: the PDF file is about 110mbs and takes a few minutes to create.
      • Step 2: the PDF file is about 170mbs and takes over an hour and a half to create - I do not know exactly how long I ended up leaving running from one day to the next, but he had already run 1: 20 p.m. when I left and doesn't look close to finishing.
    4. Run this script in Acrobat to chop the PDF into segments of 2 pages with names based on worksheet data.
      • Without step 2: the process takes about quarter of an hour, slightly faster than a secondcreation of PDF files, and PDF files are 700kbs.
      • Step 2: the process crashes after about 10 PDF files and takes minutes to produce each one. Even if it did not freeze, it should be about 25 hours to do all of them.
      • In step 2 and then reducing the PDF to 45mbs through optimizer PDF Acrobat and 'save in reduced format' to cut, backward, compatibility, the process takes about 4 hours, producing a PDF every 20-30 seconds, and PDF files are around 3 MB each. Through to watch the process, almost all of the extra time taken comes from step "backup PDF... "for each of them.

    Each PDF 2 pages has 14 or 15 of the hyperlinks. I do not understand how the 14 and 15 of the hyperlinks can translate into an additional 2mbs of "" and something like the processing time of more than 3500% to create each PDF file.

    Can someone suggest modifications to the script in step three, which could avoid all this overhead? Here's the complete script for convenience:

    app.findGrepPreferences = app.changeGrepPreferences = null;

    var doc = app.activeDocument;

    app.findGrepPreferences.findWhat = '(http://.*$|https://.*$)';

    var objs = doc.findGrep();

     

    for (var i = 0; i < objs.length; i++) {

        var currTarget  = objs[i];

        var lnkDest = doc.hyperlinkURLDestinations.add(currTarget.texts[0].contents);

        var lnkSrc = doc.hyperlinkTextSources.add(currTarget);

        var lnk = doc.hyperlinks.add(lnkSrc, lnkDest);

    }

    alert('Processed '+objs.length+' hyperlinks');

    Edit - Here is a side-by-side comparison of the "Use of space Audit" tool optimizer based on CSSTidy Acrobat PDF, showing where the hyperlinks add volume. I scored two sharp increases in red...

    acrobat-audit.png

    .. .so there is a massive increase going crazy in the size of the info "Structure", a tiny mbs 0.000238 to 1.76 MB - two and a half times the size of the original file, just on 'info Structure. It's a 740 000% increase...

    There is also a strong increase in fat in the cross reference table, 0,0046 mbs to 0.427 mbs - table of cross-references in the PDF with hyperlinks is more than half the size of the original file.

    The only differences between two files PDF's, we have 14 clickable hyperlinks attached to existing excerpts of the text (the "hyperlinks" are from a PDF file that comes with living aggressive optimization PDF and images are so much smaller).

    So it turns out the source of the problem was the document tags.

    Make sure that the PDF file is not created as a PDF by InDesign Tagged, and it behaves. I don't know what is it about hyperlinks and marking that makes it swell massively, but it does.

  • Where is the "Create iPod or iPhone Version" in iTunes 12.4.1?

    Where is the "Create iPod or iPhone Version" in iTunes 12.4.1?  I don't see it as an option under file > convert.  I have several m4v files that were not purchased through the iTunes Store, which I would like to sync my iPod.

    Hello

    The possibility to create iPod or iPhone version has "disappeared" from iTunes 12.4.1 (also the Mac version), please send feedback to Apple:

    https://www.Apple.com/feedback/itunesapp.html

  • While the MBP for repair, I downloaded FCP 10.2.3 to a computer lent. Back on my own machine, FCPro borrowed machine library will not be opened because it was created with a newer version of the CPF App Store not 10.2.3 full download

    While my MacBook Pro for the repair, I downloaded FCPX to a computer lent 10.2.3. Back on my own machine, library of FCPX of the borrowed machine will not open because it was created with a newer version of FCPX. And the App Store won't let me finish a 10.2.3 download because the FCC is already on my computer - and he says that no update is available.

    FWIW - MBP 15 "beginning 2011, running OS 10.11.6 Beta (15G7b)

    Any ideas that can help me to keep the day of the Assembly, I did on the other machine?

    Move the application to the trash and try to download it from the shopping page.

Maybe you are looking for