Applescript: transferring total appearance from one page item to another

What is the best way to transfer all the properties of a path item that determine appearance to another path item?
What if those path items are in separate documents?
Should I copy and paste?
what about:
set item_properties to every property of page item 1 of document 2
set properties of page item 5 of current document to item_properties
Specifically, I want to copy the following properties from one path item to another, across documents:
stroked
stroke width
stroke color
stroke dashes
stroke cap
filled
fill color
--and any patterns that are used as fill
blend mode
opacity
any help appreciated.
thanks.
Ben

Thanks Mark.
the main downside to this is it adds another layer of manual work--you would have to make a graphic style by hand from each sample object (because you can't make a new graphic style with a script). I would rather make the script do the work, so that if I have a lot of different sample items to mimic it could be automated.
The big problem I've encountered with just moving each property over is that when I make my own fill pattern for the sample object, and copy that pattern over as a "fill color", it seems to cause some problem with opening the document, as I found in this other discussion:
http://forums.adobe.com/thread/542632?tstart=0
Thanks again,
Ben

Similar Messages

  • How do I copy a page from one Pages document to another using Pages 5.0?

    I posted this question on another page, and haven't recieved an answer to it yet. However I have found a temporary solution, so I am posting this here in case anyone else has a similar problem.
    The issue here is that I have just upgraded from Snow Leopard to Maverick (10.9.1), and my Pages also upgraded (to 5.0.1), altering my Pages documents. This is the issue, as as far as I can see the new Pages does not offer some of the basic needs that the old Pages did! In other words it is worse than the previous version.
    Using the upgraded new Pages 5.0.1 seems to result in some major editing problems for me. If you upgrade, make sure you KEEP the old version of Pages 09 (v 4.3). That is what has saved me!  If you have the same problems I have had - explained below, you will still be able to close the new version and open your Pages document in the old version, provided it is not a new Pages document. If it is, it will be possible to export it as a Pages 09 document and edit properly.
    After upgrading to the new Pages 5.0.1, when I open documents in Pages and try and copy a section from one document to another (easy before using the thumbnails) many of the Menu items previously available are visible but appear faded and are not possible, including Insert>Section Break/Page Break/Page Number and Edit>Cut/Copy/Delete/Undo/Redo
    This even happens if I duplicate the Pages document and try and do any of these from the Duplicate (which should be an easily editable copy).
    My solution has been to simply open all Pages documents that Iwant to edit (or may want to edit in future) in the old Pages app (v 4.3), which I never got rid of. That has meant I can continue editing and copying a section (of 1 or more pages) from one Pages document to another.
    If anyone reading this has figured out a way to edit Pages documents using the new version 5.0.1 please post an explanation, and I will try it!

    And there are those who don't like me repeating the same message over and over again in this forum!
    Apple has removed over 90 features from Pages 5.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Pages '09 should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

  • Moving Pages from one Page Group to Another Group

    Hello,
    How do you move pages, styles, or items from one page group to another page group?
    On the same machine, I have three page groups called Production, Acceptance, and Test. Once I set up a page that I like on the page group Test, what is the best way to move the page(and its items, portlets,etc) to the page group Acceptance, and then move it into Production?
    Also, how does security and approvals affect this? There is only limited amount of people that are able to get into the Test Page Group, or Acceptance Page Group. Would any copying process make sure the page approvers be copied across correctly? Or will manual intervention be needed.
    I'm using Oracle Portal Release 2 (9.0.2) running on a solaris machine.
    Much thanks for your assistance.
    Anson

    hi There,
    As far as i know, the pages can only be moved within the page group but not from one page group to another page group.
    Regards,
    Deepak

  • Copy a page from one page group to another

    Hi
    Is it possible to copy a page from one page group to another?
    Regards,
    Lene

    Hi ,
    Through Portal it is not possible to copy a page from one page group to another .
    There is a feature in Portal WebDav .
    Through a DAV client you can copy page to your local system as a folder and then drag the page to the pagegroup you want to copy .
    Regards
    Medini

  • Copying page from one page group to another

    I need to copy one page or multiple from one page group DEV to page group TEST. I thought of using Portal Export/Import feature for the same, but it will ask for same page group at import.
    Requirement is to keep one set of page group for DEV stage, when it got completed move it to TEST page group in same instance.
    How we can achieve this functionality using single portal instance?
    Thanks & regards,
    Preet

    I did not understand this and isn't working for me. :(
    The message I receive when I click on the Copy link on the Navigator is:
    Click "Copy Here" next to the page under which you want to create a copy of your page. Click the link next to the page group to create the copy under the root page of the page group. You can create a copy of a page only under a page in the same page group as the original page.
    And it only displays the current page group with a tree structure of all the pages in the current page group (page group name being the root).
    Please help me on this as I have a similar requirement and am using 10.1.2 version of Oracle Portal.

  • Transferring an Employee from one Company Code to Another Company Code

    Dear All,
                       we are implementing the HR Implementation for the group of Hospitals, each hospital being an Individual Legal entity, but there is a requirement, where in there is a possibility that the employee may be transferred from one Hospital to other on a short term basis or on a long term basis, and as long as the Employee stays in that transferred place, his salary is to be paid from that particular Hospital,
    As per my understanding, we have to run the seperation action and then go for a hiring action in the new company,,, but this wouldnt solve the purpose if the employee works for 10 days in a month in one Hospital and the rest in the Other Hospital...
    I have come across various posts on sdn regarding the same issue that it is possible, but i didn't find the end result for this one,I would request you to provide me with your inputs on this one.
    Regards,
    Bharadwaj

    Hi ,, I am aware that we need to execute a transfer action, but how can we transfer an employee from one company code to another???  let me explain you with my scenario here....
    HOSPITAL-1 : XYZ1 ( Company Code)
    HOSPITAL-2 : XYZ2( Company Code)
    Hospital 1 (XYZ1) and 2(XYZ2) belong to the XYZ Group of Companies
    both these hospitals are separate legal entities
    an Employee "A" is working in a Hospital 1 ( XYZ1) from 1st of a month till 10th and from 11th onwards he is working in Hospital2(XYZ2).
    if i want to transfer an employee internally from one Personnel Area to another Personnel area or from one org unit to other org unit then i can do it through transfer actions, but how am i supposed to do a transfer action in between two company codes?

  • Transfering Table data from one page to another page in OAF

    Hi All,
    Could you please help me with the following requirement. I am trying to transfer the first page selected records to second page, but running into issue.
    I have 2 custom OAF pages:
    1st Page is Invoice Search page and upon searching for an invoice, user can select 'multi records' (its table region with multi-select) and click on upload button.
    The button internally calls setForwardUrl method and calls 2nd page, where second page contains Advacned Table region to show the selected records from 1st page.
    Since user can select more than 1 record in Search region on first page, I would like to hold all rows in an array of Hashmap with Integer index and transfer it to 2nd page. Following is the hashmap syntax I am using:
    java.util.HashMap<Integer,InvoiceRow> map=new <Integer,InvoiceRow>(); // Here InvoiceRow is a custom CLASS structure with InvoiceNumber and Customer Number as variables inside.
    But if I pass the above HashMap to setForwardURL method, the JDeveloper throwing an exception saying that "setForwardURL cannot invoke" message.
    Could you please help me how can I transfer the first page multiselected records to second page?
    Appreciate your time.
    -- Venkat

    Venket, the approach i told you can try in below way:
    public String getSelectedData()
            String whereclause = "(";
           // String whereclause1 = "(";
         XXCONTAINLINESVOImpl vo = this.getXXCONTAINLINESVO1();
          //OAViewObject vo=(OAViewObject)getXXDPECONTAINLINESVO1();
          // System.out.println("debTEST"+punload);
           Row[] sumVoRow =vo.getFilteredRows("Select1", "Y");
            System.out.println("deb multi select test"+sumVoRow.length);
        if (sumVoRow != null && sumVoRow.length > 0)
         for (int i = 0; i < sumVoRow.length; i++) {
                  String wipEntityId =
                  sumVoRow[i].getAttribute("LineId").toString();             
                  whereclause = whereclause+sumVoRow[i].getAttribute("LineId").toString()+",";
                System.out.println("deb multi select test"+whereclause);
            if (whereclause.length() > 0 && whereclause.charAt(whereclause.length()-1)==',')
                 StringBuilder b = new StringBuilder(whereclause);
                 b.replace(whereclause.lastIndexOf(","), whereclause.lastIndexOf(",") + 1, ")" );
                 whereclause = b.toString();
               //  return whereclause;          
            System.out.println("deb where clause test"+whereclause);
        return whereclause;
    so this method will return the value as like : whereclause=(111,222,333) then put this in one session varibale and pass to the below method from CO
        public void processPOData (String wherclause)
            String query = getXXDPECONTAINDATAVO1().getQuery();//Old queryStringBuffer stringbuffer = new StringBuffer();
                      String newwhereclause ="LINE.LINE_ID IN "+wherclause;
                        System.out.println("DEB NEW where clause:"+newwhereclause);
                         StringBuffer stringbuffer = new StringBuffer();  
                       // stringbuffer.append("SELECT rownum LINE_NUM,A.* FROM (");
                        stringbuffer.append(query);
                        stringbuffer.append("  where ");
                       stringbuffer.append(newwhereclause);
                        ViewDefImpl viewdefimpl = getXXDPECONTAINDATAVO1().getViewDefinition();
                        viewdefimpl.setQuery(stringbuffer.toString());
                        System.out.println("DEB NEW QUERY TEST:"+stringbuffer.toString());
                        getXXDPECONTAINDATAVO1().executeQuery();
    Let me know if stil r u facing isssue
    Thnaks
    Deb

  • How do I move or copy a page from one pages doc to another?

    I used to frequently move or copy a page from one multiple-page Pages document to another just but dragging and dropping the thumbnail.  Since I upgraded I can't do this anymore.  How can I do it now?

    Rhosh18 wrote:
    I used to frequently move or copy a page from one multiple-page Pages document to another just but dragging and dropping the thumbnail.  Since I upgraded I can't do this anymore.  How can I do it now?
    It never worked that way in Pages '09. You have to copy and paste the Thumbnails.
    That no longer works in Pages 5. Sounds like you are not copying and pasting content because that certainly works. Read what VikingOS wrote and do precisely what he said.
    Peter

  • Link from one Page Group to another

    It it possible to click on a link in one page group and link to a page in another page group.

    Create a "Page Link" item, one of the built-in item types. When specifying the attributes for this item, you should be able to choose pages in other page groups.

  • Copy Table Format from One Pages Doc to Another Pages Doc

    I am just wondering if it is possible to copy an entire table from a Pages document and paste it to another Pages document.  Below is what I mean:
    [IMG]http://i11.photobucket.com/albums/a169/JedRaybould/D0A12B2B-F46F-4324-B343-4B9D6 05D52F5-1628-000000B89FCFF3A5_zps47983829.jpg[/IMG]

    I cannot see your link from the office here, but i just used copy/paste and it worked from one document to the other. no issues, table dropped right in.
    Jason

  • Transferring iTunes Metadata from one internal drive to another

    I recently added a new hard drive to my G4 and loaded it with Leopard. My old drive (with Tiger) is still resident in the system. When I used the Migration Assistant to transfer over my data, my iTunes Library transferred just fine, but none of the metadata (playlists, ratings, play counts, bpm) came with it. Everyone keeps telling me just to copy over the whole iTunes folder from one drive to the other, but there are at last count three different iTunes folders on both systems. Could someone please be more specific? Is there not one or two files somewhere that holds this metadata that can be copied from one drive to the other? I had over 50 playlists and had spent HOURS adding bpm info to my library... I'd hate to lose all of that time and effort.
    Thanks!

    Firstly are you intending to keep your Windows installation on the current drive? Is your iTunes data on the same drive?
    If so you don't want to reinstall the iTunes program.
    There are basically two ways of moving iTunes to another drive, method one just moves the iTunes Music folder:
    http://docs.info.apple.com/article.html?artnum=305451
    Method 2 involves moving your iTunes folder so that everything, music and library files is on the other drive:
    Close iTunes.
    Copy the iTunes folder from My Muisc to your chosen location on the other drive.
    Hold down the shift key and start iTunes, when asked to choose a libary, navigate to the iTunes folder in the new location and choose iTunes Library.itl. This assumes all your music is in the iTunes Music folder, there is another step if it isn't.
    Without knowing exactly how you have things set up at the moment and how you want things to be after the move it's hard to choose between the two.
    If you intend to reinstall Windows, of course it is completely different.
    OOps I posted a link to a Mac method, link changed
    Message was edited by: polydorus

  • Transferring library,files from one itunes account to another

    I have two itunes accounts running under the same user. How do I transfer the library and other files from one account to the other?

    I have two itunes accounts running under the same user.
    ??? iTunes accounts don't "run".
    Do you mean you have two iTunes accounts that you purchased songs with?
    You can't transfer them. The account info you purchased them with is embedded into the song file.
    If you are talking about songs in iTunes, just add them to your iTunes.

  • SAP IS Retail: Transferring Generic article from one SAP system to another

    Hi,
    I want to transfer generic article from one SAP IS Retail system to another SAP IS Retail system using ARTMAS idoc using BD10 in sending system. But I could not get article in receiving system in BD11. ARTMAS is not available in BD11.
    How can I process this ARTMAS idoc in receiving system?
    Thanks and Regards
    Richard

    How about using RFC with BAPI to pass the info out?
    It's easier this way.

  • Transferring of employee from One Company Code to Another company code

    Hi Friends,
    There is already configured SAP HR solution for say 1000 Company code, Now I am implementing for another company code 2000, Client has requirement to transfer employees from 1000 ( company code ) to 2000 ( company code ).
    Country is UAE (Gratuity / Pension legal calculation)
    According to me as company code is an legal entity, We need to resign the emplyee in one company code and hire him in another company code. What you say? OR any best SAP Preactice ?
    Thanks
    Jay

    Hello Jay,
    You need to have different PAs for different company codes and assign those PAs to the respective company codes (check IMG: Enterprise Structure -> Assignment -> Human Resources Management -> Assignment of Personnel Area to Company Code).
    Now you need to run action (transfer or org reassignment) wherein you will change the existing PA (belonging to one company code) to another PA (belonging to different company code). This way the employee master in IT 0001 will show different company code from the date of such action
    Goto PA40, choose Transfer actionChange Info group
    0001 COP
    0006 COP
    0009 COP
    0007 INSS
    0008 COP
    0014 COP
    0015 COP
    0588 COP
    OR
    Perform the action Organizational reassignment in PA40 for that employee and change the personnel area. by changing the personnel area the company code will cahnge automatically
    regards,

  • How can I copy/paste a page from one pages document into another pages document?

    I have read the directions in the manual, but when I go to the document where I want to put the page the paste function is greyed out.  I assume this has something to do with styles, but can't find what to do. 

    You got it.
    Paste is greyed when we try to paste a page from a WP document into the thumbnails area of a Layout one.
    It's active if we try to paste in the pages area.
    In the document's tool bar, there is an icon with a + symbol at top left.
    In WP documents it's named Sections, In Layout ones its named Pages.
    Yvan KOENIG (VALLAURIS, France) mercredi 26 octobre 2011 17:50:55
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

Maybe you are looking for