Anchor of liberation for group object

Hi all

How to release the anchor who has a group of objects, is at object - it assets to find the object anchored with group. I need to find these object anchored with Group and release anchor, if the object is placed as inline I can find other objects to anchor without a group, but not with the group. How to find and release these objects using script?

Thank you

Jason

Hi Jason,

The subject of the communication of anchored objects, a generic routine has been given here:

http://forums.Adobe.com/message/4062574#4062574

This is a slight adjustment that only target groups:

var a = app.activeDocument.allPageItems,
    t;

while( t = a.pop() )
    {
    t.isValid &&
    (t instanceof Group) &&
    (t.parent instanceof Character) &&
    (t=t.anchoredObjectSettings).isValid &&
    t.releaseAnchoredObject();
    }

@+

Marc

Tags: InDesign

Similar Questions

  • Change the display time for grouped objects

    Hello, I have problems to change the display time for the grouped items. I use 7 Captivate and I love how now grouped items display only as an element in the timeline because it reduces the number of lines visiblein the chronology for each object on a slide. However, now that the grouped objects is more individually appear in the timeline panel, I can't see all the adjustments for group objects together.

    If someone else has had this problem and is there a work around? My main problem is that if I need to extend or shorten the audio to the slide, and I assigned a tip action to be grouped in order to adjust the grouped object to match the audio, I must now separate adjust, regroup, then reset the advanced action by using the name of the new group. It's frustrating and tedious.

    To enlarge and view the items grouped on the timeline, you need to click the arrow next to the group name. Once you develop, you can select the individual object and adjust the timings.

    Alternatively, you can select the individual object in the Group on the slide and adjust the timing of the accordion of timing. You can do it without separate.

    Anthony

  • JS for resizing and scaling of grouped objects

    Hi, someone at - it pls advise how to write JS to resize and scale grouped objects...

    For example, if the group objects consists of forms and texts, when resized and scaled the text must also be enlarged or reduced as appropriate...

    Thank you very much..

    App.Selection [0] .horizontalScale = app.selection [0] .verticalScale = 50;

    Works for me - text frames get revised down with text and everything. It seems not serious if they are in a group or not.
  • Outline/background Style for group Plugin objects?

    So I'm working on a plugin that is based on the creation of a PluginGroup and I started with the example of the live shadows.  So far everything is fine, but if you want to change the outline/fill style of the object that has the live shadow you must undo the plugin group, adjust the style on the original path and re-apply the Drop Shadow Live.   Is there a way to avoid this step?   Can I tell illustrator this plugin group object knows the style of outline and provide a way to get/set the style of the original object contour/filling directly?

    Now it is simply the flow of very heavy workload, but in the future as my plugin group object becomes more complex and has its own data, it will be unreasonable to destroy/rebuild just to be able to adjust the width of the line.

    -Kurt

    OK, sorry. For more visit, it is true that I can adjust the news of the race for the path that my group of plugin included.  I guess the problem I have is that I can adjust the width of the line by using the options menu in the tab of the race, but the options by default (top of the screen) available for this path is no longer include the options of fill/outline.

    This makes sense; the control in the upper panel displays items based on selected art. Technically, plugin art has no border or background, because they could be literally anything.

    So I start with a path, and top included options fill, stroke, opacity, basic dimensions.   When I (as shadow) put this way under my group plugin options above reduce just the opacity and basic analytical information.   The text selection is it's a Plugin object (if I select the full path) or a path so I select that some parts of the track, but I never get the fill/outline options.

    Because I can actually adjust the options of race without undo/redo the group object (more on the tab of the stroke) and my plugin reacts correctly, I suppose that this issue went to "major problem making my unusable pluin" the "minor problem that may confuse the first time users and is mildly annoying."

    So I guess my question brought down to: is it possible that my plugin object can still get the contour/background options in the options at the top bar?  (Sorry my illustrator terminology isn't at the height...) If this is probably not the right term for this space.)

    The terminology is 'control panel' I think

    In what concerns obtaining STROKE & fill to appear up there? Its technically possible, but you should be able to talk to the Panel of control through the SDK - currently there is no header, unfortunately, to do so. I think you're out of luck, at least for the moment, unless someone from Adobe can help you. Without that there is no way to inform the control panel it must show, at least as far as I know.

    Just now, I have no idea how to debug a plugin.  I've resorted to a communication around a FILE * and fprintf'ing which, and then by looking at the file after a race.  Which is a rather painful to debug way. : b

    Debugging is not too difficult. Just make sure you point your debugger to Illustrator.exe. If you create debug versions, after that he must respect the breakpoints that you set.

    I managed to get the plugin to the top and the functioning of this morning.  (With a few bugs still in there).    Because the debugging/development cycle for the plugin was so painfully, in fact, I developed all the features for the plugin in python using pygame and some data structures that mimic the illustrator structs.  I then super fast iterative development in python and then only had to translate all this in C++ and debug some errors, I have introduced in the translation process.   Kind of crazy, but my machine that has Illustrator on it is quite slow and the illustrator of compilation-raise poke if the bowels of goat fprintf in my output file of debug cycle is super painful.  Not a good way to visually debug a ton of math difficult, etc.  The trick of python has really made a lot of fun.

    I have not worked with Python in a few years, but I really enjoyed working with her!

  • Group object help

    I have 3 address spaces of category C I need to define an access list. Most of them will have www, SSL, FTP...

    Is there a way I can use the group object or define a range of addresses...

    for example:

    I want WWW, 80, SSL, FTP on the addresses 216.82.64.61 - 216.82.65.99

    How can I do this without having to type everything in?

    Thank you!

    No problem. And Yes, we can also manage your other application. Just add the following (assuming that the inside/outside interface but this may change as needed):

    public static 216.82.0.0 (Interior, exterior) 192.168.0.0 255.255.0.0

    With this command in place, the PIX will replace the '192.168' with '216.82"on all packets that pass through the interfaces in question. The last 2 bytes will be unchanged.

    Is that what you're looking for?

    Scott

  • change the text of legend group object image size figure

    I need to change the text frame size legend for figure based on the width of the figure in grouped objects

    How to do it please advice.

    Your information and code are not accurate! > Some parentheses are missing, expand the textframe 240 or the width of the image?

    However: Everything made to the works contained in the user interface, it expands the scope of the legend in my test to the right. I decided to write an own function for editing.

    main();
    
    function main() {
    
    var curDoc = app.activeDocument;
    var allGroups =  curDoc.groups;
    
    for (var i = 0; i < allGroups.length; i++) {
      var curGroup = allGroups[i];
      var pItems = curGroup.pageItems;
      if (pItems.length != 2) { continue; }
      for (var j = 0; j < pItems.length; j++) {
        var curItem = pItems[j].getElements()[0];
        var constrName = curItem.constructor.name;
        if (constrName == "Rectangle") {
          var rect = curItem;
        }
        else if (constrName == "TextFrame") {
          var tf = curItem;
        }
      }
      var rectGB = rect.geometricBounds;
      var tfGB = tf.geometricBounds;
      tfGB[1] = rectGB[1];
      tfGB[3] = rectGB[3];
      tfGB[2] = tfGB[2] + 20;
      tf.geometricBounds = tfGB;
      fitFrame(tf);
    }
    
    function fitFrame(aFrame) {
      var lastBaseLine = aFrame.lines[-1].baseline;
      var b = aFrame.geometricBounds;
      aFrame.geometricBounds = [b[0], b[1], lastBaseLine, b[3]];
    }
    }
    

    Note: The script will check if there are two elements on the page of the group. It does not, check if these two elements are textframe and rectangle, it assumes that it is correct.

    Kai

  • Is it possible to group objects, which are placed in the project and then hide them with line a single action-script? THX in advance, Philip

    I work in CP 9 and I'm going to try the following: the user must be able to make ALL invisible or visible to highlight boxes by clicking on the corresponding button on the first page layout. Thus, for example, if the user does not want the highlight boxes appear, click on "Hide the boxes" and boxes are hidden for the rest of the project. I managed to get to this point for help... but it is still a lot of work for me to manually enter all the different names of these boxes in the action-script. So my question is: is it possible to group objects, which are placed in the project and then hide them with line a single action-script? THX in advance, Philip

    Actually... releasing the CpExtra HTML5 widget, it will be possible.

    It has a function called @syntax that allows you to perform an action (for example HIDE) automatically on any object throughout a project of Cp9 simply based on the name of the object.

    So for example, if you named all the boxes to highlight you want hidden this way to have the suffix _HideMe and you say CpExtra you want all of them hidden if a user variable is assigned to a certain value, then that is what will happen.

    That's the good news.  The bad news is that the widget is still in BETA final tests at the moment, so you may need to wait a bit before you can realize your idea.

  • Hover over for several objects at the same time

    I saw an article on this somewhere, but I can't find information on this topic.

    How group you some objects so mouseing one triggers an animation for all group objects?

    I have an animation of dashboard that works with a mouse - to the top action, but I want a ToolTip to trigger on the same flight. When stacked only the top right-click triggers.

    Widget "status button"?

  • Apply the clipping on a group object mask

    Hello

    I have a background and I need to apply a clipping of a group object mask. I can't perform the task that it clips only one object in the group.

    I need to some tips and advice. Please see my screen shot shown below. Thank yor.

    Untitled-3.jpg

    David,

    To be more precise, you can, for a clipping mask,

    (1) create the object in the background to be cut;

    (2) create the clipping objects, such as 3 separate letters (or just three circles or other) and place them as you wish on top of the background object;

    (3) select all letters/objects and object > compound mask > make;

    ((4) ShiftClick the background object or ClickDrag on everything or Ctrl / Cmd + A to select the two 1) and 3) and

    Object > clipping mask > make.

    and an opacity mask.

    (1) create the object in the background to be cut;

    (2) create the masking objects as objects of filling/nostroke in black or white, such as 3 separate live/described letters (or just three circles or other) and place them as you wish on top of the background object;

    (3) select all letters/objects and Ctrl / Cmd + G to group them (with the letters, you can use Object > compound mask > do instead);

    ((4) ShiftClick the background object or ClickDrag on everything or Ctrl / Cmd + A to select the two 1) and 3) and

    Click transparency Launcher (click on the right arrow above) do with with Clip opacity mask and mask invert checked (black letters, mask Invert unchecked for white letters).

  • On group objects

    Hi all

    I have a question about a group object I create, any input is appreciated.

    So the group object I designed is similar to a symbol @ for email, with a 'C' entirely enclosing another character. I made these contours of characters (using "Create schema" in CS5) and then join those two transparent tracks (I think) in a group using "merge" option of Pathfinder.

    The thing is, I want to fill these two characters only, but when I do, the filling is spread across the whole cover, including an empty space between these characters (for example, if you work with symbol @, fills the entire circle rather than just one and the circular path).

    Previously, I had these two characters together, but as separate paths (or composite tracks) because only the character 'C' is transformed into contours and they are filled individually if nothing was wrong. However, the next step, I intend to take is to make a mask of clipping of the purpose of this group, so they must be a single compound path (or maybe something else works too? Please let me know).

    I'm just getting started with Illustrator, so please clarify your explanations.

    Thank you and best regards,

    Angela

    PS: When the two characters are transformed into contours and merged using pathfinder, I believe that the 'C' character is moved a little more. Why does that happen?

    You must keep this a compound path. Do not merge, use unite in the pathfinder. Fusion is nto give you a composite path so

    After using the pathfinder, you characters should notshift. Only reason I can think of is you are in CS5 and have in your flyourt to the transform palette menu > align new elements to the active pixel grid. Uncheck this box.

  • How to convert all anchors in Illustrator for the corners?

    How can I convert all anchors in Illustrator for the corners? 'Convert anchor points selected on the corner' does not work or I couldn't use it properly.

    I use the direct Selection tool in the half of the points of the object and click 'CSAPC' - and it does nothing.

    is one knows how to do this?

    To run the script, see here:

    http://help.Adobe.com/en_US/Illustrator/CS/using/WS714a382cdf7d304e7e07d0100196cbc5f-62a3a .html

    The scripts folder is in the folder presets, located in the program folder.

  • Can I group objects to apply functions more simply?

    I have a series of video clips and buttons (we can call them mc1, mc2 and btn3 for now), and I would like to be able to hide or show all at once. For now, I have functions where I apply the visibility change them one at a time, where the function contains

    MC1. Visible = false;

    MC2. Visible = false;

    btn3. Visible = false;

    It works just fine. However, for various reasons (including my groups have much more than 3 items) it would be much better if I could define a group in the past (say 'group 1', containing mc1, mc2 and btn3) and apply things for them at the same time, where group1.visible = false would be equivalent to the code above.

    Due to other pieces of my code and how I need to group them with some overlap (think venn diagram), it is NOT wise to combine these objects in a video called "group1" and then show/hide all at once in this way.

    Is it possible that I can do this, or should I continue to write stupidly long functions? Why it sucks, is that now if I want to add something to the hypothetical Group 1, I have to find all the functions that I try to apply to that group and add my btn or movieclip to the list. It would be great if I could just designated as part of Group1, and then all of the functions that I joined group1 would affect it too.

    I hope that makes sense. It just seems like there must be a better way, but maybe there isn't.

    Here's an example of what I described where a group objects are made visible/invisible, based on the current state, each holds the visible property.  They have not all have the same value for this property, which means that you could be taken, that some of them appear and disappear and others... just specific to this example.

    var group1:Array = new Array(mc1,mc2,mc3,mc4);

    function toggleGroupVisibility(grp:Array) {}
    for (var i: uint = 0; i
    GRP [i] .visible =! .visible grp [i];
    }
    }

    toggleGroupVisibility (group1);

    -----------------------------------

    You can just as well to set the visible property to a specific State for the group...

    function toggleGroupVisibility2 (grp:Array, stat: Boolean) {}
    for (var i: uint = 0; i
    GRP [i] .visible = stat;
    }
    }

    toggleGroupVisibility2 (Group 1, false);  make all the invisible

    toggleGroupVisibility2 (Group 1, true);  they are all visible

  • Anchor of liberation in CS2 / Javascript

    Hi guys,.

    I have a doubt about, liberation of the object in CS2 anchor, in CS3, we have an option, which is releaseAnchoredObject.

    How to release the anchor in CS2?

    Kind regards

    Sudar

    3 steps:

    1 save the geometricBounds and spread, if error, break the process, and then copy the anchoredFrame.

    2 paste an original broadcast, put the helmet in the old position, if error, break the process.

    3. remove the original anchoredFrame.

    Jimmy Shen

  • I can't send messages, whatsapp for group discussions and I think that is the update of ios software that is not compatible with my iphone 5 s

    I can't send messages, whatsapp for group discussions and I feel really lost. my friends can't receive my message and I am only able to send individual text messages. I think that its because of the version update of ios which is not compatible with my iphone 5 s. is a solution to this problem?

    I have the same problem, started this morning.

    I'm in iOS 9.1, using the iPhone 6. Don't know what happened, but I have also opened a disturbance with Whatsapp support as well.

    A focus group work, group chat messages cannot be delivered. Individual messages are working properly. I tried to remove and reinstall the application, remove the discussion group and recreate, all has not helped.

    A lack of ideas.

  • Are there any restrictions for custom object records?

    Hello

    Are there any restrictions for custom object records?

    Thank you

    Hello

    Registration of custom object data cannot be used:

    • with Hypersite field mergers;
    • with the research data on the data in the field, only the number of overall;
    • on off key Dynamic Content in the emails

    edynamic expert Eloqua

Maybe you are looking for