How to Export Selected PageItems as Snippets (CS5/ActionScript)

I want to select certain PageItems on a page and export them as snippets. The problem is that as far as I can tell, the exportFile() method works only on PageItem for snippets. I can not make a Group out of them and export that Group, because making a Group out of the selected PageItems would make them lose their original Layer, and I must preserve their Layers.
What do I do?
TIA,
mlavie

I believe there are plugin Apis for serializing a subset of comments. Also in Javascript
Sent from my iPad

Similar Messages

  • How batch export layers to files in CS5

    Hi,
    I am a newbie in CS5 , I tried to batch export layer to files in CS5 , because I have thousands  PSD files that I need to export layers in  separated png files..
    In each script I made I have the following error.." reference error: dlgMain is not found" ( in french: erreur de reference: dlgMain n'est pas definie)
    How  can I batch export layers to files in CS5??
    Thankyou all by advance for your help.

    I am humbled to be of any help. I truly believe you are one of the unsung heroes of the Photoshop community!
    I lost track of how many custom and ingenious scripts you created for countless other users, in so many online places...
    As a scripts Illiterate, I bow in front of your knowledge and generosity!
    (But Learning After Effects Expressions might in fact made me begin to make tiny steps towards wrapping my head around scripting)

  • How to export selected comments thru code

    Hi,
    Is there any api by which we can export selected/some comments thru code. As exportAsFDF exports all the comments of the document.
    Regards,
    Arvind

    I believe there are plugin Apis for serializing a subset of comments. Also in Javascript
    Sent from my iPad

  • How to export selected columns in a table using expdp of oracle10g

    Hi all..
    I have a table with 10 columns and i want to export only 4 columns(selected columns) data using expdp
    Pl. tell me if we can do this and if yes what is the syntax.
    Thanks..
    Sekhar

    That's not possible, you could use QUERY to specify where clause but not columns in select clause,
    for example,
    QUERY=employees:'"WHERE department_id > 10 AND salary > 10000"'
    you could use
    create table2export as select c1,c2,c3,c4 from tableof10columns;and export the temp table.

  • How to export selected slice..

    how i can export different slices, without loosing the
    root??. Because for each export, i must browse my pc to find the
    folder where the files are.

    sabcinia wrote:
    > Yes. I first export normally to that location... but
    then, when i continue with
    > the rest of slices, i must browse again. i don't know
    why. i only find a way to
    > do it. I change de name of the folder where the .png is
    located, and open again
    > the file, and then export the slices. if i don?t change
    the name, i can't keep
    > the root.
    What version of Fireworks?
    St�phane Bergeron
    reach : connect : communicate
    http://www.webfocusdesign.com
    blog : tutorials : articles : gallery
    http://www.pixelyzed.com

  • How to manually select automated text snippets (e.g. auto numbering)

    Hi,
    I tried looking in the help, cant find anyt
    I have a few occassions where I need to change the text-color to white, because of the dark background. I created a Character Style called "Negative" where I simply set the Text Color to White.
    So far so good. However I am not able to select and apply the style to the automated elements of the paragraph styles like paragraph numbering for example.
    I can only select "Lorem ipsum" from a "1.) Lorem Ipsum" you know. Is there a way to do that without having to define a whole set of new paragraph styles for the other color?
    Thanks in advance.

    Andreball wrote:
    Ah alright! Thanks. I have never even seen the paragraph palette before.
    Just to illustrate why creating a whole set of new paragraph style is not an option for me:
    I have millions of cross-references, which are related to paragraph styles. So if i have to change my Headline 2 to Headline 2 Negative just to edit the color for example, I lose the cross-references and get myself in a huge mess. Semantically my desired editing of color does not require a whole set of new paragraph styles (I have about 7 for the body text only, for example Body Indented, Not Indented (for the first line in column), Quote etc.), doing it manually on the 10-15 pages where it happens, is perfectly sufficient.
    I think this goes into the feature request form.
    Thanks again John!
    Depending on the type's characteristics, you could try defining the text's character color with a very thin paper stroke, a fraction of a point, that would be invisible on light backgrounds, but visible against dark backgrounds. For numbered and bulleted paragraph styles, you'd need to include a character style with the same outline properties in the number or bullet definition.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How do I select one version from multiple stacks and export?

    I have a color copy and B&W copy of 800 images. I want to export the B&W versions only. How do I select just the B&W versions in the stack at one time without having to click on 800 images?

    If you check the filenames, you'll see that the versions have a version name tagged on the end, like "Version 2" when I did a quick monochrome mix of one of my own. Make a smart album with the search term set for text being "Version 2" and you should end up with all the b&w versions. That is, assuming you made them all in the same way and they're all Version 2 versions. Since the initial version would not have the term "Version" attached, you could make the search term "Version" and it would fill with all the 2nd and 3rd et al. versions.
    Just a thought. Give it a try.
    Mark

  • How to export only selected columns of WD ALV to excel

    Hi,
    I have WD ALV report with EXPORT button (since standard button was not working properly i just hide that and added custom one) & standard dropdown to choose layout. Out of 20 columns user may choose n number of columns, the same number of columns i need to transfer to xls. How to export only selected columns to xls. Any method or FM to filter number of columns being transfer to xls. please advise
    Rgds
    sudhanshu

    Hi,
    Where exactly we are (or going to be) using this reference i.e., CL_SALV_WD_CONFIG_TABLE. Im passing contents, filename & MIME type as:
    call function 'SCMS_STRING_TO_XSTRING'
        exporting
          TEXT   = TEXT
        importing
          BUFFER = XTEXT.
    WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
    **path to the word file
        I_FILENAME = 'WDP.xls'
    String Variable
        I_CONTENT =  XTEXT
    File Type
        I_MIME_TYPE = 'EXCEL' ).
    In CL_SALV_WD_CONFIG_TABLE we have few methods related to column settings however not sure where exactly we will be using this class reference. can you please give some idea so that i can do some r&d in that.
    Rgds
    Sudhanshu

  • How to pass select-option filed to Function Module Exporting Parameter

    Hi,
        How to pass select-option filed to Function Module Exporting Parameter.
    Thanks

    Hi,
    DATA: BEGIN OF ITAB5_WRK OCCURS 0,
            KUNNR     TYPE KNKK-KUNNR,  "CUSTOMER #
            SBGRP     TYPE KNKK-SBGRP,  "CREDIT REP
            KLIMK     TYPE KNKK-KLIMK,  "CREDIT LIMIT
            NAME1     TYPE KNA1-NAME1,  "CUSTOMER NAME
            SKFOR     TYPE KNKK-SKFOR,  "TOTAL A/R
            AMT1      TYPE KNKK-SKFOR,  "CURRENT
            AMT2      TYPE KNKK-SKFOR,                          "01-30
            AMT3      TYPE KNKK-SKFOR,                          "31-60
            AMT4      TYPE KNKK-SKFOR,                          "61-90
            AMT5      TYPE KNKK-SKFOR,                          "91-120
            AMT6      TYPE KNKK-SKFOR,                          "OVR 120
            BZIRK     TYPE KNVV-BZIRK,
          END OF ITAB5_WRK.
    SELECT-OPTIONS P_COMP     FOR  T001-BUKRS
      SELECT KUNNR SBGRP  FROM KNKK
             INTO TABLE ITAB5_WRK
             WHERE SBGRP IN P_REP
               AND KUNNR GE '0001000000'
               AND SKFOR NE 0.
      LOOP AT ITAB5_WRK.
        DELETE ADJACENT DUPLICATES FROM ITAB5_WRK COMPARING KUNNR.
      ENDLOOP.
      PERFORM GET_CREDIT_LIMITS.
    *=======================================================================
      IF P_DIST NE SPACE.
        LOOP AT ITAB5_WRK.
          SELECT SINGLE * FROM KNVV WHERE KUNNR EQ ITAB5_WRK-KUNNR
                                      AND VKORG EQ P_COMP
                                      AND VTWEG EQ '20'
                                      AND SPART EQ '10'
                                      AND BZIRK IN P_DIST.
          IF SY-SUBRC EQ 0.
            MOVE KNVV-BZIRK TO ITAB5_WRK-BZIRK.
            MODIFY ITAB5_WRK.
          ELSE.
            DELETE ITAB5_WRK.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *==============================================================
      LOOP AT ITAB5_WRK.
        MOVE: 'F/S'            TO WRK-KKBER,
               ITAB5_WRK-KUNNR TO WRK-KUNNR.
        PERFORM AGING.
        ADD: W_SNFAE  TO ITAB5_WRK-AMT1,
             W_SFAE1  TO ITAB5_WRK-AMT2,
             W_SFAE2  TO ITAB5_WRK-AMT3,
             W_SFAE3  TO ITAB5_WRK-AMT4,
             W_SFAE4  TO ITAB5_WRK-AMT5,
             W_SFAE5  TO ITAB5_WRK-AMT6,
             W_SFAEL  TO ITAB5_WRK-SKFOR,
             W_SNFAE  TO ITAB5_WRK-SKFOR.
        MOVE: 'SPEC'            TO WRK-KKBER,
               ITAB5_WRK-KUNNR TO WRK-KUNNR.
        *PERFORM AGING.*
        ADD: W_SNFAE  TO ITAB5_WRK-AMT1,
             W_SFAE1  TO ITAB5_WRK-AMT2,
             W_SFAE2  TO ITAB5_WRK-AMT3,
             W_SFAE3  TO ITAB5_WRK-AMT4,
             W_SFAE4  TO ITAB5_WRK-AMT5,
             W_SFAE5  TO ITAB5_WRK-AMT6,
             W_SFAEL  TO ITAB5_WRK-SKFOR,
             W_SNFAE  TO ITAB5_WRK-SKFOR.
        MODIFY ITAB5_WRK.
      ENDLOOP.
    FORM AGING.
      *CALL FUNCTION 'CUSTOMER_DUE_DATE_ANALYSIS'* 
      EXPORTING
          BUKRS             = P_COMP           
          KKBER             = WRK-KKBER
          KUNNR             = WRK-KUNNR
          RASID             = 'FEND'
          KLIMP             = 'X'
        IMPORTING
          SFAE1             = W_SFAE1
          SFAE2             = W_SFAE2
          SFAE3             = W_SFAE3
          SFAE4             = W_SFAE4
          SFAE5             = W_SFAE5
          SFAE6             = W_SFAE6
          SFAEL             = W_SFAEL
          SNFA1             = W_SNFA1
          SNFA2             = W_SNFA2
          SNFA3             = W_SNFA3
          SNFA4             = W_SNFA4
          SNFA5             = W_SNFA5
          SNFA6             = W_SNFA6
          SNFAE             = W_SNFAE
        EXCEPTIONS
          NO-AGING_SCHEDULE = 1
          NO_TABLE_INPUT    = 2.
      CASE SY-SUBRC.
        WHEN 1.
          MESSAGE E999 WITH 'PLEASE ENTER AGING SCHEDULE'.
        WHEN 2.
          MESSAGE E999 WITH 'DO NOTHING ??'.
      ENDCASE.
    ENDFORM.                    "AGING
    Thanks

  • How to make a "export selection to PNG"?

    Hi everyone,
    I really need to export selected objects (or groups) to PNG... and I need it to be fast, i cant waste time exporting to PDF and converting in photoshop.
    I made a script to do this, but the quality is soo poor... so what i want to know is:
    -Is it possible to do this with the InDesign SDK?
    ...and if it is possible, how hard it would be?
    Im not really a developer, so i want to know what i have to do, so i can ask a friend to do.... or something like that!
    Thanks!
    (sorry about my bad english)

    InDesign CS4,
    step 1. Create SnapshotUtilsEx() with addTransparencyAlpha is kTrue.
    SnapshotUtilsEx fSnapshotUtilsEx
              = new SnapshotUtilsEx(
                    itemUIDRef,      xScale, yScale, desiredRes, minRes, bleed,
                   SnapshotUtilsEx::kCsRGB,
                   kTrue,  //bool8 addTransparencyAlpha ,
                   kFalse);
    step 2. Draw() with option ...
         fSnapshotUtilsEx.Draw( IShape::kPreviewMode|IShape::kPrinting );
    step3. ExportImageToPNG
        IDFile fileSysFile = target png filename..
       InterfacePtr<IPMStream> pngStream(StreamUtil::CreateFileStreamWrite(fileSysFile, kOpenOut|kOpenTrunc));//, fileType, creator));
       if (pngStream == nil) {
       break;
       status = fSnapshotUtilsEx->ExportImageToPNG(pngStream);

  • How to export / import workspaces from CS3 to CS5

    How to export / import workspaces and other preference settings from CS3 to CS5.

    copy the files from
    (username)/library/preferences/AICS3settings/en_us/workspaces
    to
    (username)/library/preferences/AICS5settings/en_us/workspaces

  • How can i get the selected PageItem in InDesign

    Hi
    i received the hint to post the message into this forum. so i try it...
    After implementing a floating panel and receiveing the "afterSelectionChanged"-Event i would like to get the selected PageItem, if one is selected...
    In the datastructure i can only find the activeLayer (event.target.activeLayer)  and the activePage (event.target.activeLayer), but no activePageItem or so.
    Is there a possibility to get this PageItem?
    best thanks for any hint.
    Lorenzo

    Lorenzo,
    This is the SDK forum. David sent you to the scripting forum: http://forums.adobe.com/community/indesign/indesign_scripting
    But I already answered on the CS SDK forum http://forums.adobe.com/message/3915745#3915745
    Harbs

  • How to export to an Illustrator CS5 file iin CS6

    I am working on a project at school which has Illustrator CS6 Installed and my friend has CS5 on his computer, and his computer would not read a CS6 file. Is there a way to export from CS6 as a CS5 file?

    Do a Save as .ai and take a closer look at the options you can choose there (AI CS5 compatibility).

  • How can I select videos (only videos) and export them from iPhoto?

    I know how to export one movie at a time from iPhoto, but I want to export all (or a bunch) of videos at a time.  They are mixed in with photos, and on many many different dates.  Is there a way to find only the movie files and export them as original files?  I my macbook is full and if I export iPhoto stuff as a batch the videos end up being reduced to one frame only (the sidecar file).  Please advise.  Thanks!!

    MacBook Pro
    Moving Your iPhoto Library External Drive
    iMovie Tutorials
    iMove Unofficial FAQ

  • How to export a data as an XML file from oracle data base?

    could u pls tell me the step by step procedure for following questions...? how to export a data as an XML file from oracle data base? is it possible? plz tell me itz urgent requirement...
    Thankz in advance
    Bala

    SQL> SELECT * FROM v$version;
    BANNER
    Oracle DATABASE 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS FOR 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    SQL> CREATE OR REPLACE directory utldata AS 'C:\temp';
    Directory created.
    SQL> declare                                                                                                               
      2    doc  DBMS_XMLDOM.DOMDocument;                                                                                       
      3    xdata  XMLTYPE;                                                                                                     
      4                                                                                                                        
      5    CURSOR xmlcur IS                                                                                                    
      6    SELECT xmlelement("Employee",XMLAttributes('http://www.w3.org/2001/XMLSchema' AS "xmlns:xsi",                       
      7                                  'http://www.oracle.com/Employee.xsd' AS "xsi:nonamespaceSchemaLocation")              
      8                              ,xmlelement("EmployeeNumber",e.empno)                                                     
      9                              ,xmlelement("EmployeeName",e.ename)                                                       
    10                              ,xmlelement("Department",xmlelement("DepartmentName",d.dname)                             
    11                                                      ,xmlelement("Location",d.loc)                                     
    12                                         )                                                                              
    13                   )                                                                                                    
    14     FROM   emp e                                                                                                       
    15     ,      dept d                                                                                                      
    16     WHERE  e.DEPTNO=d.DEPTNO;                                                                                          
    17                                                                                                                        
    18  begin                                                                                                                 
    19    OPEN xmlcur;                                                                                                        
    20    FETCH xmlcur INTO xdata;                                                                                            
    21    CLOSE xmlcur;                                                                                                       
    22    doc := DBMS_XMLDOM.NewDOMDocument(xdata);                                                                           
    23    DBMS_XMLDOM.WRITETOFILE(doc, 'UTLDATA/marco.xml');                                                                  
    24  end;                                                                                                                  
    25  /                                                                                                                      
    PL/SQL procedure successfully completed.
    .

Maybe you are looking for

  • How to pop up a system message for a specific user when She/He log on SAP

    Hi Friends, As we know SM02 setting will pop up a system message to all users in specific client in a specific period when the user log on SAP system; and we can do the same thing via using function module SM02_ADD_MESSAGE. But now we want to pop up

  • What Web Cam is compatible with the Mac mini

    Hi everyone,               Thinking of buying a Mac mini to use with my Sony TV but I want to connect a web cam also. Does anyone know what web cam works with a Mac mini? Keen to get one but if I cannot find a compatible web cam I don't think I will.

  • Signing In to Business Catalyst

    I changed the email address in my Adobe ID this morning and can't get into Business Catalyst.  I can log into Adobe but not BC.  I thought they were supposed to be the same login info?  Can someone please help????? I've tryed to change my password by

  • No thumbnail view

    Usually I do not use yhe import pane for my media (XDCAMEX), just drag and drop the folder from the card. I wanted to experiment with this pane. The card showed up and I found my clips in the Clip folder. But I have only the option to view my clips i

  • Static in iTunes TV shows playback

    When playing TV shows downloaded from the store, certain parts of the image will become covered in static. Moving the mouse resolves this. The problem also occurs when playing the file in Quicktime rather than iTunes, and moving the mouse still makes