Calling Specific Layers in Actions

Hi All,
Any help you have on this would be really appreciated.  I have a variety of Illustrator templates set up to use for different projects and they never vary.  There's a huge amount of volume associated with these projects, so many processes need to be done via actions.  My question is:
Is there a way to call layers using actions in Illustrator, much like the "Select Object" script in the Actions panel (which can be scripted itself)?
For example, let's say I have a template and it has two layers, always (because it's an Illustrator template, it doesn't vary).  One layer is labeled "Print" and one layer is labeled "Press Notes" (and is set as a "template" in the layer attributes).  I want to have an action that strips out the "Press Notes" layer every time.
It's easy enough to do this with individual objects (Attributes>Notes, then write a script that calls the variable(s) in the note) but I can't figure out how to script layers.
I'm running Leopard, but I need something that's cross-compatible, so I can't rely on Applescript and don't know enough Javascript to solve it that way.
Thanks again~

Actions will not move to Layers, as you've discovered. but you can accomplish what you want through a series of "Lock Others" and "Unlock All Layers" and "Flatten Artwork" commands, which are recordable. They are accessed from the Layers panel fly-out menu.
Illustrator always selects the top layer when a file is opened, so the sequence depends on how your template is constructed. For example, to remove the bottom layer, the sequence would be:
Layer: Lock Others
Select All
Lock
Layer: Unlock All Layers
Select All
Clear
Unlock All
Layer: Flatten Artwork
Hope this helps...
Mike D

