Auto generate mask from motion?

I have a clip of a person walking around a scene and a clip without them walking around(the background). I want to apply a different color to the walking person so I will obviously need a mask around them on the top layer. How can I auto generate a mask of the moving person instead of frame by frame mask readjustment?
Is there a track motion and auto move mask tool?

12padams wrote:
Yikes! That sounds complicated...
Welcome to the world of motion graphics and compositing.
Basically I have a blank room video layer at the bottom. Above that I have transparent footage of the same room with a person walking across. I want that footage on the top layer to be a moving mask that follows only the person. Then I want to apply an effect to that moving person mask and make then blue (they are already transparent). Is this possible?
Sorry, your terminology is a little vague, so it's not clear what you have or what you are trying to achieve.  What do you mean by "Transparent footage"?
I'm assuming you have a back plate of your room environment, plus a second layer of footage which contains a person walking around in the room - framed exactl the same.
As Mylenium said, use the Difference Matte effect to generate a matte of the walking person.  You may be able to directly use the matte for your purposes and just key the character out of the background.  If you truly need a mask, you will need to use the Auto Trace function to generate the mask from your matte.

Similar Messages

  • Anyone know of a tool for auto generate EJB from DB

    Does anyone know of a tool that connects to a DB and auto generates EJBs from the table schema, either CMP or BMP. Perhaps allowing you some control over choosing the table, pk, etc.
    THANKS

    Visual Age for Java (IBM)
    Websphere Studio Application Developer (IBM)
    I think JBuilder has this option now. Is JBuilder still free?

  • Need to change auto generated text from pdf report

    I have implemented pdf but it generated text from the autogenrated xml.
    If I need to change that text then what should I want to do for that?
    Following is my xsl file and the generated output in pdf.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
    <xsl:template match="/">
    <fo:root>
    <fo:layout-master-set>
    <fo:simple-page-master master-name="my-page">
    <fo:region-body margin="1in"/>
    <fo:region-before extent="1in" background-color="silver" />
    </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
         <fo:static-content flow-name="xsl-region-before">
    <fo:block height="150px" width="1024px" background-color="blue" >
    <fo:external-graphic width="340px" src="http://localhost:9000/web-determinations9000/images/logo.png"/>
    </fo:block>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body">
    <fo:block >
    <xsl:apply-templates mode="dump" select="/session/entity/instance/attribute"/>
    </fo:block>
    </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    output from pdf -
    What is Student Id?=
    65.0
    Is scored more than 80% true%=
    true
    What is Student Name?=
    asf
    What is lastname?=
    asdf
    Is student eligible for gold medal?=
    true
    If i want "what is student id?" text to only student Id then what change I need for that?

    Hi,
    Following is the code sample for your understanding:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:fn="http://www.w3.org/2005/xpath-functions">
    <xsl:output method="xml" indent="yes" encoding="utf-8" omit-xml-declaration = "yes" />
    <xsl:template match="/">
    <fo:root>
    <fo:layout-master-set>
         <fo:simple-page-master master-name="my-page">
              <fo:region-body margin="1in"/>
              <fo:region-before extent="1in" background-color="silver" />
         </fo:simple-page-master>
    </fo:layout-master-set>
    <fo:page-sequence master-reference="my-page">
         <fo:static-content flow-name="xsl-region-before">
              <fo:block height="150px" width="1024px" background-color="blue" >
              <fo:external-graphic width="340px" src="http://localhost:9000/web-determinations9000/images/logo.png"/>
              </fo:block>
         </fo:static-content>
         <fo:flow flow-name="xsl-region-body">
              <fo:block>
              <xsl:apply-templates mode="dump" select="/session/entity[@name='global']/instance[@label='global']"/>
              </fo:block>
         </fo:flow>
    </fo:page-sequence>
    </fo:root>
    </xsl:template>
    <xsl:template match="/session/entity[@name='global']/instance[@label='global']" mode="dump" priority="100">
         <fo:block margin-top=".5cm" margin-left=".1cm" border-start-style="solid">
              Student ID:<xsl:value-of select="attribute[@id='var_student_id']/number-val"/>
         </fo:block>
    </xsl:template>
    </xsl:stylesheet>Thanks,
    Aakarsh

  • Auto generated calls from ipcc UCCX?

    Dear All,
    I am using ipcc version 8.5. i have to add an feature in the contact center in which the system will auto generate calls to the customers for complaint managment and play a prompt with menu options that if complaint is resolved press one if not press 2.
    I am new to ipcc so please can anybody help with proper steps to make it working.
    we have a outbound licesnse.i tried another way doing it via a campaign but when i added a new compaign only agent based option was available so i am not left with the option to make ivr campaign for that.
    the second option is i tried to make a http triggered application. but i really dont know how to make it work. how to use get http info in the script and place call method.
    if any one can explain it in a simple way with proper steps it would be really appreciated.
    Best Regards
    Bureera Sabir

    According to the 2nd article - I've created an empty Company_Phone_Number_Normalization_Rules.txt file and placed it in the Lync file share, in order to avoid any suspicion that the built-in file might be used. I've updated the address book but unfortunately
    can't restart the FE services at this time. There's no still no change in the client.
    Yet - the problem here is the numbers shown aren't present in the files making up the Lync address book inside the local user's sip profile folder.

  • Installing components using auto-generated plans from Jython CLI

    Hi All,
    for specific reasons, we want to install a set of components with fixed signatures from Jython CLI, but without appropriate plans. In fact, we want to simulate the behavior that we know from Plugin UI, i.e. linking directly to an installer of a component.
    We figured the following steps are necessary within CLI code:
    1) For the targeted component generate an appropriate install plan using 'pdb.p.genplan' command. This unfortunately does not create the plan within the system, but rather has to be redirected to a file.
    2) Import the previously generated plan using 'pdb.p.ci' command from this file.
    3) run the plan using fixed signature to install component
    4) eventually remove the plan.
    Now, the problem is, that step 1) generates a plan targeted for the folder '/system/autogen', but step 2) fails on importing the plan there, because the folder is owned by the system plugin. So we would end up parsing the XML file, replacing path and so on .... We definately don't want to reinvent the wheel, here.
    Any help appreciated!!!
    Regards,
    Frank

    First of all, thanks for the super-fast reply.
    We got around with parsing using the xml.dom.minidom package in Python. Three more lines and poorer performance, but nothing you can measure against the CLI performance itself ;-)
    I like the idea of using a template plan, as you suggested, because the generated ones bear another problem: We have to pipe in the plan parameters, which we don't know for sure, except for one, that is the 'markOnly' flag. So this might get us around piping in stupid dummy params.
    How exactly do you wait for the plan completion? We use 'pe.p.lo', but don't know how to figure out, if it was successful or not, at all. No return code this time, and stdout isn't filled in markOnly=true mode.
    Regards,
    Frank

  • Need to Auto generate bookmarks from MS Access

    I have a report that I can turn into a pdf but I can't get Adobe Acrobat to make bookmarks for me automatically.  The first field on the page I need for the bookmarks are uses a distinctive font, font size, and color.  I can manually make a bookmark for each page but I have over 90 bookmarks to make and it takes too long.  I need Acrobat to make the bookmarks but am having trouble.  Please tell me how I can do this efficiently.  Thanks.

    Hi,
    Adobe PDFMaker for MS Access permits creation of "Bookmarks".
    Open PDFMaker configuration to select it.
    With that said, the Bookmark (in the PDF) comes from the MS Access report title/caption.
    Unfortunately, Bookmarks associated with fields in a record are not supported.
    Be well...

  • How do you remove or change auto generated text in returned form e-mails?

    Hello,
    I am currently using Adobe Acrobat 8 Professional (Version 8.1.3) to create a form that will be sent to a group of people.  When testing it, I've noticed that when the end user presses the "SUBMIT FORM" button and a new e-mail opens with the completed form attached, the following text is automatically added to the body of the e-mail:
    Form Returned: XXXXXXX.pdf
    Instructions to add this form to a data set:
    1. Double-click the attachment.
    2. Acrobat will prompt you to select a data set.
    What I need to know is whether or not there is a way to either prevent this auto generated text from appearing or revise it so it gives a custom message instead.
    Any insight would be greatly appreciated!
    Regards,
    Jeff

    It sounds like you are getting a basic message that is telling you submitting the PDF is unnecessary and asking if you want to submit the data instead. I have not seen this one before, but that is my guess. If you are using the form fields created in Acrobat (not Designer), then just select FDF or XML for the data type to be submitted, not the form.

  • Auto-trace mask order?

    Hey all,
    I'm using auto-trace to perform a stroke by stroke reveal of scanned hand-written text. The problem is the auto-trace feature places the masks in a fairly random order, as opposed to left-right or top-down. It means I need to manually reorder the masks to get the effect working as a write-on reveal. I'd normally just trace the scan with a mask and do it the old-fashioned way but there's some shape wiggle effects I need to place over the text in this case, so the masks have to stay. Any way to make the process a little easier in terms of the auto-generated mask ordering?
    Cheers

    It's inherent in how this simplistic tracing algorithm works. The order of the detected regions is completely arbritray, hence is the mask order. Short of using Illustrator's Image trace quite selectively on a letter-by-letter basis, I see no way to get a more orderly initial result.
    Mylenium

  • Auto generate apex pages based on metadata

    Dear All,
    Is there a way where I can auto-generate pages in apex by providing some metadata?
    Ex: If I provide all the metdata with which kind of items to be created for the attributes and pass it to apex, can it generate the pages automatically then?
    Or, if this metadata can be converted into xml file which can be given as a input to apex and then, can it then auto-generate pages from there on wards?
    With question much more simplified, Can the apex pages be generated dynamically??
    Regards,
    Krishna

    Is there a way where I can auto-generate pages in apex by providing some metadata?
    Ex: If I provide all the metdata with which kind of items to be created for the attributes and pass it to apex, can it generate the pages automatically then?
    Or, if this metadata can be converted into xml file which can be given as a input to apex and then, can it then auto-generate pages from there on wards?
    With question much more simplified, Can the apex pages be generated dynamically?? There are several ways to approach your question.
    If you want to generate actual Apex pages through code, you can take a look at ApexGen:
    http://code.google.com/p/apexgen/
    If you just want to create dynamic pages (ie dynamic content on a page), just use one or more PL/SQL Regions on your page and render whatever you need on the page, possibly in combination with the APEX_ITEM package.
    Also check out the new Apex 4 plugin architecture.
    - Morten
    http://ora-00001.blogspot.com

  • HOW TO GET AUTO GENERATED PRIMARY ID KEY BACK FROM AN INSERT STATEMENT IN .

    Just recently I ran into a problem with what seems to be a deficiency in the Oracle Database. When trying to return an auto-generated key as is done in Microsoft's SQL database, it seems Oracle for whatever reason didn't add this capability, the key couldn't be passed back to the .Net call. After tinkering with the .Net software and talking with the Oracle techs, a decent work around to the problem (presented here) comes fairly close. Two things have to be done first before this will work. A sequence has to be created on the Oracle DB. Also a trigger has to be created against the table the keys are going to be returned from.
    The class works by passing to the function 'update_datasets_return' a DataSet with as many tables as you want. The function spins through the tables and put the keys in each row inserted. It's assumed the first row will either be the primary key or some numeric value. This can be changed by modifying the: dt.Columns(0).ColumnName
    Notice the word Inserted. On Updates and Deletes the key value is ignored because it's already present. The routine just updates the database as usual.
    So in other words you could send a table to the function with rows inserted, deleted, or updated and it will take care of them all. One routine for all.
    ' ======================================================================
    ' Created by SEF and Oracle SR: 5607364.993 This is a complete Redo
    ' of the initial concept. SEF...
    ' Sample of sequence and trigger at bottom.
    ' Uses the ODP.NET data provider.
    ' update_datasets_return: Goes thru each table in the dataset and
    ' updates, deletes, or inserts as needed.
    ' If inserting, a 'sequence counter' and a 'trigger'
    ' using the 'before insert' must be present. The sequence
    ' counter is set to auto increment by 1 starting at 1.
    ' The trigger is specific to the table.
    ' Create the trigger and sequence in the database or run the samples
    ' below in PL/SQL. Be sure the logon with a user that has enough rights.
    ' Routine assumes the first column is going to hold the sequence
    ' number. Actually any column could be used. Just change the
    ' dt.Columns(0).ColumnName to whatever you want or leave as default.
    ' The da_RowUpdated sub is where the 'sequence number' gets returned
    ' on each row that is inserted into a table. Routine is ignored on
    ' deletes and updates. SEF...
    ' =======================================================================
    Imports System
    Imports System.Data
    Imports Oracle.DataAccess.Client
    Imports Oracle.DataAccess.Types
    Public Class OracleUpdate
    Private Shared m_conn As OracleConnection
    Private Shared da As New OracleDataAdapter
    Private Shared dt As DataTable
    Private Shared conn As New OracleConnection
    Private Shared dr As DataRow
    Private Shared astep As Long
    Private Shared rwIndex As Integer = 0
    Private Shared tblIndex As Integer = 0
    Public Shared Function update_datasets_return(ByVal constr As String, ByVal ds As DataSet) As DataSet ''ByRef ds As DataSet)
    Dim selectstmt As String
    m_conn = New OracleConnection(constr)
    Try
    m_conn.Open()
    Catch ex As Exception
    Throw New ArgumentException(" Error: connection lost." & ex.Message)
    End Try
    For Each dt In ds.Tables
    ''Uncomment the code only if auto numbering
    ''is NOT turned on for the table being updated. SEF...
    ''rwIndex = 0
    ''For Each dr In dt.Rows
    '' Try
    '' Select Case dr.RowState
    '' Case DataRowState.Added
    '' astep += 1
    '' ' =======================================================
    '' ' This "Try Catch" section created only if auto numbering
    '' ' is NOT turned on for the table being updated. SEF...
    '' ' It's a crude attempt at creating a unique number.
    '' ' A more serious approach would be to use a GUID.
    '' ' Use only if you decide not to have a sequence and a
    '' ' trigger for the table.
    '' ' =======================================================
    '' Try
    '' 'ds.Tables(tblIndex).Rows(rwIndex).Item(0) = astep
    '' Catch
    '' ' ignore the error corrected integer identity so don't randomize it
    '' End Try
    '' dr.Item("createdDate") = Now
    '' dr.Item("changedDate") = Now
    '' Case DataRowState.Modified
    '' dr.Item("changedDate") = Now
    '' End Select
    '' Catch ex As Exception
    '' conn.Close()
    '' conn.Dispose()
    '' Throw New ArgumentException(" Error: update_datasets " & ex.Message)
    '' End Try
    '' rwIndex += 1
    ''Next
    selectstmt = "SELECT * From " & dt.TableName & " Where " & dt.Columns(0).ColumnName & " = " & 0
    da = New OracleDataAdapter(selectstmt, m_conn)
    Dim bldr As OracleCommandBuilder = New OracleCommandBuilder(da)
    AddHandler da.RowUpdated, New Oracle.DataAccess.Client.OracleRowUpdatedEventHandler(AddressOf da_RowUpdated)
    Dim insCmd As OracleCommand = Nothing
    Try
    insCmd = CType(bldr.GetInsertCommand(), OracleCommand)
    Catch ex As Exception
    Throw New Exception("")
    End Try
    insCmd.CommandText += " returning " + dt.Columns(0).ColumnName + " into :seqno"
    insCmd.Parameters.Add(New OracleParameter("seqno", OracleDbType.Int16, _
    4, ParameterDirection.Output, False, CType(0, System.Byte), CType(0, _
    System.Byte), dt.Columns(0).ColumnName, DataRowVersion.Current, Nothing))
    da.InsertCommand = insCmd
    Try
    ' ===========================
    da.Update(ds, dt.TableName)
    ' ===========================
    Catch ex As Exception
    Throw New ArgumentException(" Error: update_datasets_return " & ex.Message)
    End Try
    Next
    m_conn.Close()
    m_conn.Dispose()
    Return ds
    End Function
    Friend Shared Sub da_RowUpdated(ByVal sender As Object, ByVal e As OracleRowUpdatedEventArgs)
    If e.StatementType = StatementType.Insert Then
    e.Row(0) = Int64.Parse(e.Command.Parameters("seqno").Value.ToString())
    End If
    End Sub
    ' ================================================================================
    ' Notes:
    ' =================== How To -- Sample section for PL/SQL ==================================
    ' myTrigger, myTable, mySequence, and myColumn are values you need to supply.
    ' Note: A trigger needs to be created for each table.
    ' A sequence needs to be created only once and referenced each time
    ' in the trigger(s). Or you could create a new sequence each time you
    ' create a trigger. Sort of a waste of effort.
    ' Explanation:
    ' myTrigger = The name you are giving this trigger.
    ' If a trigger with same name already
    ' exist, it will be overwritten.
    ' myTable = Table you want to add the sequence numbers to.
    ' mySequence = Sequence counter you created. Whatever name you called it.
    ' myColumn = The column to update with the sequence number.
    ' =================================================================================
    ' -- Run in PL/SQL or create at DB. --
    ' create or replace trigger myTrigger
    ' before insert on myTable for each row
    ' begin
    ' select mySequence.nextval into :new.myColumn from dual ;
    ' end;
    ' -- Run in PL/SQL or create at DB. --
    ' create sequence mySequence
    ' MINVALUE 1
    ' START WITH 1
    ' INCREMENT BY 1
    ' NOCACHE; can be set to CACHE but sequence may contain gaps.
    ' Explanation of CACHE from: http://www.techonthenet.com/oracle/sequences.php
    ' With respect to a sequence, the CACHE option specifies how many sequence
    ' values will be stored in memory for faster access. The downside of creating
    ' a sequence with a CACHE is that if a system failure occurs, all cached
    ' sequence values that have not be used, will be "lost". This results in
    ' a "gap" in the assigned sequence values. When the system comes back up,
    ' Oracle will CACHE new numbers from where it left off in the sequence,
    ' ignoring the so called "lost" sequence values.
    ' Note: To recover the lost sequence values, you can always execute an
    ' ALTER SEQUENCE command to reset the counter to the correct value.
    ' NOCACHE means that none of the sequence values are stored in memory.
    ' This option may sacrifice some performance, however, you should not encounter
    ' a gap in the assigned sequence values.
    End Class
    C#:
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class OracleUpdater2
    private static OracleConnection m_conn;
    private static OracleDataAdapter da = new OracleDataAdapter();
    private static OracleConnection conn = new OracleConnection();
    public static DataTable load_it(string constr, string strqry, string tblName)
    // =====================================================================
    // constr = User Id=myUser;Password=myPass";Data Source=myDataSource
    // strqry = Select * from something?
    // tblName = The table name to fill.
    // =====================================================================
    conn = new OracleConnection(constr);
    conn.Open();
    da = new OracleDataAdapter(strqry, conn);
    OracleCommandBuilder bldr = new OracleCommandBuilder(da);
    DataTable dt = new DataTable(tblName);
    da.Fill(dt);
    conn.Dispose();
    return dt;
    public static DataSet update_datasets_return(string constr, DataSet ds)
    //'ByRef ds As DataSet)
    string selectstmt = null;
    m_conn = new OracleConnection(constr);
    try
    m_conn.Open();
    catch (Exception ex)
    throw new ArgumentException(" Error: connection lost." + ex.Message);
    foreach (DataTable dt in ds.Tables)
    selectstmt = "SELECT * From " + dt.TableName + " Where " +
    dt.Columns[0].ColumnName + " = " + 0;
    da = new OracleDataAdapter(selectstmt, m_conn);
    OracleCommandBuilder bldr = new OracleCommandBuilder(da);
    da.RowUpdated += new
    Oracle.DataAccess.Client.OracleRowUpdatedEventHandler(da_RowUpdated);
    OracleCommand insCmd = null;
    try
    insCmd = (OracleCommand)(bldr.GetInsertCommand());
    catch (Exception ex)
    throw new Exception("" + ex.Message);
    insCmd.CommandText += " returning " + dt.Columns[0].ColumnName + " into
    :seqno";
    insCmd.Parameters.Add(new OracleParameter("seqno", OracleDbType.Int16, 4,
    ParameterDirection.Output, false, System.Convert.ToByte(0),
    System.Convert.ToByte(0), dt.Columns[0].ColumnName, DataRowVersion.Current,
    null));
    da.InsertCommand = insCmd;
    try
    // ===========================
    da.Update(ds, dt.TableName);
    // ===========================
    catch (Exception ex)
    throw new ArgumentException(" Error: update_datasets_return " +
    ex.Message);
    m_conn.Close();
    m_conn.Dispose();
    return ds;
    If you need a working program of how this works, let me know.

    Oh my god, it is too long! You definitely check out types, casting and especially ODP.Net (it does everything for you)... etc. They can help you to simplify your code. I do not have enough time to copy paste it to Studio and understand and solve your issue, so I got title of your message as your main question.
    In Oracle, you can create an autonumber field by using sequences object. This is really useful when you need to create a unique number to act as a primary key.
    Basically you can create a sequence simply typing;
    CREATE SEQUENCE MY_SEQUENCE;
    now you have a sequence called "MY_SEQUENCE"... Then, I advice you select a number from sequence;
    select MY_SEQUENCE.nextval from dual;
    I said I advice actually kinda must, although it called sequence, I cannot be sequential. Do not even try to predict the value. You can be sure that it is unique number so you can use it.
    Then insert you record and use that number part of your primary key. I think that's it. Have fun.

  • Auto generated service PR from maint, order

    Dear Experts,
    As you know while processing external services using control key PM03, a service PR will be generated for the service selected from the agreement or contract & from there we will create PO.
    Here in my case while creating PO from auto generated PR it is not carrying the condition type ( Discount entered the contract).Instead of that it gives the option to enter the condition type in the drop down list.Then we can select the condition type as discount & process the order.
    where as for the same service from the same agreement,if we create the PO from the manually created PR (not the auto generated from maintenance order) it carries the condition type of agreement (discount) to PO & the discounted price will be displayed automatically.
    Why it is not happening to auto generated PR? is there any particular settings are available? is there any notes available?
    Please help me out to come out of this problem.
    Thanks & best regards,
    Praveen

    Dear,
    I am extremely sorry for this issue. there was some problem with the program & rectified the same.
    Thanks & Best regards,
    Praveen

  • How to remove an auto generated ActionPreformed Event from Netbeans?

    Hi,
    How do I remove an auto generated ActionPreformed Event from my code? I accidentally created one and want to remove it. I tried to right click on the event and refactor/delete all the dependencies in the source but it wouldn't let me remove it. There shouldn't be any DEPENDENCIES it was just created.
    Thanks,
    V$H3r

    NetBeans | Help | Help Contents | Java Applications | Building Java GUIs | Designing Java GUIs | Managing Component Events | Removing Event Handlers:
    1. In the Inspector window, select the component whose event handler you want to remove.
    2. Click the Events button at the top of the Properties window.
    3. Select the event in the property sheet and click the ellipsis (...) button to display the Handlers dialog box. Alternately, you can simply delete the name of the handler you want to remove in the Properties window.
    4. In the Handlers dialog box, select the handler to remove from the list and click Remove.
    When you remove an event handler, the corresponding code block is also deleted. If more than one handler uses the same name and same block of code, deleting a single reference to the code does not delete the code itself. Only deleting all references will delete the corresponding code block, and a confirmation dialog box is displayed first.

  • Please help! How do I unlink a mask from a layer in Motion?

    How do I "unlink" a mask from a layer so when the object on the layer moves, the mask stays still?
    (Similar to how you unlink a mask in Photoshop by clicking on the link icon beside the layer thumbnail)ghgh
    This is propably very simple, but I can´t figure this out or find it anywhere searching on the net or in the manual (already wasted almost two hours on this and my deadline is coming uncomfortably close...)
    Hope somebody can help I´m getting desperate now

    Would moving the mask to the Group containing the layer you want to animate give you the result you're looking for?
    Your layers list would look like this:
    If there are other layers in the group, then you would need to nest the masked group so as to not affect the other layers.
    You could also add a shape and use that as an image mask which includes a stencil option.
    Draw your shape
    Select the image you want to mask
    Add Image Mask (shift+command+m) via the object menu
    Drag your shape to the image mask
    Your layer list would look like this:

  • How to strip out leading numbers in auto-generated bookmarks?

    For years now my team has used an Acrobat plug-in called Compose, which lets us strip out the leading numbers from bookmarks in PDFs generated from FrameMaker 7.2. (The tool works after the fact, so that all bookmark creation occurs after the PDF is created.)
    For example, these document headings:
    1.1 Intro to Happy Fun Ball
    1.1.1. System Requirements
    1.1.2. Cautionary Information (WARNING)
    are translated to the bookmarks:
    Intro to Happy Fun Ball
    System Requirements
    Cautionary Information (WARNING)
    After evaluating the new Adobe Tech Comm Suite, it seems that Acrobat 9 Extended Pro isn't compatible with the Compose plug-in (or at least, the version we've been using for years).
    Does anyone know if there's a method -- built into either FrameMaker 8 or Acrobat 9 Pro Extended, or in an SDK -- that allows you to auto-generate bookmarks but strip out leading numbers? It seems this is a no-brainer of a feature, yet I can't find it listed anywhere in the Acrobat documentation.
    Other names for this feature might be "wild card" or "text masking," not to mention "strip leading numbers."
    Thanks very much for your help.
    Regards,
    Buster

    The following code can be run from the JavaScript console, but since you're new to this, it might be easier to create a button, paste the code shown below into the Mouse Up event of the button, select the Hand tool and click the button to execute the code, and then delete the button if everything is OK.
    If you need to do this a lot, you should consider setting up a custom menu item or toolbar button that executes this code:
    function removeBookmarkPrefix(bookmark) {
        // Resursive function to remove bookmark prefix
        // Rename bookmark without prefix
        bookmark.name = bookmark.name.replace(/^\S+\s+/, "");
        if (bookmark.children != null) {
            for (var i = 0; i < bookmark.children.length; i++) {
                removeBookmarkPrefix(bookmark.children[i]);
    // Remove all bookmark prefixes, recursively
    removeBookmarkPrefix(bookmarkRoot);
    The code uses what's called a regular expression, which in this case is fairly simple: /^\S+\s+/
    This regular expression means to search the bookmark name for the beginning of the string (^), followed by one or more non-whitespace characters (\S+), followed by one or more white space characters (\s+), and replace all that with an empty string (""), thus removing it. This should work with the bookmark name prefixes you describe.
    The function is called recursively, which is an efficient way to handle the hierarchical structure that the bookmark tree can have.
    If you get stuck, post again.
    George

  • Auto generated types and ps1xml formatting files

    Hello,
    I'm using New-WebServiceProxy to work with a web service... when I call methods of the web service powershell auto generates types, for example, things like "Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebServiceProxy1_webservices_awebservicepage_asmx.TheMethodReturnObjectType"
    1. should I just use that type name in my ps1xml formatting file? I'm wondering if that will be fragile... seems fragile like 'webServiceProxy1' for example, what if there is some scenario it uses '2'? Not sure if I can count on that being consistent?
    2. I started creating custom objects and adding my own type name to them so that type name could be used in the ps1xml file. This works fine. However so far it was for web service methods that returned single instance results.. now I hit a point where I'm
    calling a web service method that will return a collection... so I'm wondering if it would be better to just use the auto generated type name  in the ps1xml or, as I would need to do in this case, actually enter a foreach loop to create a new custom object
    for every object in the returned collection? In other words, for the web service methods I've used so far for this, I simply created my custom object and write-output... for the case of the collection, I would be new-object'ing and write-output'ing within
    that foreach loop.. wondering about performance issues, or if it's just overkill when I could just put that auto generated type name in the ps1xml file and be done with it... 
    not sure if I've asked that very clearly...
    essentially, I'm wondering if it's overkill (from a resource usage perspective) to be creating these custom objects in the case of when there will be a collection, with potentially hundreds of items, when the only reason I'm doing it is for display purposes...
    if it were not an autogenerated type I would simply use the type name in the ps1xml, I'm just not sure if I can do that in this case as I don't know if that typename will *always* be the same?
    any input would be appreciated, thanks

    Hi DJC,
    I haven't rexperienced this, however, to create a .ps1xml file, these examples may be helpful for you:
    Creating a module for powershell with a format file
    discutils / utils / DiscUtils.PowerShell / DiscUtils.Format.ps1xml
    about_Format.ps1xml
    I hope this helps.

Maybe you are looking for

  • How can I get a trial from Photoshop CS5 now?

    My problem is that I have a valid key for Photoshop CS5 but my DVD is broken and does not work. Last time installing I took a copy of a trial and switched to full installation by putting my serial in it. Please could you help me? Best, Luyindula

  • Failed to query Alarms & Events, alarms not logging

    Hi all, I've recently run in to an issue with the DSC Alarm & Event logging. I have a number of shared variable libraries all setup to log both data and alarms to Citadel. I've double checked that the library itself is configured for logging data and

  • Problem Saving a Report

    Hi, I have to generate a report on a daily basis. I have to use a function GenerateReport(Date,ReportType) that returns XML.Now that functions resides on a server and i want to save report on my local machine. If i use utl_file package the path i wil

  • Apple listen to the features WE want in 1.1.2!

    Hey, Got my Ipod touch 16gb week 38. Really love it but also had a 5th gen ipod video that seemingly has more handy features (like search function) I want to create a list of all the things that ipod touch is missing, not things like built in emulato

  • Creating Next ,Previous ...............Buttons

    How Can I create the following buttons 1-Next Button. 2-Previous Button. 3-First record button 4-Last record button 5-Display Button (to display all information in the form) Can anybody help me,please?