Ungroup all the groups, and then create a single group

Hey

I can't get a script together where I can disassociate all groups in a document, then put everything under one group. Everyhting I work with as a single layer has, but for some of the arts that I am importing were groups within groups ect. To perform some actions, I did well after that I need everything that he in one group.

I searched for an answer and found this (Carlos Canto wirtten)

separate the function (whereToUngroup, group) / / where to separate them? layer, document, another group?

{

for (i = group.pageItems.length - 1; i > = 0; i--)

group.pageItems [i] .move (whereToUngroup, ElementPlacement.PLACEATBEGINNING);

}

But I can't make it work.

OK, it's just...

Features 101 - you do not to change anything, you assume that build one (or someone else) and to use and reuse. You simply provide the parameters of that function was built to receive.

to call the function (to use) to provide your own parameter names, they failed to match the original function names.

var myGroup = blablabla... the group to dissociate

var myDestinationGroup = blah... the group where you want the elements once separated, it could be a layer or a Document

Unlink (myDestinationGroup, myGroup); call the function

Since you are new to scripting and new here, I suggest to start good and mark questions as "correct" (or answered, I don't remember) whenever you get a satisfactory answer to a little close the thread, you don't have to if you think that you don't have the answer you are looking for.

Tags: Illustrator

Similar Questions

  • How can I walk to "Send later"? It comes up all the time and then I never find where the email is gone. I never write an email that I do ' t want to send

    I never want to "Send later"! For the moment, I have email waiting and fall down 'send now' is grey and won't let me change that. Someone tell me how to recover and keep on 'Send now'.

    The Send button now turns to a send later when Thunderbird is offline. It disconnects when you order him or you lose your network connection.
    In the lower left cornet of the screen, there is an icon online/offline. It looks like 2 monitors. You can change States by clicking on this icon.

    As to where the mail goes when you click on send later, they go to the Outbox. The Outbox is under local folders.

  • Adobe Muse would not be updated. So I uninstalled and then re-installed. Now, I've lost all the sites I've created with it. Please tell me they're on the cloud somewhere?

    Whenever I opened my Muse he told me there's an update. So, every time I click on the installation and then he told me it was already installed, but it wasn't. Read other forums and people with similar problems, it says to uninstall muse, and then reinstall it. So that's what I did and it worked really. My Muse is updated. The only problem is ALL MY previously created WEBSITES GONE! Please tell me they're on the cloud SOMEWHERE!

    Nevermind, I found them. Sorry for the quick panic.

  • 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.

  • Why my Muse formatting does not disappear when I open the site in DW CS6? I need to change the PayPal shopping cart code to account for my shipping options. I exported the Muse test in a folder and then created a new Site in DW using this file, so any CSS

    Why my Muse formatting does not disappear when I open the site in DW CS6? I need to change the PayPal shopping cart code to account for my shipping options. I exported the Muse test in a folder and then created a new Site in DW with the help of this file, so all CSS should be there, but I don't see on the page about the elements without formatting, any stop to the left. Thank you!

    PS: Muse will be the most impressive program ever when they fix these bugs or drop because not every user will be paying through the nose for Business Catalyst. Grrrrrrrrr.

    Best approach would be not to use the PayPal widget and instead copy and paste the PayPal code embedded in an object > object to insert the HTML in Muse. This way you can edit the HTML code to embed PayPal code from Muse and without having to modify the exported code.

  • I use my MacBook Air as a desktop computer. Should I leave the charger plugged all the time or should I drain the battery and then recharge? What is the best for the battery?

    I use my MacBook Air as a desktop computer. Should I leave the charger plugged all the time or should I drain the battery and then recharge? What is the best for the battery?

    Keep the computer plugged in whenever possible.

    If you keep the computer always connected, make sure that at least twice a month

    Run it on battery until battery charge level falls to about 40-50%.

    Please don't completely discharge the battery. Discharge the battery completely will reduce wear and tear on the battery.

    For more information:

    Section: To optimize the battery life

    http://support.Apple.com/en-us/HT204054

    Citing at the bottom of the linked article.

    "The question is often asked:" should I disconnect my laptop from the mains when not in service? Under normal circumstances it should not be necessary because as soon as the lithium-ion battery is full, a properly functioning charger will stop the load and load the pad will only engage when the battery voltage drops to a low level. Most of the users do not remove AC power, and this practice is safe. »

    http://BatteryUniversity.com/learn/article/bu_808c_what_the_user_can_do

  • Create a script to list all the .bat and .cmd files with the dir command &

    Hello

    Im trying to create a script that will list all the .bat and .cmd files in a specific folder and add the data to a new file (file.txt) - example below:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat>>desktop\file.txt/OD

    IM able to search the F drive and the list of all the .bat files using a generic parameter, but ideally id like to search for .bat and .cmd files, but whenever I have it try does not work. Any ideas?

    I tried the following:

    dir c:\>desktop\file.txt/OD
    dir d:\>>desktop\file.txt
    dir f:\jobs\*.bat,*.cmd>>desktop\file.txt/OD

    Any help is appreciated, the reason for which I need to check all the .bat and .cmd files is to ensure that the scripts on a cluster are all data, so need them all listed in a doc if possible

    Thank you

    Hello

    Thank you for visiting the Microsoft answers community site. Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for guys official script Forum. Please ask your question in the official Scripting Guys Forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

  • I've implemented all the information for an email from the Charter and then when I click on get mail, it says there is a connection to the server error... Why?

    I've implemented all the information for an email from the Charter and then when I click on get mail, it says there is a connection to the server error... Why?

    Hello ChevyDriver10,

    Thanks for your post.  What email app do you use to receive your mail?

    In the meantime, take a look at the Charter of General electronic installation instructions.

    If you do not currently have an e-mail client, feel free to go on Windows Live Mail.

    See you soon

  • Did someone knows a way I can delete the fonts of all WIN XP and then download a CLEAN game and validated?

    Did someone knows a way I can delete the fonts of all WIN XP and then download a CLEAN game and validated?

    Validater fonts Microsoft can manage only a small subset at a time without crashing, and I prefer nuke batch and start over.
    Win XP Pro SP3, Office 2003 PRO.
    And relocation of the disk / repair / restoration clean them...

    What is the problem with your fonts?

    I have very few problems of fonts in my notes...

    I took a this auditor of fonts and I don't know what that is supposed to do, but it takes too much time everything he does, so I just stopped after several minutes while it digested 2 files.   It also seems to be unsupported.

    I compressed to the top of my fonts folder and put it on my SkyDrive, but I don't know too much about the operation of the fonts with XP and think that they must be "installed" by clicking on the file and choose to install the fonts.

    I have NO idea if this zipped upward file will help you or not, but I would be sure to make a copy of what you have before overwriting things.  If things go haywire, I might have to leave town for a few days until things cool off.

    One thing is for sure... we don't know even what it is, or anything on your system.  It is because the MS Answers forum ask all system information when a new question is requested (which is doubly certain).

    I downloaded a copy of my zipped folder fonts on my SkyDrive (everyone has a SkyDrive for file sharing).

    Here is the link to my SkyDrive and you can get the file you need it (fonts.zip).

    http://CID-6a7e789cab1d6f39.SkyDrive.live.com/redir.aspx?RESID=6A7E789CAB1D6F39! 311

    When you see the files available for download, you will not see the file extension (.exe, .dll, .cpl, .sys, .zip etc), but when download you them they will have the right extension.

    When you download the file (especially if you use Internet Explorer), when you get a chance to save the file, it cannot save the file with an extension (for example, .exe, .dll, .cpl, .sys, .zip) then you will need to manually add the extension appropriate to the file when you download the file before you save it.

    You can download the file without the extension, and then rename the file to add the appropriate extension.

    Rotsa ruck and we inform!

  • Whenever we start to use our computer, the screen goes black and the message 'Auto adjust is in Prgress'. Then, all of our screen is small and all the icons and pages are smaller than before.

    original title: Auto Adjust

    Hello.

    Whenever we start to use our computer, the screen goes black and the message 'Auto adjust is in Prgress'. Then, all of our screen is small and all the icons and pages are smaller than before.

    I tried restoring the system that works and that gets our screen back to normal but every day that this Auto setting is coming and we can't seem to stop it.

    Any help would be appreciated... Thank you

    Try this:

    Go to the Web site of the manufacturer of your laptop computer-graphics/computer card > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon.

    Mick Murphy - Microsoft partner

  • Error message: to restore enough memory for programs running, save the file and then close or restart all programs

    It said "restore enough memory for programs to operate correctly, save the file and then close or restart all open programs".

    I changed the size of paging and says always the same, I have 1.5 GB free RAM, but don't know how to find or what to do 'virtual memory '.  Have windows 7.

    I started the safemode and run also memory dignostics and nothing found, please help, cannot afford to take a shop or get a new computer, I'm using another pc.

    I was recommended to download and. Run 'hitmanpro3'... but if anyone has had this problem and solved it or know how, please help!

    Thank you

    Hello

    Please contact Microsoft Community.

    I understand that you receive an error related to the lack of virtual memory. This error message appears when running any program that requires more memory your computer has, or running in the background, Windows manages the system memory by saving the data between physical memory and virtual memory. In order to help you better, please provide us with the following information:

    What is the brand and model of your computer?

    I suggest you follow the methods and check them off below if this solves the problem.

    Method 1: Clean boot

    A clean boot is a troubleshooting technique that allows you to get the computer facing up and running so that you can determine what elements of the normal starting procedure problems.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135

    Note: Once you are done with the clean boot, follow the section How do I reset the computer to start as usual after a clean boot troubleshooting under more information in the article to put your computer to normal startup.

    Method 2: Prevention of insufficient memory problems

    Follow the steps mentioned in the link and the check, it solves the problem. Follow the evolution of the size of the virtual memory section

    http://Windows.Microsoft.com/en-us/Windows/preventing-low-memory-problems#1TC=Windows-7

    Method 3: Virus Scan

    Microsoft Safety Scanner is a free burner that can be used to analyze a system for computer viruses and other forms of malware.

    Microsoft safety scanner

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Warning: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Additional information: Windows optimize for better performance

    Hope this information helps. Response with status so that we can help you.

  • I accidentally deleted all my Inbox and then deleted from the Recycle Bin. I need to see if someone can help me to restore it.

    * Original title: tjbturner/remove

    Hi,

    I accidentally deleted all my Inbox and then deleted from the Recycle Bin. I need to see if someone can help me seek and find these files so that I can restore. I looked everywhere to see if they are there, I can't find the.

    HELP PLEASE!

    tjbturner

    (Moved to repair and recovery)

    Unless you do the backup that Microsoft has offered when you have joined the electronic address data are gone because, like you, the online servers are not backed up

  • I can't import photos into lightroom free trial cc/6 2015. Lightroom can see all my pictures from my SDHC card and allows me to implement the import, and then clicking import it says that all the selected files (245) has not can be imported as they could

    I can't import photos into lightroom free trial cc/6 2015. Lightroom can see all my pictures from my SDHC card and allows me to select and configure the import, and then clicking import it says that all the selected files (245) has not can be imported because they could not be read. I use MacBook Pro 2015 OS X Yosemite 10.10.3, photos taken with Canon G1 X Mark II. Any ideas?

    This message indicates that you have not permission in writing to the destination directory.

    So:

    1. Determine the destination directory... go in the Lightroom import dialog box and note the location of this directory specified on the right side under "Destination".
    2. Go to your operating system and change the permissions on this exact directory have WRITE permission.
  • I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    I'm new to Lr, can someone tell me if there is a limit of size PRACTICE to a Lightroom catalog file? Should I keep the file size within a certain range of size of GB and then create a new? Thank you I would be grateful of any advice.

    He has no such limit, and in fact some users in this domain and other forums report catalogues over 1/2 million pictures works well.

    The idea to create multiple catalogs because you don't want to get too big catalog file size is a bad idea that you should never think of it again.

  • Lost all the "groups" in Contacts with El Capitan upgrade

    I have just trepidatiously improved to El Capitan on my Macbook Pro.  All the "groups" that took a lot of time to create disappeared in the new Contacts folder.

    Someone else has run into this issue and how to resolve?  Great gratitude for your help!

    They are always there.  Just go to the menu display-> display groups.

Maybe you are looking for

  • Pavilion dv7 - 4283cl: two graphics cards?

    I was looking in the Device Manager on my laptop, trying to find the specs on my display driver that I've always had problems with it, and I see (what I think are) two display drivers! Is this normal?

  • wrong display resolution ENVY of HP TouchSmart m6-k125dx Sleekbook

    I just got a refurbished TouchSmart HP ENVY m6-k125dx Sleekbook. I can't put a 1366 x 768 resolution, but according to specifications, the native resolution is 1920 x 1080. I updated the graphic driver Intel HD and BIOS, but that did not help. Don't

  • I can't download any updates or upgrades. I get error 0 x 80244019.

    I can not install updates and upgrades whether window updates or manually. Original title: I'm under explorer 8 on Windows xp. I can't download any updates or upgrades. I get error 0 x 80244019. I tried to manually load the updates, but still not the

  • problem with driver igdkmd32.sys can it be replaced

    While doing some maintenance on my PC (Acer 5720), I stumbled on "Driver Igdkmd32.sys slows down Pc" or something of simialar how can I solve this problem? previous attempts to solve the problem have confused me, I fear I can make matters worse unles

  • SMS message

    I get notifications that I have a new message, but after seeing 'new message' when I type, it returns to the home screen and I can't get an overview of messages