Similar Messages

  • How to select specific layers as a book mark

    Im making a warehouse blueprint type document where i want to have lighting, emergency exits etc, the bookmark will select specific layers.i follwed this tutorial and got stuck.  http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7c5b.w .html.  where is said Select the Link tool !http://help.adobe.com/en_US/acrobat/X/pro/using/images/AX_AddLink_Md_N.png!, and drag in the document pane to create a link.  i can't see the document pane?  please help

    so its this that im having a problem with 'Associate layer visibility with a link destination', i have a second book mark its got for its action set layer visbauilty, i just need to add the currently selected layers to that book mark please help

  • GetURL:javascript blocked when called from a frame action in flash?

    Hi,
    I'm wrapping a load of flash/html eLearning content into air
    packages - or at least I was!
    The content is really old - flash 6 - and part of how it
    works is once it has loaded, it calls a javascript function, via a
    frame action. Each eLearning module relies on this call getting
    made...
    Sadly, this javascript call is never received - and having
    done a test it is purely down to the call being from a frame rather
    than a button (or other user interaction).
    eg. a movie with 10 frames. frame 10 has this action:
    (remember this is flash 6!)
    stop();
    getURL("javascript:foo());
    foo is never called.
    But put a button in with:
    on(release){
    getURL("javascript:foo());
    that works fine. Same call, but via a button.
    So really the question is - with air (or even is it something
    in new flash security?) - is there some reason why a frame action
    cannot call javascript? And if so - is there a parameter that can
    be set (like allowScriptAccess type thing - although tried that!)
    that will allow it again? Basically with over 1000 different flash
    movies, I'm not really in a position to re-code (eg.
    ExternalInterface does work! But can't recode 1000 movies to use
    that!).
    I've searched and can't see anything saying specifically a
    frame action call to javascript will be ignored, but clearly it
    is...
    Any idea, anyone?
    Thanks.

    You are calling the script while the mouse button is still
    down-- a
    hijacking truck.
    While it still works in older/unpatched IE, Microsoft has
    disabled
    resizeBy/To and moveBy/To while the mouse button is down.
    Obviously, when
    you have to click the Alert dialog's OK button, the mouse is
    no longer down.
    You'll need to take a different approach.

  • Has anyone gotten the error message after statement of error from Adobe:  Mismatched begin and rollbackUserAction calls? (Import::import action to. generate page bitmap for CONTACT US)

    Help!  Full error statement:
    Adobe Muse CC has encountered an error and will now exit.  Please report the last few actions you took leading up to this error to the Adobe Muse CC team.
    Mismatched begin and rollbackUserAction calls? (Import::import action to. generate page bitmap for CONTACT US)

    Please send us the .muse file and the MuseLog.txt file from your Documents folder to [email protected] Include a link to this thread for context. If the file is larger than 20Mb you can use a service like Adobe SendNow, Dropbox, WeTransfer, etc. (If you use a service, please include your return e-mail address in the body of the message, since not all services include it in the sharing invite they send.) Thanks.

  • How to Call HTML Layers from Flash?

    how to Call HTML Layers from Flash? i need a help on example
    or script.

    What do you mean html layers? You can call JavaScript on the
    page using the
    ExternalInterface class. There's examples in Help if you look
    up the EI
    class, and it's call method.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Info group being not called while using Dynamic Actions

    Hi,
    I am facing a scenario that, while we execute some action from PA40 like termination, then it will call my subroutine for dynamic actions which will be calculating the last day worked and updating the same in Info Type 0041.
    For updating the IT 0041, i am using the function module HR_MAINTAIN_MASTERDATA. and IT0041 is getting updated properly. But now the problem is coming that when the control comes out of subroutine, it is going back to the PA40 Screen and not to the next screen of the Info group.
    What can be the cause for the same.
    RND I have done on my part: I have commented/uncommented the return parametre RP50D-Date1, commented/uncomented the use of function modules to lock and Unlock the pernr.
    Please give ur comments.
    Thanks in Advance.

    Hi Nisha,
    Not sure if I have understood correctly, but if you just wanted to calculate leaving date and write the same date in IT0041 then you don't need a function module:
    1. Create a small program, as follows:
    REPORT  ZHR_PY_R0008                           .
    INCLUDE MPPDAT00.
    TYPE-POOLS HRQTA.
    TABLES: P0000,
            RP50D,
            T001P.
    ROUTINE CALLED BY TABLE T588Z
    FORM CHANGE_DATE.
      RP50D-DATE1 = P0000-BEGDA - 1 .
    ENDFORM.                    " CHANGE_DATE
    This program will give you the last working day written to RP50D-DATE1
    2. Simply enter the following lines into table T588Z:
    0000 04 499*- LEAVING ACTION - Populate Infotypes with leave date -*
    0000 04 500 P T001P-MOLGA='08'
    0000 04 501 P PSPAR-TCLAS='A'
    0000 04 502 P PSPAR-MASSN='*'/X   (* equals your leaving action types)
    0000 04 503 P PSPAR-MASSN='*'/X   (* equals your leaving action types)
    0000 04 504 F CHANGE_DATE(ZHR_PY_R0008)
    0000 04 505 ******** INF.0041  ********
    0000 04 506 I COP,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D
    0000 04 507 W P0041-DAR07='*'   (* equals your date type)
    0000 04 508 W P0041-DAT07=RP50D-DATE1
    or if you are simply looking to delimit IT0041 with the leave date then replace lines 506-508 with:
    0000 04 506 I MOD,0041,,,(RP50D-DATE1),(RP50D-DATE1)/D
    0000 04 507W     P0041-ENDDA=RP50D-DATE1
    This will solve your problem : - )

  • Calling more than one action at a time in fault policy file

    hi
    can any one tell me how to refer two actions at a time in faultpoicies.xml file . To make it clear to you i want to call both rethrow action and human intervention action after retry . please refer below faultpolicy file
    <?xml version="1.0" encoding="windows-1252" ?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="BpelFaultMechanism"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="retry-action"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="retry-action">
    <retry>
    <retryCount>4</retryCount>
    <retryInterval>2</retryInterval>
    <retryFailureAction ref="rethrow-action"/>
    </retry>
    </Action>
    <Action id="human-intervention-action">
    <humanIntervention/>
    </Action>
    <Action id="rethrow-action">
    <rethrowFault/>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    please reply asap
    Regards
    siva

    Hi FRNzzz!! wrote:
    hi i am using oracle 10g database.
    can it be possible ?
    in if condition we can have more than one variable in one condition
    if a=100 then
    b:=200;
    c:=300;
    end if; how it will be in case statement ? i have searched lot on internet but didnt get
    case
    when a=100 then 200, 300 ... ???
    thanksnot sure if I got your question correctly, is this what you are looking for?
    SQL> ed
    Wrote file afiedt.buf
      1  declare
      2      a number := 100;
      3      b number;
      4      c number;
      5  begin
      6      case
      7        when a = 100 then
      8          b := 200;
      9          c := 300;
    10        when a = 0 then
    11          b := 300;
    12          c := 400;
    13        else
    14          b := 0;
    15          c := 0;
    16      end case;
    17  dbms_output.put_line('a :'||a||' b :'||b||' c :'||c);
    18* end;
    SQL> /
    a :100 b :200 c :300
    PL/SQL procedure successfully completed.

  • Calling specific put/get commands from the communication channel

    Hello,
          I need to execute a specific command to place or read the file from the bank file server.
    The command for placing the file is something like this -
    put localfilename %localfilename%SECUPGPENA%GPEXRIP%%B
    I am trying to use the following command in the "Run Operating System Command Before Message Processing"  section of the communication channel
    "put %F %%F%SECUPGPENA%GPEXRIP%%B"
    But the files are not being transferred.
    I believe that I need to replace the actual message processing command by the given command by writing a script and calling it.
    Please give me any pointers for solving the issue.
    Regards,
    Mayank

    Hello,
            Thanks for your response.
    I have already gone through the above blogs.
    The issue is that I need to replace the actual command used in the file transfer with the given put command.
    Please let me know if there is a workaround for it.
    Regards,
    Mayank

  • Would like to automate open stacks as layers + run action. Possible with script??

    I would like to automate part of my workflow that involves opening stacked images as layers in Ps CS5 and running an PS action that composites the layers and processes the image. Something similar to 'Process Collection' in Bridge CS5 only with my own action instead of merge to HDR/Panorama.
    Apparently this is possible with Mac 'Automator' - is there anything I can do in Windows? I don't have any experience with writing scripts, but have friends that can help. Can someone tell me if its possible and point me in the right direction please?

    Sorry but a script can not access Lightroom so your first step isn't possible.
    Second step is Lightroom not Photoshop.
    Maybe something could be done if you could work out a Photoshop Only workflow.

  • How to call Function through Soap Action

    Hi all,
    I have a Receiver communication channel in PI that sends data to from the interface to Oracle Webservice.
    At that moment a function should be called with two constant parameters and the third one is the xml with all the data.
    updateExchangeRates("CJV", "connector", ratesXML)
    xml schema:
    Anyone knows if it is possible to call that function in PI soap action and how should I do it?
    I've tested soap action with
    updateExchangeRates("CJV", "connector", list_wrapper)
    and got the error:
    invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
    Thnaks in advance,
    Regards

    Hi,
    Please refer the below blogs for dynammic soap action
    How to set soap action in soap adapter during configuration when there are multiple operations in a web service?
    Dynamically providing URL and action values to receiver SOAP communication channe
    regards,
    Harish

  • SAP CRM : Call popup in CUSTOM ACTION (i have a dump : ASSERTION_FAILED )

    Hi to everyone,
    i have a problem to create a popup inside a new custom action in SAP CRM. I have a dump ASSERTION_FAILED.
    Could somebody help me to fix the problem,please?
    Thanks in advance.
    Dario.

    Hi,
    in this case i have to write my code inside a custom action. The problem is that i have no a standard controller and ME instance.
    So i tried to import controller from memory by IMPORT/EXPORT stataments, but when i create popup the system gets a dump :
    ASSERTION_FAILED
    Code is as follows :
        DATA zlc_controller TYPE REF TO cl_bsp_wd_component_controller.
        CALL FUNCTION 'ZCRM_CONTROLLER_GET'
          IMPORTING
            ex_controller = zlc_controller.
        DATA zcl_me TYPE REF TO zl_srqm_inc_incidentovp_impl2.
        CALL FUNCTION 'ZCRM_ME_EHONSAVE_GET'
          IMPORTING
            ex_me = zcl_me.
              lc_controller TYPE REF TO cl_bsp_wd_component_controller,
              lc_view TYPE REF TO cl_bsp_wd_controller.
       IF lr_confirm_popup IS NOT BOUND.
    Message
         MOVE text-t01 TO l_text.
    Title
         MOVE text-tit TO l_title.
        CALL METHOD zlc_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'TITLE'
            iv_text           = 'TEXT'
            iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno "OK Button
          RECEIVING
            rv_result         = lr_confirm_popup.
        lr_confirm_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
        lr_confirm_popup->set_on_close_event( iv_event_name = 'eh_closepopup_at_save'
                                              iv_view = zcl_me ).
        lr_confirm_popup->open( ).
    Thanks.
    Dario.

  • How to Call smart form in Action

    Hi All,
    Could some one tell me how to call the smart form in action.
    Eg. PB40 - Offer Contract Action.
    Appreciate your respnse.
    Regards
    Raj

    Hi ,
    attached you find  some  abap code to call a smartform with some comments in it. Hope that helps:
    DATA: l_fn_name               TYPE rs38l_fnam
          , l_devtype               TYPE rspoptype
          , ls_output_options       TYPE ssfcompop
          , ls_control_parameters   TYPE ssfctrlop
          , ls_job_output_info      TYPE ssfcrescl
          , l_pdf_fsize             TYPE i                      "#EC NEEDED
          , lt_otf_tab              TYPE tsfotf
          , lt_pdf_lines            TYPE TABLE OF tline
    To do
       The mapping from the UI structure to the Smortform structure has to be
       implemented here or in a pirvate method.....
    Call function module u201CSSF_FUNCTION_MODULE_NAMEu201D to get the name of the smartform.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = zh38tm_cl_zz_2gen_bl_constants=>c_smartforms_hipo
        IMPORTING
          fm_name            = l_fn_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       Call function module u201CSSF_GET_DEVICE_TYPEu201D to get the print parameter
        CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
          EXPORTING
            i_language             = sy-langu
          IMPORTING
            e_devtype              = l_devtype
          EXCEPTIONS
            no_language            = 1
            language_not_installed = 2
            no_devtype_found       = 3
            system_error           = 4
            OTHERS                 = 5.
        IF sy-subrc = 0.
        Fill label structure to smartform
         ls_labels = zh38pm_cl_zz_bl_perf_plan=>set_sf_label( ).
         Set output parameters u201CLANGUAGEu201D, u201CNO_DIALOGu201D and u201CGETOTFu201D
          ls_output_options-tdprinter     = l_devtype.
          ls_control_parameters-no_dialog = abap_true.
          ls_control_parameters-getotf    = abap_true.
          ls_control_parameters-langu     = sy-langu.
         Call smartform with the structures u201CIMP_S_PERF_PLANu201D, u201CCHG_S_PRINT_PLAN
          CALL FUNCTION l_fn_name
            EXPORTING
              control_parameters      = ls_control_parameters
              output_options          = ls_output_options
              s_doc_processing        = gs_doc-s_doc_processing
              s_header_display        = gs_doc-s_header_display
              s_header_texts          = gs_doc-s_header_texts
              s_header_status         = gs_doc-s_header_status
              t_header_appraiser      = gs_doc-t_header_appraiser
              t_header_appraisee      = gs_doc-t_header_appraisee
              t_header_part_appraiser = gs_doc-t_header_part_appraisers
              t_header_other          = gs_doc-t_header_others
              s_header_dates          = gs_doc-s_header_dates
              t_header_add_data       = gs_doc-t_header_add_data
              t_body_columns          = gs_doc-t_body_columns
              t_body_element_descr    = gs_doc-t_body_element_descr
              t_body_elements         = gs_doc-t_body_elements
              t_body_cells            = gs_doc-t_body_cells
              t_body_cell_notes       = gs_doc-t_body_cell_notes
              t_body_cell_val_values  = gs_doc-t_body_cell_val_values
              t_body_cell_val_ranges  = gs_doc-t_body_cell_val_ranges
              t_body_cell_val_c_like  = gs_doc-t_body_cell_val_c_like
              t_body_cell_val_descr   = gs_doc-t_body_cell_val_descr
            IMPORTING
              job_output_info         = ls_job_output_info
            EXCEPTIONS
              formattinl_error        = 1
              internal_error          = 2
              send_error              = 3
              user_canceled           = 4.
          IF sy-subrc = 0.
            APPEND LINES OF ls_job_output_info-otfdata TO lt_otf_tab.
            exp_t_otf = lt_otf_tab.
           Call function module u201CCONVERT_OTFu201D to convert the smartform data
          to exporting parameter u201CEXP_PDF_XSTRING
            CALL FUNCTION 'CONVERT_OTF'
              EXPORTING
                format                = 'PDF'
              IMPORTING
                bin_filesize          = l_pdf_fsize
                bin_file              = exp_pdf_xstring
              TABLES
                otf                   = lt_otf_tab
                lines                 = lt_pdf_lines
              EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                OTHERS                = 4.
            IF sy-subrc ne 0.
              CLEAR exp_pdf_xstring.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDIF.
    First you have to determine the smartforms function modules name the wxecute it.

  • How to call particular method in action class from Portlets StrutsContent

    I am developing a web application which uses weblogic portlets and struts. This is what I have for now in the .portlet file.
    +<netuix:strutsContent action="getStudentList" module = "people/students"+
    refreshAction = "getStudentList" reqestAttrpersistence="none"/>
    I want it to change something like this:
    +<netuix:strutsContent action="getStudentList.do?method=allGrads" module = "people/students"+
    refreshAction = "getStudentLis.do?method=allGrads" reqestAttrpersistence="none"/>
    But this is not working. So how can I achieve something like that?
    Thanks
    Edited by: user13634949 on Jun 23, 2011 1:22 PM
    Edited by: user13634949 on Jun 23, 2011 1:22 PM

    No, i dont know how to call other than main methods from other classes
    And one more doubt i have i.e. Like in C can we see the execution of the program like how the code is being compiled step by step and how the value of the variable changes from step to step like(Add Watch).........

  • Calling an situation-sensetive action in an jsp-file

    Hi all,
    I have to call an action (kind of: <html:form action="/actions/myInfos/studentListTaskBeurteilungenAction.do" method="POST"> in an jsp file, but I have to give the action two paramters as well I have in this jsp.
    I tried things like:
    <c:set var="tt" value="${requestScope.info}"/>
    <html:form action="/actions/myInfos/studentListTaskBeurteilungenAction.do?studgruppe='<c:out value='${tt[5]}' default='?'/>'&taskgruppe=<c:out value='${tt[6]}' default='?'/>" method="POST">
    but there is a problem with the "s and 's , because he doesnt understand, that he has to intepret the commands to get a String out of them but thinks they are already the strings.
    Does anybody know, how to solve this problem. (Without Forms if possible, because in the target-action i'm using a different form than in the source-action.
    Thank you all
    Thomas

    <c:ur var="action" value="/actions/myInfos/studentListTaskBeurteilungenAction.do">
      <c:param name="studgruppe" value="${tt[5]}"/>
      <c:param name="taskgruppe" value="${tt[6]}"/>
    </c:url>
    <html:form action="${action}" method="POST">

  • Combine standard task (ABAP method call) and additional UWL Action Handlers

    Hi, i have defined a task with an asynchronous ABAP method call and a terminating event which i want to use "as is" in the universal worklist, that means that the standard action has to be the ABAP method call defined for the task.
    In addition to that i want to add an extra button to the workitem view in the worklist which opens a web dynpro application. The web dynpro needs a parameter from the workitem container. Opening the web dynpro is not required for completing the task, so i do not consider using secondary methods.
    I created an UWLConfiguration for the task type without defining the defaultAction attribute, since defaultAction should not be overwritten. I wanted to use SAPWebDynproABAPLauncher to generate the button since i can easily include values from the workitem container in the call.
    When executing a workitem from the worklist the ABAP method call is not performed, instead a window opens which just displays the workitem. The button to web dynpro is generated and works fine.
    Does anyone have a clue how i can use UWL to define an additional button with SAPWebDynproABAPLauncher without overwriting the standard task definition?
    My definition:
    <ItemTypes>
        <ItemType
    name="uwl.task.webflow.TS95100103"
    connector="WebFlowConnector"
    defaultView="DefaultView">
          <ItemTypeCriteria
    systemId="ED1CLNT100"
    externalType="TS95100103"
    connector="WebFlowConnector"/>
          <CustomAttributes>
            <CustomAttributeSource
    id="WEBFLOW_CONTAINER"
    objectIdHolder="externalObjectId"
    objectType="WebFlowContainer"
    cacheValidity="final">
              <Attribute
    name="HROBJECT_OBJEKTID"
    type="string"
    displayName="HROBJECT_OBJEKTID"/>
            </CustomAttributeSource>
          </CustomAttributes>
          <Actions>
            <Action
    name="launchWebDynPro"
    groupAction=""
    handler="SAPWebDynproABAPLauncher"
    returnToDetailViewAllowed="yes"
    launchInNewWindow="yes"
    launchNewWindowFeatures="resizable=yes,scrollbars=yes,
    status=yes,toolbar=no,menubar=no,
    location=no,directories=no">
              <Properties>
                <Property
    name="WebDynproApplication" value="hr01_app"/>
                <Property
    name="newWindowFeatures"
    value="resizable=yes,scrollbars=yes,status=yes,
    toolbar=no,menubar=no,location=no,directories=no"/>
                <Property
    name="DynamicParameter"
    value="candidacy_id=${item.HROBJECT_OBJEKTID}
    &amp;from_workflow=X"/>
                <Property
    name="openInNewWindow" value="yes"/>
                <Property
    name="System" value="SYSTEM_ALIAS_ERP"/>
                <Property
    name="WebDynproNamespace" value="hr01"/>
              </Properties>
              <Descriptions default="Show"/>
            </Action>
          </Actions>
        </ItemType>
      </ItemTypes>
    Thank you very much, best regards, Martin
    Edited by: Martin Sommer on Dec 1, 2008 5:51 PM

    found a solution with transaction launcher and custom transaction

Maybe you are looking for

  • Insert a single space into a NOT NULL column defined as CHAR(1)

    Hi, I am trying to run a C program in which I am inserting a space character into a database table, where the column has been defined as CHAR(1) NOT NULL. I am initialising a variable defined in C as: char, with a blank but after running the insert s

  • "  ')' expected error..........

    i have defined a function, and the compiler is giving me "')' expected " error... here is my code package ab; import java.io.*; import java.util.*; import com.db4o.Db4o; import com.db4o.ObjectContainer; import com.db4o.ObjectSet; public class Test3 e

  • OBIEE Installation Problem

    Hi I installation process, " *Please Specify a location for a valid JDK Installation*" error is coming. In my system java version 1.6.0_26-b03 is available. I was given the enviroment variable of CLASS_PATH,JAVA_HOME,PATH. Same path java programm is

  • Photo transfer sync?

    Purchased photo transfer app on Imac while iPad was plugged in. App shows up on iMac but will not transfer to iPad? Any ideas? Thank you, John

  • Unable to start remote desktop connection broker

    somehow I could no longer start remote desktop connection broker service. I noticed that Windows image acquisition (WIA) service could be started manually and then it stopped by itself. I am not sure if they are related or not. From event viewer, I s