[JS CS3] Weird grouping behaviour

Hi, I am facing a weird trouble.
Assuming mypicgp may be either a ungrouped pageitem or a group,
mybtn is a button, mylabel a textframe.
i mypage.groups.add([mypicgp,mybtn,mylabel]);
line works fine if mypicgp is ungrouped object. It creates a group.
If mypicgp is a group of pictures, the script fails but as weird as it is, a group is created anyway looking to what I want to get.
BUT it seems it duplicates the button and the label. So my final group is made of mypicgp (the primary group), 2x mybtn & 2x mylabel.
Any idea what's wrong ?

If the array contains references to words in a document and you close that document then the document no longer exists and so neither do the words. So the error is no surprise.
Dave

Similar Messages

  • Need info regarding Oracle UCM Accounts and Security Groups behaviour

    Need information regarding Oracle UCM Accounts and Security Groups behaviour.
    Oracle UCM version: 11.1.1.5.0
    Steps:
    1. Log in with "weblogic" user and created a content with id "content1"
    2. Applied "@acc1(R)" and "TestGroup1" to the cotent created in step 1
    3. Log out
    4. Log in as "acc1user1", the user is not able to see the "content1"
    5. Log out
    6. Log in as "role1user1", the user is not able to see the "content1"
    Account and Group information:
    1. User "acc1user1" is part of "@acc1(R)"
    2. User "role1user1" is part of "role1(R)" and is mapped to "TestGroup1" in UCM
    Expected:
    Both "acc1user1" and "role1user1" should be able to see "content1" as they have at least Read permission.
    Please help me understand why the users are not able to see the content.

    ACLs, like Accounts, are optional security setting which may add on some extra functionality to mandatory security groups. Likewise, the resulting permission is taken as an intersection of SG and ACLs.
    But in the second part the number of set of users is huge (approx say 600)I don't get this completely. Does this mean that those "sets of users" (users who see the same data) are distinct and that there is 600 of such groups?
    If you read thoroughly the manual I sent earlier, there is a recommendation that there should be maximum 50 security groups, and you should use accounts, should this number be exceeded. This means you could have all the documents in one security group (and have one common role with Read permission), but combine it with accounts. ACLs are not a good choice here - their performance and manageability is much worse than of accounts. ACLs are primarily used if you expect security settings to change during the lifetime (e.g. a project manager adds temporarily rights to access an item to another user, and revokes it when the user finishes his or her work).
    Note that accounts as well as permissions of users within accounts can also be mapped externally (from LDAP/AD) and it usually follows some kind of org chart.
    I'd feel more comfortable not to speak about users, security groups, roles, etc., but about some real-life objects and scenarios.

  • [solved] laptop - weird keyboard behaviour

    Hello,
    since upgrading to kernel 3.2.1.1 (same with 3.2.1.2) I have a weird keyboard behaviour.
    I have to press ESC to leave this weird mode.
    This problem is similiar to
    https://bbs.archlinux.org/viewtopic.php?id=86026
    Do some people have the same problem?
    My laptop is Dell Vostro 1310.
    // ok... this never was a kernel software issue
    // my keyboards shift was just a bit... loosely
    Last edited by xinit (2012-04-26 19:09:04)

    same for me, for about one week, on 2 different systems. I'm using KDE4 but some other people reported this problem on Gnome too. It generally stops when I strike the key again a few times.
    It happened when I showed someone how cool Linux was, and then it opened 60 occurences of the same images I wanted to cut and paste...
    Last edited by farvardin (2009-12-03 20:22:14)

  • BCM4322 wireless weird burst behaviour.

    I have a Dell studio xps 1340, with the BCM4322 wireless card. Everything work fine with the broadcom-wl driver, however, I seem to get this weird burst behaviour. By this I mean, my network connection seems to be available for only 1-2 seconds before it cuts off and then reactivates another 1-2 seconds later.
    I'm running KDE 4.5 using the networkmanager plasmoid. Here is a screenshot of said behaviour:
    Can anyone explain to me why this is happening and if I can fix it in any way?
    Last edited by nan (2010-10-12 00:43:54)

    I've switched to wicd and everything seems to be fine now... Sometimes I get a random disconnect but it's pretty rare.

  • Weird group address behaviour

    I have one group of addresses that I use at work in my address book.
    However when I autofill the group name in mail, there is an address that is not in my group but would have been some time ago.
    I have tried deleting & recreating the group to no avail.
    I then noticed that the group with the old address was in my address book in entourage, which I then deleted.
    However the old group still appears in mail when i type it into the to field. The old address that i no longer want appears nowhere in my address book as I deleted it ages ago but still in the group which was in entourage but is no longer in entourage.
    This is driving me mad, why can't I delete this group & recreate it without this address.
    Why was mail using the entourgae address book rather than tha main address book app?
    Help..........
    John

    Hello John,
    I was having the same issue recently as well, and it was frustrating me like crazy. I'd also attempted recreating the group from scratch, creating a new group with a different name to test with, and many other steps, but it didn't seem to work.
    I believe there is some kind of bug where Address Book and Mail don't communicate very well with Exchange synched groups.
    The way I was able to get it to work was to: Quit mail and address book, then go to your home folder--> Library--> Caches, and delete the Cache.db file.
    It seemed to work after doing those steps, but I'm not sure if it's updating the groups after adding or removing people until I trash that Cache.db file again.
    See how it does for you, but it definitely is not working properly, so I'm guessing it's a bug that needs to be squashed. Hopefully those steps above help though!

  • [JS InDesign CS3] Style groups, begone! (or: How do I take paragraph and character styles out of style groups?)

    Sorry for this question (and my terrible English, by the way), I'm a javascript noob and I know when I've reached my limits.
    Well, I'm trying to take a set of paragraph and character styles out of the style groups they are placed in, in hundreds of InDesign documents (that cannot be treated as a book). As far as I've tried (thanks to the invaluable help of previous posts in this forum) I've been able to move a style into a group and change it's position inside the group, inside the root level or even between groups. But it doesn't matter how I try, I don't know which move reference should I try in case I want to take every style out of their style group and place them after their original group folder, at the [Root] style level .
    I have tried:
    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
    It didn't work, the script sent an invalid parameter value in the reference field, so I cant use the group folder itself as reference.
    Tried other (obviously wrong) solutions, like use the first available style as reference. Therefore, my second script was
    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
    It didn't work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).
    So, my question is: Which command (or script, in case my whole approach is utterly wrong) should I use to achieve my goal?
    Thanks in advance to whoever decides to spend more than a minute thinking about my humble worries, and my apologies for shamelessly ripping some of your lines of code for my purposes.

    Okay, tried a few things and got really weird results!
    1. You can move a style around inside its group.
    2. You can move a style out of a group "to" another, but it will appear 'inside' that style. I got my test style as a sub-item of [Basic Paragraph], using index #1. With index #0 ([No Paragraph Style]) InDesign crashed.
    3. You can duplicate the style, but then you get a copy in the same group. Still no luck.
    4. Finally! What is the parent of a paragraph style?
    Document | Application | ParagraphStyleGroup
    "Application" is easy -- that's when you make a style global. So what's the difference between 'Document' and 'paragraphStyleGroup'? Simple -- well, when you finally get it...
    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    moves the style out of the group and to the end of the list in the document. I don't think it's possible to move it directly to a specific position into the main style list -- you first have to move it out of a group, then move it around in its own list.
    Fortunately, it returns its new position as a ParagraphStyle again, so if needed, you can use
    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    -- I didn't really try that out, but it should work.

  • [CS3 / VBS] Groups in CS3

    I've converted over a few scripts that used to work fine in both CS and CS2.
    One particular scripts extracts text from tables on multiple textframes that include tables. After changing over to CS3 with this script, it does not extract any of the text from textframes/tables that has been grouped with other objects (for example images and other text frames).
    My question is there a way I can have the script ungroup items prior to running the rest of the script or is there any easier way than rewriting the whole script to include groups?
    Thanks!

    You don't need to ungroup the groups: use AllPageItems property of Group object. See posts 3 and 4 here – http://www.adobeforums.com/webx?128@@.59b6848b
    Kasyan

  • Weird JFrame behaviour in 1.4.1

    I have an application that runs fine under 1.4.0. It has a main JFrame where most of the action happens, but from time to time, it wants to display another JFrame, which is hassle-free under 1.4.0.
    Under 1.4.1, the main JFrame is fine, but the second JFrame only semi-displays, and I've tried to figure it out, but nothing I'm trying is helping. You can see a small part of the top left-hand corner of the frame, and you can see its edges, and you can click on the menu bar, which will popup the menu items, which are functional. The rest of the frame looks like whatever is behind it: if you drag it around, the copied background moves around too, but if you drag it partially offscreen, then when you drag it back, it contains sort of skidmarks or smears (stuff that was at the visible edge, smears).
    I'm at a loss as to what could be causing this weird behaviour, and would appreciate any insights or clues as to how to (continue to) go about fixing it.
    Thanks
    Charlene Abrams
    Tripos, Inc
    St Louis, MO

    Then maybe you have some code that is catching an exception and ignoring it.
    Do you have any empty catch clauses?
    catch (SomeEvent e) { }

  • Weird keyboard behaviour in TTY

    Good evening,
    I just reinstalled Arch Linux on a VPS and I am experiencing some weird behaviour.
    I created the Arch Image on my local machine and when it was setup with the most basic features I did send it to the VPs company for them to run.
    When I connect to this new install with putty over SSH everything is going fine and my keyboard works.
    However when I connect via putty to the 'lights out' service of this VPS and thus reach some kind of TTY environment the keyboard behaviour is totally different! I do not mind that my arrows do not work, or that all the F keys are giving me weird characters. But the most annoying of all is that my Return key (or enter how you want to call it) does print the first character of the command I just typed and does a line break. It is incredibly weird and thus I made you guys a photo.
    As you can see when I type uptime then the U is displayed on a new line and nothing happens. If I hit return again then the system will say that the command U does not exists.
    However if you continue typing as you can see in the second example then in the end you do get what you want. As you can imagine this is not what should happen.
    /etc/vconsole.conf
    KEYMAP=uk
    FONT=Lat2-Terminus16
    FONT_MAP=
    I also tried to enable keymap in the hooks of mkinitcpio.conf but this did not make any difference. I am not sure if the keymap is the problem, if I load it manually it also does not make any difference to the TTY.
    Yet again, via SSH nothing is wrong and all works fine. However when I connect with putty to the 'lights out' service then it goes wrong.
    Does anybody have an idea what is going on?
    Edit:
    Added thumbnail image. Sorry Inxsible
    Last edited by ruurdkrekt (2013-04-11 20:39:13)

    jacobopantoja wrote:
    ruurdkrekt wrote:Good evening,
    When I connect to this new install with putty over SSH everything is going fine and my keyboard works.
    However when I connect via putty to the 'lights out' service of this VPS and thus reach some kind of TTY environment the keyboard behaviour is totally different!
    What I understand is that you are having no problems with SSH, but you are having with PuTTY. Is that right? If so, try playing with PuTTY's settings.
    I do use putty to connect to SSH and to the 'lights out'-service of the VPS the arch install is hosted. So in my opinion in both cases it should work the same. However the 'lights out'-service looks as if you are directly connected to the machine via a keyboard and monitor. You also will see all the boot information and the services being started. When it is done booting it will display the login view. I believe you call all of what I just explained a TTY, am I correct?
    So if I use putty to connect to these services how come the SSH version works but the 'lights out'-version does not?

  • Please change the group behaviour back to the previous one

    We've already had this discussion in the long thread that is and was http://community.skype.com/t5/Windows-desktop-client/Missing-Features-in-the-new-design-preview/m-p/3984842 but there has been no change so far and I still urge the developers to revert back to the previous behaviour where groups had a name and a topic that could be different from one another. This crucial for me and my friends who love to use Skype daily but have to resort to the old version for now as this is just way too annoying to handle. So please, reconsider.

    Paging Claudius

  • Behringer FCA202 - weird metronome behaviour

    Hi,
    I could get my hands on a Behringer FCA202 firewire audio interface for a real nice price. It works fine, except for 1 thing: when I switched on the metronome - no sound! Now the weird thing: after I created an audio track and a bus with reverb, I heard my metronome, but with LOTS of reverb. So, I looked into the Environment: ahhhh... the Klopfgeist channel strip has it's output set to Bus1. That explained the weirdness! So, I changed the output to Output 1-2, and saved this as a new template. But... if I open this template, The Klopfgeist channel strip's output is set to Bus1 again.... WEIRD!
    Now, it's not a disaster to go to the Environment and change Bus1 to Output1-2, but if there's a trick to prevent this behaviour, I'd like to know....
    For your info: until now, I simply used the iMac's built in audio input/outputs, and the metronome behaved the way it should.
    Anyone have a clue??
    Thanks!
    Regards,
    Jaap

    Hi MigCla,
    Unplug everything except your magsafe from your macbook.
    Try to boot into safe mode by booting and press shift key, repair your permission by opening application folder > utilities > disk utility > repair disk.
    And reconnect that firewire card afterward, and re-set up if it shows back up in audio/midi set up.
    If your Firewire card have any driver that comes with, re-install it or check their sites for newer driver if available.
    Good Luck.

  • Weird Oracle behaviour (insert)

    hi there,
    I experience this weird behaviour whith an oracle jdbc-conection:
    ( Class.forName ("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@machine:port:database","bla", "bla");)
    If I insert a few rows in a table, close the statement and do an commit() (autocommit is false) and close the connection, the data is NOT in the database.
    and now comes the funny part:
    IF I FORCE AN EXCEPTION AFTER INSERT AND BEFORE COMMIT,
    THE DATA IS IN THE DATABASE !!!
    code:
    if (conn.isReadOnly()) {
         conn.setReadOnly( false );
    conn.setAutoCommit(false);
    p1 = inhalt.indexOf("\n");
    PreparedStatement pstmt = conn.prepareStatement(sql);
    while (p1 >= 0) {
    zeile = inhalt.substring(0,p1);
    inhalt = inhalt.substring(p1+1);
    pstmt.setString(1,datei);
    pstmt.setString(2,zeile);
    i1 = pstmt.executeUpdate();
    logIt("vms.machmal:doLoad:ergebnissql #"+i1+"#");
    p1 = inhalt.indexOf("\n");
    } // end while
    pstmt.close();
    // if I force e.g. a nullpointer-exception here, the data is in the database...
    conn.commit ();
    erg = 0;
    fehlertext = "Datei "+datei+" geladen";
    catch(Exception e)
    e.printStackTrace();
         erg = -1;
         fehlertext = "Fehler beim Laden der Datei "+datei+": "+e.getMessage();
    finally {
    lServletDlgView.setRc(""+erg);
    lServletDlgView.setHinweis(fehlertext);
    return erg;
    Is this a bug?
    please,please, help me!
    thanks a lot in advance,
    frank

    So perhaps there's anybody out there who knows the
    oracle driver....?This is my reasoning:
    - I have used the oracle driver successfully.
    - And probably a lot of other people have used it successfully as well.
    - Throwing an exception does not impact the driver.
    When I have a situation that seems impossible I usually find it is because I have made an assumption that is wrong. Which is why I say "examine your assumptions."
    For example I once spent quite a bit of time, at least several hours, trying to figure out why the data that I was inserting into a database wasn't getting into the database. I had many logs. And I tried various scenarios to reduce the code and running the SQL directly in the gui for the database. The results that I was seeing was simply not possible.
    I finally realized that the code was running against a different database than the one I was looking at.

  • AI cs3 -- weird tool bar

    AI CS3 is showing a very weird toolbar. Every toolbar option is prefaced by this string: $$$/_MBAR/MNU/VISIBLE which makes it impossible to see the options. I must have installed some kind of plug-in that's kicked in but I can't remember what it was, or when, and I can't seem to get rid of this. I've already trashed my preferences twice.
    Anyone know what this is and how to restore the original toolbar?
    Thanks in advance.
    S

    It was a while ago, so I don't remember the exact steps we took, but if you just installed a Hebrew font too, my money is on that being the problem... Poke around in your system settings and make sure that there's not some other place where Hebrew is set up. Keyboard?
    When we had it happen here, it also seemed like all the menu options that were garbled all meant "quit." Is that the case with you as well or are you able to still use Illustrator while it's all garbled? If you are still able to use it, there may be something else going on here.

  • Weird Photoshop behaviour- becomes unresponsive

    I'm having a weird behaviour with Photoshop CS4. Sometimes when I have some other application or applications open.  I will be unable to use any of the menus of photoshop.  If i close some of my applications and then restart Photoshop then it will work.  It seems like a memory management issue.  Anybody else has this problem?

    Update CS4 to 11.0.1?
    Buy and install more RAM.
    Don't have so many other applications running in the background.
    Go to MSconfig, startup and turn off items that you do not need running will help too. You can always start them manually.
    mikelovem wrote:
    I'm having a weird behaviour with Photoshop CS4. Sometimes when I have some other application or applications open.  I will be unable to use any of the menus of photoshop.  If i close some of my applications and then restart Photoshop then it will work.  It seems like a memory management issue.  Anybody else has this problem?

  • E61i weird WLAN behaviour

    I recently updated the firmware on the E61i and have noticed a few quirks with the WLAN behaviour.
    I'm using the phone in a university where there are a lot of WiFi access points dotted around with the same names. The phone is setup to access email accounts via IMAP at regular intervals, using a Access Point Group setup.
    I always have WLAN Scanning on for that purpose.
    This all works fine (and it checks the email regularly), but when it does, it adds a dummy WLAN access point to the scan list. If I click on the 'Search for WLAN' option while it's connected to the email server the list will for example contain two access points one called 'University' which is defined (and has the blue circle next to it), but another also named 'University' without a blue symbol.
    It might sound like a cosmetic thing, but since this 'dummy' access point appears first in the list it causes problems using the WLAN at the same time. If I click on 'Continue Web Browsing' the phone gets confused and asks me to define an access point: despite being connected to one and asking to use it!
    Other applications seem to be a bit confused by it, but it's not as clear cut as the example above. I can reproduce it by using 'Search for WLAN' (no duplicate) then opening the mail app and forcing connection and again trying 'Search for WLAN' (instant broken duplicate).
    Very odd - and didn't happen on previous firmware.
    Anyone seen this or know a fix?

    Just a quick update: this behaviour happens on other WLAN networks even where this only one access point. Connecting to email creates duplicate dummy entries in the WLAN search list.
    Attempting to connect via the dummy entries gets an 'already connected' error. Unfortunately there is no way to tell the dummy from the real (although it always shows max connection strength).
    Very, very, odd.

Maybe you are looking for