Create a pen path with an action

I can not save an action that create a pen path. Have you idea to resolve it?
Thank you
Marco

You can save any path that you generate as a "Shape". This Shape can then be loaded in as part of your Action. Shapes are available if you select the Custom Shape Tool (under the U key).

Similar Messages

  • Re: Closed Path with Text

    I hope this is a simple enough question and someone can help me out!
    I created a closed path with the pen tool. Then I filled it with text using the 'Text Area Type Tool'. Now I would like to use the closed path as a Shape (in order to fill with color) and I'm not able to reverse it from a Text Shape.
    Is there a way to copy the Text Shape and convert it back to a regular path Shape?
    Thanks so much for your help! I have a bunch of these Text paths that I would like to fill with color.
    ~Owen

    With the Group Selection Tool (the white arrow with the + sign next to it), drag over a portion of the path enclosing the area text, or click on the path, to select the path without selecting the text itself. You may then copy and paste (or paste behind, etc.) and then fill or stroke the path.
    Peter

  • Need a cookbook for creating a compound Path

    Hello together,
    has anyone a short sample for creating a compund path with to pathes inside?
    This doesn't work:
    iErr = sAIArt->NewArt( kCompoundPathArt, kPlaceInsideOnBottom, firstLayerArtHnd, &newArtHnd);    
    iErr = sAIPath->SetPathClosed( newArtHnd, isClosed);
    //Adding segments
    // Adding one child
    iErr = sAIArt->NewArt( kPathArt, kPlaceInsideOnBottom, newArtHnd, &childArtHnd);
    //Adding segments to the child
    iErr = sAIPath->SetPathClosed( childArtHnd, isClosed);
    Should I first create a group? But how to change this group to an kCompoundPathArt Element?
    best reagrds
    Michael

    In the time I tried some variations and ended with this:
    // creating compound Object
    iErr = sAIArt->NewArt( kCompoundPathArt, kPlaceInsideOnBottom, firstLayerArtHnd, &newArtHnd);
    // inserting "Masterobject" (path wich surrounds the children)
    iErr = sAIArt->NewArt( kPathArt, kPlaceInsideOnBottom, newArtHnd, &childArtHnd);
    // creating and inserting children
    iErr = sAIArt->NewArt( kPathArt, kPlaceInsideOnBottom, newArtHnd, &childArtHnd);
    iErr = sAIArt->NewArt( kPathArt, kPlaceInsideOnBottom, newArtHnd, &childArtHnd);
    iErr = sAIArt->NewArt( kPathArt, kPlaceInsideOnBottom, newArtHnd, &childArtHnd);
    at least the result looks like what it should. It's a pitty that there ist no sample how to do it the right way from adobe. Or have I overseen it in "SnippetRunner" in the CS4 SDK. Would be a good place. I will add a request for the CS-Next Thread taht we need codesnippets for every function of the API (like it was in one of the very first SDKs of Freehand. They had a big word dokument which provided such stuff for every function).

  • The feature that i need most...do not activate paths with pen tool

    If you have to add one thing in illustrator...
    Make optional NOT to add new paths to an unselected anchor point with the pen tool.
    I never want to activate paths with the pen tool
    Arrow tool=select
    Pen tool= add new points
    If i want to add new segments to a path, i'd select it first a selection tool.
    To my knowledge, Illustrator is the only vector application that doesn't follow this convention
    In theory,activating the paths with the pen tool should speed the drawing: However when working with illustrations that combine open and closed paths, or if we want to start a new line from an anchor point,  we have to lock, unlock or put in layers in order to avoid to activate unselected paths:
    That's very slow and frustrating, specially when in other apps, you can create complex illustrations in just one layer and with no lock/unlock due a more precise control over the paths.
    I have mentioned this feature before, but every time i face a project with a mix of open and closed paths, is a major problem
    Please change this behaviour or at least, make it optional.

    Yes, it has to be removed in two places and someone who has the authority might take action upon my mentioning it again.
    Here is a link on syncing -  http://support.apple.com/kb/HT1386nHave a read. Someone who uses the Books tab often might give you a step by step guide. Meanwhile, you can email yourself a PDF to keep you going. If it is a one page PDF it will be shown as opened in the email on your iPad. Press on the centre of it to save it to ibooks.If it is more than one page it will be shown as an icon; press on it for the prompt where to open it and choose iBooks, or whatever. I use Goodreader as it has a superior file management system. It costs very little.
    Here is the  link fo the iPad User Guide should you not already have it. You can download it to iBooks - http://support.apple.com/manuals/#ipad
    Finaly, get more help by clicking on iPad Support at the top of the index page on this forum.

  • [ACTION] Please configure the following virtual path with your web listener: /jinitia

    Hi Guys,
    Would kindly suggest me. How to solve this following setting? From the documentation, I could not understand, which file or where should I do the following configuration.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory C:\ORACLE\iSuites\tools\web60\temp.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory C:\ORACLE\iSuites\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory C:\ORACLE\iSuites\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory C:\ORACLE\iSuites\tools\web60\cgi.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory C:\ORACLE\iSuites\JINIT
    I appreciate your information and help.
    Thanks,
    Amit

    Hi,
    while applying developer 6i patch ( 61954129 ) i got following error which says configure the following virtual path for your web listener
    following is the output of forms6iconfig.txt file which oracale suggest to check
    Do you mean (Patch 6194129)? How do you get this error? Is it at the beginning or the end of the installation?
    Configuration Steps for Oracle Forms installation of 06:21:33 2010/12/01
    This file gives details of the configuration steps done for you by the installation process
    (marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
    this file and perform the requested actions.
    [ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\temp.
    [INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
    the Forms Server.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory D:\CLONE\cloneora\8.0.6\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory D:\CLONE\cloneora\8.0.6\tools\web60\cgi.
    [INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
    created for you in the Oracle Forms program group.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory D:\CLONE\cloneora\8.0.6\JINIT.Please make sure you source the application env file before applying this patch, and select 8.0.6 ORACLE_HOME.
    Thanks,
    Hussein

  • One point circle path with pen tool

    I have heard or people drawing a circle path with one point and dragging or something like this.  I would really like to be able to do this! Is this possible?

    Absolutely just hold down the shift key while dragging one of the ellipse tools. Add the Alt|CMD key then circle center will be where you start dragging from.  Marque ellipse tool or ellipse tool. Selection can be turned into path.  But the Ellipse tool is better for its a vector tool. Can create shapes layers, Paths and fill pixels... Pen Tool circle is hard but you can use the pen tool to edit the circle path created with the ellipse tool.

  • How can I create a new keyboard shortcut to toggle load images automatically preferrably with one action?

    I switch the load images automatically selection back and forth in order to save on my 5GB monthly data plan. Is there a utility that would allow me to create a macro of multiple keystrokes to do this with one action? Something like the macro function in Excel? Or is there another way to do this more easily than going to tools, options and clicking on the box? I don't see a shortcut for this item in the standard keyboard shortcuts list

    Hi,
    You could try [https://addons.mozilla.org/en-US/firefox/addon/image-block/?src=search Image Block]. Please also go through the reviews, help and ratings. You can also try to search for similar add-ons via Firefox '''Tools''' ('''Alt''' + '''T''') > '''Add-ons''', Search box on the top right corner, or via the official [https://addons.mozilla.org/ AMO].

  • Indesign issues. Impossible to fill a form created by the pen either with color either with an image. The image is there but is invisible. Same problem with the line (impossible to color it or to change the tickness. Is there anything to change in the pre

    I have recently installed Indesign CC (I had the CS 5.5). I have some issues in doing simple things such as fill in a forma created with the pen either with a color either with an image. The image is there but is invisible. same issue when I want to draw a line. Impossible to color the line  and when I increased the thickness, it was creating a sort of wrap around the shape. have you ever encountered this kind of issue ? Thanking the community for his help.

    You will probably get better help in InDesign
    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Create Free Good item with Action profile assigned to item category

    Hi,
    I want to create a free good for an item in a CRM sales order only during a certain period with an action ie if the main item is entered in a sales order during a certain period, a sub-item which is different from the main item should be created as a free good automatically.
    How should I define the action and the condition ?
    Regards,
    Meenakshi

    Maintain your entries in " Determine Item Category For Free Goods Item"
    For the combination of Order Type-ItemCatgrp(ERLA)-Usage(Free)-Item Category(Tan)
    Lets see if it works for you.

  • Im trying to create a fading button with a fading action.

    I can't figure out how to create a fading button with an additional action to it. I'll do my best to lay out how the actions should work: [red = not working]
    Button > roll over> fade> (that part I have down perfectly) click button> button temporarily replaced with text> roll out of text > process repeated in reverse for smooth fading.
    Every time I set up all these actions and get it the way I want, I run into a bunch of problems:
    Text box holder and text can not be over the button. (Where I need them to sit) When they sit over the button it blocks it from doing any of its specified actions. So I'll make the text box and text a hidden item, then they lose their transition and start flickering when they are interacted with.
    This is basically the last piece of my clients new site and I just need to figure this one little thing out. Please help if possible!

    Try to group the elements so they work together.

  • About creating an AJAX page with DML procedures  using dynamic actions

    About creating an AJAX page with DML procedures in APEX using dynamic actions. Help with limitations.
    I want to share my experience, creating AJAX procedures in APEX 4.0.
    LIMITATIONS
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??
    Here are the steps to create an AJAX Updatable Form using the sample table DEPTS. You can see the demo here: [http://apex.oracle.com/pls/apex/f?p=15488:1]
    1)     Create a blank page
    2)     Add a Report Region for departments (It shows the columns deptno, dname and loc).
    3)     Add an HTML Region and create the elements to edit a Department.
    a.     P1_DEPTNO (Hidden to store PK)
    b.     P1_DNAME (Text Field)
    c.     P1_LOC (Text Field)
    4)     You also have to create a hidden element called P1_ACTION. This will help to trigger dynamic actions to perform DMLs.
    5)     Open Page Attributes and in the HTML Header Section include the following code.
    <script>
         function doSelect(pId){
              $x_Value(‘P1_DEPTNO’,pId);
              $x_Value(‘P1_ACTION’,’SELECT’);
    </script>
    6)     Modify the column DEPTNO in the report, to add column link. In the link text you can use #DEPTNO# , in target you must select ‘URL ‘ and in the URL field write javascript:doSelect(#DEPTNO#);
    7)     Create the following Buttons in the Form Region.
    CANCEL     Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CANCEL’);
    NEW          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’NEW’);
    SAVE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’UPDATE’);
    CREATE          Redirects to URL: javascript:$x_Value(‘P150_ACTION’,’CREATE’);
    8)     Create the following Dynamic Action to Select a Department
    Name:     Select Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     SELECT
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    SELECT dname, loc
    INTO :P1_DNAME, :P1_LOC
    FROM dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    The first limitation, the value of page elements don’t do refresh so I added the following true actions to the dynamic action AFTER Execute PL/SQL Code.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     (none) (leave it blank)
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    9)     Create the following Dynamic Action to Update a Department
    Name:     Update Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    UPDATE dept SET
    dname = :P1_DNAME,
    loc = :P1_LOC
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    10)     Create the following Dynamic Action to Create a Department
    Name:     Create Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     CREATE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    INSERT INTO dept(deptno,dname,loc)
    VALUES (:P1_DEPTNO,:P1_DNAME,:P1_LOC);
    Page Items to Submit:     P1_DEPTNO, P1_DNAME, P1_LOC     
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions BEFORE the Execute PL/SQL Code true Action.
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Function Body
    PL/SQL Function Body:     
    DECLARE
    v_pk NUMBER;
    BEGIN
    SELECT DEPT_SEQ.nextval INTO v_pk FROM DUAL;; -- or any other existing sequence
    RETURN v_pk;
    END;
    Page Items to submit:     P1_DEPTNO
    Affected Elements: Item P1_DEPTNO
    Action:     Set Value
    Unmark *‘Fire on page load’* and *‘Stop execution on error’*
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_DNAME
    Page Items to submit:     P1_DNAME
    Affected Elements: Item P1_DNAME
    Action:     Set Value
    Unmark ‘Fire on page load’ and ‘Stop execution on error’
    Set Type:     PL/SQL Expression
    PL/SQL Expression:     :P1_LOC
    Page Items to submit:     P1_LOC
    Affected Elements: Item P1_LOC
    These actions allow refresh the items display value.
    Finally to refresh the Departments report, add the following true action at the end
    Action:     Refresh
    Affected Elements: Region Departments
    11)     Create the following Dynamic Action to delete a department
    Name:     Delete Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     DELETE
    Action:     Execute PL/SQL Code
    PL/SQL Code:     
    DELETE dept
    WHERE deptno = :P1_DEPTNO;
    Page Items to Submit:     P1_DEPTNO
    Don’t include any false action and create the Dynamic Action.
    Include the following True Actions AFTER the Execute PL/SQL Code true Action.
    Action:     Refresh
    Affected Elements: Region Departments
    Action:     Clear
    Unmark ‘Fire on page load’
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC
    12)     Finally Create the following Dynamic Action for the NEW event
    Name:     New Dept
    Event:     Change
    Selection Type:     Item(s)
    Item(s):     P1_ACTION
    Condition:     equal to
    Value:     NEW
    Action:     Clear
    Unmark *‘Fire on page load’*
    Affected Elements: Items P1_DEPTNO, P1_DNAME, P1_LOC

    I need some help to solve this issues
    •     How Can I Hide UPDATE button while I press NEW button. ??
    •     How Can I Hide CREATE button while I’m UPDATING A RECORD. ??
    •     How can I avoid multiple Inserts or Updates. ??

  • How to create one soap interface with two soap action?

    Hi,
    I need to create one SOAP Interface with two or more webmethods (soap action), for example:
    Interface: MI_Outb_User
    Webmethods: createUser, searchUser, deleteUser.
    Can anybody helpe me?

    Hi Santos,
    I assume you will use one action at a time and depending upon certain condition you want to invoke the webservice and the corresponding action. If this is yes, then please check michaels reply in this thread:
    How can I handle serveral soap actions 
    or see stefans reply:
    Re: Is SOAP Adapter Action field can contain 2 or more "SOAP Actions"
    If this is not, then please ignore it.
    Regards,
    ---Satish

  • Issue with folder action created with automator

    Hello all,
    I'm having an issue with folder actions that i created with automator and it's driving me crazy. Apple says they can't help with things created by the user so this is my only shot at figuring this out.
    Running a Mini 2.3G quad i7, 8GB ram on OSX Mavericks 10.9.2
    My goal is to set up an action to add text to the filename of a file placed into a particular folder. So I open automator and choose folder action. Then I choose the folder I want the action applied to at the top. Then I go to Files and Folders in the library and choose rename finder items and drag it over to the workflow. I select add text, then add the text I want added to the file name and choose before name because I want the added text to preceede the original filename text. I save it then go to the folder I applied it to and right clikc go to services then folder actions and verify that the service is attached to that particular folder and it is.
    Should work right? No. When I place a file in that folder the action runs and adds the text like I want it to... but then it starts to add it over and over again in an infinite loop. It also adds a file with the extension .ds_store to the folder that also has the name added over and over.
    I've tried deleteing all the folder actions and even deleteing all the folder actions themselves saved by the automator in the workflow file in the user library.
    I'm stumped... no idea what to do. A while ago I had used the automator to batch rename files and it worked perfectly. I tried the same steps i listed above to set this action up on a machine in an Apple retail store and it worked... so I know I have the set up right.
    Any help is greatly appreciated.
    Thanks,
    Justin

    Hi JK257
    This is why it happens:
    The folder action is looking for new items in the folder. You drop in a file called "File1". So it renames it "sometext File1". Then it sees this new file called "sometext File1" and thinks "Hey, this is a new file - I'll call it 'sometext sometext File1' because I have to rename every new file." Then it sees this new file called "sometext sometext File1" and thinks...
    You get the picture.
    (the .ds_store is a normally hidden database file which is getting revealed by the same process.)
    The solution is to move the files out of the renamer folder into a receiving folder after they have been renamed:
    Hope this helps,
    H

  • How to create path with arrowhead?

    Hello. I have a document with a single path in it. How can I apply arrowhead efect to this path? I tried using Beautiful strokes suite, but was only able to get arrowhead from existing path. How can I get one if there is no path with arrowheads in the document?

    Yeah, it's really not obvious at all how to do this.
    The key is to use the AIBeautifulStrokesSuite. The steps are as follows:
    Get the art style of the path (AIArtStyleSuite::GetArtStyle()).
    Parse the style (AIArtStyleParserSuite::NewParser(), ParseStyle()).
    Get the focus stroke (AIArtStyleParserSuite::GetFocusStroke), which gets you an AIParserPaintField.
    Populate the AIParserPaintField into a CPaintField (see below for code)
    Use AIBeautifulStrokesSuite::SetArrowheadOptions, and pass CPaintField::GetEffectsDictionary() to the first parameter.
    Call CPaintField::Save().
    Create a new art style (AIArtStyleParserSuite::CreateNewStyle()).
    Apply the style to the path (AIArtStyleSuite::SetArtStyle()).
    Dispose of the parser (AIArtStyleParserSuite::DisposeParser()).
    Note that I was only interested in the 'main' stroke so I used the focus stroke (which in 99% of cases will be the only stroke). If you want to handle multiple strokes, you can iterate over all the paint fields in the style by calling AIArtStyleParserSuite::CountPaintFields() on your parser after parsing the style. You just have to test each one to see if its a stroke or a fill, since obviously you can't apply arrowheads to fills!
    The arrow head itself is set by passing in an AIPatternHandle, which is the handle to a symbol. You can set the start or end, and the other parameters are just the scale to use for the symbols and the alignment of the arrowheads (ArrowTipAlignment, found in AIBeautifulStrokes.h). The standard arrowheads are stored in an AI file in found in Support Files\Required\Resources\en_US (or whatever your language is). You get the path to this folder at runtime using AIFolders::FindFolder() and passing it kAIRequiredLocalizedResourcesFolderType. The filename is Arrowheads.ai.
    If you want to read the AI file as a library, you need to use AIPathStyleSuite::ImportStyles(). You pass it the path to the AI file and it will give you an AIDocumentHandle in return. You can use this handle with methods like AISymbolSuite::GetNthSymbolPatternFromDocument(). Just be sure to retarget anything you load for your current document; to do that, you use AISymbolSuite::RetargetForCurrentDocument(). If you don't retarget the style, you'll add a reference to art that doesn't exist in your document and when you close Illustrator, it will crash (because it will try to free up the symbol twice, once for your document & once for the library you loaded, but it only existed once!).
    CPaintField is a little utility class I created that basically wraps some code I was given by Adobe, so I'm happy to share it. Its useful whenever you're dealing with AIBeautifulStrokesSuite type stuff. THROW_EXCEP_IF() is a macro we use that checks error to see if its kNoErr, and if its not, we throw an exception. You can replace that with your own error checking, or just remove them, as you wish
    class CPaintField {
    public:
      CPaintField(AIParserPaintField& paintField);
      virtual ~CPaintField();
      AIDictionaryRef GetEffectsDictionary() const;
      void Save();
    private:
      ai::Ref<AIDictionaryRef> m_effectsDictionary;
      ai::Ref<AILiveEffectParameters> m_newEffectParams;
      AIParserPaintField& m_paintField;
      AILiveEffectHandle m_paintFieldEffect;
    CPaintField::CPaintField(AIParserPaintField& paintField) : m_paintField(paintField), m_paintFieldEffect(0)
      ai::Ref<AIDictionaryRef> oldBSDict;
      AILiveEffectParameters oldEffectParams = 0;
      AIErr error = sArtStyleParser->GetPaintLiveEffectInfo(paintField, &m_paintFieldEffect, &oldEffectParams);
      THROW_EXCEP_IF(error);
      bool acceptsBSOptions = true;
      if (oldEffectParams) {
        // If an old effect parameters dictionary already exists then we need to clone it,
        // so that the modifications will be done to a new art style, not to the old one.
        // We don’t do this until we discover whether or not the object will accept
        // Beautiful Strokes, though, because it may be that we are not modifying anything.
        acceptsBSOptions = true;
        AIErr error = sBeautifulStrokes->GetParamsDict(oldEffectParams, *(oldBSDict << ai::Replace));
        THROW_EXCEP_IF(error);
        if (acceptsBSOptions) {
          // Create an empty effect params dict
          AIErr error = sLiveEffect->CreateLiveEffectParameters( m_newEffectParams << ai::Replace );
          THROW_EXCEP_IF(error);
          // Clone all the contents of the oldEffectParams into the newEffectParams
          AIErr error = sDictionary->Copy(m_newEffectParams, oldEffectParams);
          THROW_EXCEP_IF(error);
      } else {
        // If there are no oldEffectParams, then the stroke can accept Beautiful Stroke options,
        // but we will have to convert it into an active style first. We do this by creating
        // a live effect param dictionary, and attaching it to the focalStroke. 
        AIErr error = sLiveEffect->CreateLiveEffectParameters(m_newEffectParams << ai::Replace);
        THROW_EXCEP_IF(error);
        AIStrokeStyle strokeStyle;
        AIArtStylePaintData paintData;
        AIErr error = sArtStyleParser->GetStroke(paintField, &strokeStyle, &paintData);
        THROW_EXCEP_IF(error);
        // It is also necessary to transfer the StrokeStyle into the effect params dictionary
        // ourselves, because AIArtStyleParser doesn’t do so for us.
        AIErr error = sDictionary->Set(m_newEffectParams, sDictionary->Key(kStrokeStyleKey), sEntry->FromStrokeStyle(&strokeStyle));
        THROW_EXCEP_IF(error);
      if (m_newEffectParams && acceptsBSOptions) {
        if (oldBSDict) {
          // If we had an oldBSDict, we must have one in the cloned effect params as well.
          // So pull the new Beautiful Strokes parameter dictionary out of there.
          AIErr error = sBeautifulStrokes->GetParamsDict(m_newEffectParams, *(m_effectsDictionary << ai::Replace));
          THROW_EXCEP_IF(error);
        } else {
          // Insert a blank Beautiful Strokes dictionary into the new effects dictionary. 
          AIErr error = sBeautifulStrokes->CreateParamsDict(m_newEffectParams, *(m_effectsDictionary << ai::Replace));
          THROW_EXCEP_IF(error);
    CPaintField::~CPaintField()
    void CPaintField::Save()
      AIErr error = sArtStyleParser->SetPaintLiveEffectInfo(m_paintField, m_paintFieldEffect, m_newEffectParams);
      THROW_EXCEP_IF(error);
    AIDictionaryRef CPaintField::GetEffectsDictionary() const
      return m_effectsDictionary;

  • Creating button with gotoPage(action) and tooltip in Indesign CS4

    Hi,
      I want to create the button with gotopage(action) and tool tip for specific text for pdf generation, using the javascript/AppleScript .If any of you know ,Please do reply for my question.

    Dave is correct. Go to Page isn't available in PDF.
    Instead, use the Hyperlink panel and select an object or text and choose Create New Destination and give it a name.
    Then set the action for the button to be Go to Destination. Select the destination you saved.

Maybe you are looking for

  • Records not matching in RSA3 and my  ODS(Urgent)

    Hi All, I am aware of that data in the ODS will be aggreagated in the ODS accordingly to key fields by which the records loaded in the ODS will be lesser, My request is, Plz walk me through the best possible way in step wise to compare the records in

  • [CS3 - JS - Mac] Problem with encoding

    Hi, I made a script that perform a lot of actions on ID. Everytime this script performs an action it writes a line on a global variable and at the end of the script write this var into a text file ( in the Document folder). Yes, it's a log file... Wh

  • Finder crashes while generating PDFs in preview

    Hi guys, i've got a little problem. Everytime i browse with the finder to PDFs it chrashes, while generating PDFs in preview. Also it takes ages to generate the preview for a PDFs with about 1MB. any hints and tipps about that problem ? thanks in adv

  • How do I embed a color profile in an untagged picture that is displayed incorrectly as sRGB?

    I have a set of JPEGs that have been stripped of their color profiles (AdobeRGB). Lightroom assumes that they are sRGB images and displays them incorrectly. Is there any function in the program that will let me embed the correct (AdobeRGB) profile to

  • Security issues in Mavericks 9.04

    I just had a secure scan done on my Mavericks server. The main issues seem to be: OpenSSL Running Version Prior to 0.9.8za Upgrade to OpenSSL version 0.9.8za or newer. Apache mod_negotiation Multi-Line Filename Upload Vulnerabilities (Upgrade to Apac