Search for Main Group Not all Subgroup

Search for Main Group Not all Subgroup
My illustrator project may have 5 main groups, which may all included 100 subgroups. I would like to search for main group without having to search through all subgroup, because too many and too long for the script.
For the moment I have given a name to all Main group but the process is much too long.
Marcel
tell application "Adobe Illustrator"
                   activate
                          set groupCount to count group items in current document
                          repeat with i from 1 to groupCount
                                                set selection of current document to {}
                                                set groupRef to group item i of current document
                                                set groupName to name of groupRef
                                                if  (groupName contains "MainGroup") then
                                                                                      set selected of (groupRef) to true
                                                  display dialog groupName
                                                                    end if
                          end repeat -- with groupCounter from 1 to groupCounter
end tell

I don't do AS but this seems to be the culprit
set groupCount to count group items in current document
count your groups in the current "Layer" to narrow it down to main groups only, groups within groups will be ignored.

Similar Messages

  • Album Art works for most, but not all

    I was reading previous forums on the subject, but no clear answer was given..
    The album art shows up fine in itunes and my library and works for most of my music on my ipod, but how come some album's art does appear? I have it set manually and select 'Get Info' then 'Artwork' and add it from there, then drag in the finished product to my ipod. I've been doing that and it works fine for most of the albums, but every so often, the album art will not appear on my ipod. Am I doing something wrong? I take them all from the same source (amazon.com) but it makes no sense to me how some randomly don't appear.
    I tried deleting the artwork and re-adding it, but nothing happened again. If you could answer why it works for most but not all or how I can get the album art to appear for the ones it will not by re-doing something, it would be appreciated. thanks.

    I encountered the same problem in the beginning. When I compared the size of the original images, the working ones seemed to be smaller in general, so I reduced the size of all covers I intended to upload on the pod to 300x300 pixels.
    This seemed to work - for 2 days. I bought the pod on friday, had pictures on sunday, but on Monday (after the first time the pod was fully discharged) none were left left.
    So I ended searching this forum for related problems...
    And decided to join my problem to this entry.

  • Search for photo's NOT in Album

    Is there a way to search for photo's not in an album?

    Huh?  Not sure at all what you are saying.
    Camera Roll photos are photos that were taken with/saved from the iphone itself.  Those are not part of the sync process at all.  You import those as you would with any digital camera.
    Photos/albums that you sync ( via itunes) from your computer to your will appear under photo library and the individual albums that you selected under "photos" in itunes
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • The Help Tab (OSX ML) where you search for something does not work

    If I click "Help" and then search "expand" it will show me where expand is. But in CS6 when I clicked it the command would go through and pull up the page to expand pixels. Instead, I have to go find it. It works in every other Adobe app I use except Photoshop CC.
    I am on the latest version and on CC

    Hi Peter
    Thanks a lot for your help (and sorry for not having answered quicker, but my boss gave me a more urgent task last week...).
    Anyway, I did what you suggested (re-importing into a brand new project), and then the search for synonyms really worked! But, being a sceptical person, I did the same with another project, and with that one, it did not work. So, what I did next was compare all the settings of these two projects, and I found a difference.
    RH8 now contains a function that's called 'Teilzeichenfolgensuche' (I don't know the English expression, but have a look at the attached picture: this is a screen shot from the second page when I generate WebHelp). After having done several tests, I came to the following conclusions:
    Search for synonyms does not work in HTML-Help, but it does work in WebHelp (and maybe others, but they are not relevant for me, so I did not test them);
    Search for synonyms does only work, when the function 'Teilzeichenfolgensuche' is NOT activated.
    Could maybe somebody test this, too, and post here whether my conclusions are really correct?
    Btw: This fact is not mentioned in the RH-Manual; actually, this function 'Teilzeichenfolgensuche' is not even mentioned there (at least not in the German edition)!!!
    Can hardly wait to see your feedback; thanks again for everybody's support!
    Kurt

  • Searching for a group of items, and moving them

    Hi.
    Is it possible in 10.4.6 to search for a group of items all at once, and have them moved to a specified folder?
    For instance, say I have eleven different images that are scattered across 6 servers. I want to search in one interface for them all and put them where I want, in a new location.
    Is that possible?
    Thanks,
    Scott

    Your question is a bit general and vague. There is more than just a small amount of material to explain. What have you tried? What is your level of experience with Java? What is your specific question?
    Try posting the code that you've attempted (preferably between [code] [/code] tags), as well as any errors you might be receiving. You may also want to try a tutorial.
    How To Ask Questions The Smart Way

  • I have tried to sync my Iphone with my current Itunes and for some reason not all of my music is transferring to my Iphone.  Some songs that were on my phone previously, are now not transferring.  Any ideas?

    I have downloaded all of the recent upgrades for both Itunes and Iphone.  Now for some reason, not all of my songs in my playlists are transferring when I sync.  Previously I have had the songs in the playlists on my phone, but now some of them are not there although they are listed and show in Itunes.  Any ideas?

    iTunes will only copy back iTunes purchased music. If you don't still have a copy of the music that you copied from CDs or bought from other stores anywhere (e.g. on another computer or on your backup of your library) then there are some third-party programs listed half-way this page which should be able to copy them back : Recover your iTunes library from your iPod or iOS device.

  • I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is j

    I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is just a plain photoshop file, a watermark is added, then save as jpeg - the jpeg is saved to a different folder than the original photoshop file.)  It happens for about 10 of 30/40  files approximately . Thank you, Kathryn

    I believe I have figured it out - I need to flatten the image, even though there are no layers except for layer 0, first.

  • I installed Nik:s suite of plug-ins for LR5 but for some reason not all of them were installed. In the end I uninstalled all of the Nik programs from my Mac but before I reinstalled them I opened LR5 again to check. Under "photo" and "edit in" the plug-in

    I installed Nik:s suite of plug-ins for LR5 but for some reason not all of them were installed. In the end I uninstalled all of the Nik programs from my Mac but before I reinstalled them I opened LR5 again to check. Under "photo" and "edit in" the plug-ins were still presented but no programs opened, of course. after reinstalling the plug-ins one of the programs appeared twice in the list but not the others. I´m going to reinstall them again and I´m wondering if there is anyway of erasing the links to the plug-ins under "photo" and "edit in" ???

    Wow that was really quick, thank you so much.  Im not sure at all which version it was because i said it was around 4 years ago he bought it.  I know it isn't under his username, since he's a PC person (ugh) so i know its probably registered to one of our actual names.  isn't there some way to look it up since we did register it, because I'm not even sure where the disks are from when we bought it (we've moved a lot and also have two storage lockers, i know i would have kept it with other disks) but my cd rom drive is actually broken on my computer as well ( i think it got stepped on and is now squished and won't eject or run disks.)
    So is there anyway they can look up that its registered to one of our names since we did register it when we bought and installed it, or do i really have to find the disk with some sort of proof of purchase (i know there would be no receipt after all this time)
    either way, ill do what you suggested to the best of my abilities and thank you so much for answering my questions, i can't even open the program as its incompatible and find out the info from that) so I'm in a bit of a pickle and your response was so thorough and it didn't seem to be posted long enough to even write a well researched response, thanks, all the best,
    sarucia

  • ProjDumper : {unexpected match name searched for in group} ( 29 :: 0 )

    Using ProjDumper example from the SDK I consistently get the following error:
    "After Effects error: internal verification failure, sorry! {unexpected match name searched for in group}
    ( 29 :: 0 )".
    Can anyone shed a light?

    Hi
    I have tried your suggestion to use the "AEGP_GetLayerSourceItem", but for some reason I always get null. Here is the code (assume I do this with a valid AEGP_compH compH):
    A_long numLayersL;
    ERR( suites.LayerSuite8()->AEGP_GetCompNumLayers(compH, &numLayersL) );
    A_long i = 0;
    AEGP_LayerH layerH(NULL);
    ERR( suites.LayerSuite8()->AEGP_GetCompLayerByIndex(compH, i, &layerH) );
    AEGP_ItemH itemH(NULL);
    ERR( LayerSuite8()->AEGP_GetLayerSourceItem(layerH, &itemH) );
    itemH is always NULL
    Any suggestion as to why is this happenning?

  • How can I search for multiple words (not a phrase, but different words) all at once?

    Hello everyone,
    I have a job that includes looking for many different words in large paragraphs. I would make things much faster for me if - instead of typing in "word 1", and then clearing it, and then typing in "word 2" - but rather, I could somehow search for a few words at once. Is there a way to do this? An add-on? Something built in?
    Thanks for the help.

    Try this add-on [https://addons.mozilla.org/it/firefox/addon/find-all/ Find All]

  • Tape Compression for Protection Groups Not Working

    Hi everyone,
    We've since started using DPM 2012 R2 to backup our systems. Everything is working except for tape compression. I've read some other discussions regarding similar issues, but none have been of any help to me.
    DPM (version 4.2.1254.0) is running on a physical server (HP BL460c G6) running Windows Server 2008 R2 Enterprise SP1. Microsoft SQL Server 2008 R2 is also running on the same machine providing the database for DPM. Other roles installed: Hyper-V, WDS,
    WSUS, IIS, and File Services. The tape drive is an HP StorageWorks SB1760c which is partnered to the blade server in a C3000 chassis. Tapes are LTO-4. Everything is fully patched from Windows Updates.
    The backup starts off fine, but because the tape drive is a not an auto-loader, the backup fails because it is waiting for a new tape to be inserted so it can complete the backup. If DPM would compress the data, it will all fit on the one tape.
    So far, I've:
    Reinstalled the operating system and all the server roles on it (twice!).
    Used HP's Library and Tape Tools to perform a tape compression test (which passes - the results did show that the data written during the test was compressed).
    Reviewed other similar discussions.
    None of which have been of any use. To start off, I would like to look at the logs produced during the backup to see if there is anything useful in them. Can someone please direct me to where they may be?
    Any help with this problem would be greatly appreciated. I quite like DPM over the competition, it's just this one problem causing me grief.

    Hi
    You can enable DPM Verbose logging, then manually start a tape backup of a datasource that is in a protection group that has tape compression option checked.  Once the backup starts writing data to the drive, you can open a command prompt and CD to
    the DPM log location and run the following command.
        Find /i "TapeInfo DriveAccessPath=" msdpm*.errlog
    It should show that the MTASetMedia command set the block size to 65536, and HWcompression to true on the drive we're writing to.
    [Example showing HWCompression was set to true]
    VERBOSE       <TapeInfo DriveAccessPath="\\.\Tape2147483645" PhysicalBlockSize="65536"
    HWCompression="true" xmlns="http://schemas.microsoft.com/2003/dls/MediaManager/StorageXMLSchema.xsd" />
    VERBOSE CMTATapeInfo::InitializeFromDOM => m_ssDrivePath = [\\.\Tape2147483645] m_dwPhysicalBlockSize = [65536]
    m_bHWCompression = [1]
    If you see that, then DPM did it's job and it's up to the tape drive to honor the request and compress data as written.
    If you keep the verbose logging on for the duration of the tape backup jobs, it should detail switching tapes as well, so you can take a look and see if you can figure out why we changed media when we did.  If you search for "EOM hit: 1" 
    that means we hit end of media.
    To enable full VERBOSE logging, under HKLM\Software\Microsoft\Microsoft Data Protection Manager, add a DWORD value named TraceLogLevel and set it to 0x43e, then stop and restart the msdpm and dpmra services.   The DPM log files will now contain
    MUCH MORE logging to help troubleshoot issues without requiring a DPM trace.
    DPM 2010 or upgrade to DPM 2012 the Logs are in the C:\program files\Microsoft DPM\DPM\temp folder
    DPM 2012 (clean install) logs are in the C:\program Files\System Center 2012\DPM\DPM\temp folder.
    After you reproduce the problem, be sure delete or rename the TraceLogLevel registry setting and restart the DPM services so normal (non-Verbose) logging resumes.
    SAMPLE OUTPUT DPM2012 SP1
    C:\Program Files\Microsoft DPM\DPM\Temp>find /i "tapeinfo" *.errlog
    ---------- DPMRA56.ERRLOG
    165C    0C80    06/14   16:32:26.771    05      defaultsubtask.cpp(527) [0000000000370750]      40292CEC-FBEE-4D6A-9763-031FB711A480    VERBOSE      
    <TapeInfo DriveAccessPath="\\.\Tape2147483645" PhysicalBlockSize="65536"
    HWCompression="true" xmlns="http://schemas.microsoft.com/2003/dls/MediaManager/StorageXMLSchema.xsd" />
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(28)   [0000000003F77AA0]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE ==>CMTATapeInfo::CMTATapeInfo
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(28)   [0000000003F77AA0]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE <--CMTATapeInfo::CMTATapeInfo
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(68)   [0000000003F77AA0]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE CMTATapeInfo::InitializeFromDOM => m_ssDrivePath = [\\.\Tape2147483645] m_dwPhysicalBlockSize = [65536]
    m_bHWCompression = [1]
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(42)   [0000000001F2F340]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE ==>CMTATapeInfo::~CMTATapeInfo
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(42)   [0000000001F2F340]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE <--CMTATapeInfo::~CMTATapeInfo
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(42)   [0000000003F77AA0]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE ==>CMTATapeInfo::~CMTATapeInfo
    165C    0C80    06/14   16:32:26.771    29      mtastoragexml.cpp(42)   [0000000003F77AA0]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE <--CMTATapeInfo::~CMTATapeInfo
    ---------- MSDPMCURR.ERRLOG
    18DC    1B80    06/14   16:32:26.756    01      TaskInstance.cs(1034)           40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE       <TapeInfo DriveAccessPath="\\.\Tape2147483645" PhysicalBlockSize="
    65536" HWCompression="true" xmlns="http://schemas.microsoft.com/2003/dls/MediaManager/StorageXMLSchema.xsd" />
    18DC    0574    06/14   16:32:26.756    04      cmdproc.cpp(2432)       [0000000003B8A470]      40292CEC-FBEE-4D6A-9763-031FB711A480   
    VERBOSE       <TapeInfo DriveAccessPath="\\.\Tape2147483645" PhysicalBlockSize="65536" HWCompression="true"
    xmlns="http://schemas.microsoft.com/2003/dls/MediaManager/StorageXMLSchema.xsd" />
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • AE CC 2014.1 error : internal verification failure (Unexpected match name searched for in group)

    Hi,
    First of all, forgive me for my basic english.
    I'm a creative cloud suscriber and recently update AE with CC2014.1.
    I worked for several months on a project, but since last update, on some composition, i have an error windows pop in who say :
    "After effects error: internal verification failure, sorry! {unexpected match name searched fo in group}
    (screenshot here -imgur: the simple image sharer )
    i have look everywhere but i can't get any info on this issue, and there is no support for after effect.
    I can't afford to loose all those hours of work, may some of you have some information / solution about that ?
    Help me Obi-Wan Kenobi. You're my only hope !
    Thank you for your time

    Well, you don't have to update in knee-jerk fashion, do you?  Is it absolutely mandatory that you have to have the Newest Thing On The Block from Day 1?  You weren't so busy that you couldn't  spare the time to do the update, weren't you?
    You used the word, "we", which indicates more than one individual is running the same software.  Is it not possible to devise a strategy where the updates take place one at a time, so you can observe the potentially-adverse effects?
    Oh, you can do it, but I don't think you WANT to do it... either because you like to have the newest thing, no one in the shop is willing to work a little later to do it one machine at a time, or you simply don't have a plan in place.  Sorry if that's harsh, but it seems to me that early adopters without an eatrly adoption plan put their livelihoods at risk by jumping on the bleeding edge.  Adobe, Apple, Avid, Autodesk, Whoeveritis...  changes in software contain bugs, and you don't know what those bugs are.  Would you rather be the one EXPERIENCING the bugs or just reading about them?
    Okay, now I'll step down off my soapbox.

  • How to create a group policy for a group not to logout from rdp

    there is already a global policy for all users in OU which will disconnect a rdp session after 15 min of inactivity and log user out in another 15 min, (logout 30minutes)
    how do I create another policy  for a group in that OU so that group user will not be logged out ( executives are asking for this)?

    Hi,
    In addition to Martin’s suggestions, we can also choose to change the scope of the existing GPO with Security Filtering.
    Regarding Security Filtering, the following article can be referred to for more information.
    Security filtering using GPMC
    http://technet.microsoft.com/en-us/library/cc781988(v=WS.10).aspx
    Filter Using Security Groups
    http://technet.microsoft.com/en-us/library/cc752992.aspx
    Best regards,
    Frank Shen

  • How to search for a string in ALL Function Modules source code

    Hello,
    I want to search for the string "HELLO" in all FUNCTION MODULES source code(FM, no reports/programs).
    Is this possible? How?
    Cheers,
    Andy

    hi,
    Execute RPR_ABAP_SOURCE_SCAN to search for a string in the code ... Press where-used-list button on the program which takes to the function group or the function module where it is used ..
    Regards,
    Santosh

  • When in sleep mode iPhone 4 loses signal but when it's back on it searches and finds signal only recently doing this and because it's searching for signal battery not lasting very long please help

    When in sleep mode iPhone 4 loses signal but as soon as its on again it searches and finds signal easily but because of this not getting calls or text msges and because it's searching for signal all the time battery not lasting

    Here are some observations and a suggestion.
    1)  I mentioned before, that the number of views of this discussion forum is fast approaching 100,000.  I suppose relative to all iPhones sold that is not a great percentage, but 100,000 still sounds pretty impressive to me.  Consider also that many people probably have this same Sim problem and are not viewing this discussion forum because thay do not know it exists.  How many people are REALLY experiencing this problem?  Who knows.  But I suspect it is more that 100,000.
    2)  To the best of my knowledge, Apple does not consult these forums as a guide to awareness of product performance.  It may be company policy, but most of the time when I speak to an Apple employee they seem remarkably unaware of the "Top Stories" in the Apple Discussion Forum.  This, despite the fact that my personal experience with customer service at Apple is excellent.  So, as much as we of this discussion forum are confident SOMEONE important at Apple is reading all our posts and taking them to heart...I am not so sure.
    3)  I have been told over and over that the best way to gain Apple's attention regarding a problem is to post a comment on their Feedback Site.  One comment about a problem is pretty worthless.  100,000 comments on the same issue, I'm guessing, will really get their attention.
    4)  Some folks have mentioned a recall to address this problem.  Although such a thing is always a possibility, I don't see it happening.  Why?  When the brakes on a Toyota don't work, or that Toyata starts to accelerate without driver intention...well, that involves human life and the stakes are quite high.  For many reasons you would see the automotive industry eventually be forced into a recall program under such a situation.  But, a phone APPEARS to not nearly be such a life and death device.  Or is it?  My daughter's iPhone 4S developed a "SIM FAILURE" on the same day her car broke down in the middle of the very rural area we live at around 10:00 pm.  She is 17 years old and was coming home from high school play practice.  You can imagine the anxiety I and her mother felt when she did not arrive home on time.  She eventually walked about a quarter mile to a house of a stranger and had to ask to use their phone to call us.  Now, I am not saying that strangers where I live are not to be trusted.  But, in addition to being worried out of my mind, I was not happy that an inoperative iPhone 4S caused my daughter to be put in this situation.  My biggest concern now is...when will my daughter's iPhone become inoperative again due to SIM FAILURE?
    5)  The more folks in this discussion forum who post a comment about this issue in Apple's feedback site the more pressing this issue is going to be perceived by Apple.  So, I like others, encourage all of you to do so.  If this seems like a lot of effort, I offer you these few sentences below that you could just copy and paste into the feedback site.
    The link to feedback site is:  http://www.apple.com/feedback/
    Feel free to use copy/amend/whatever the following as you wish:
    Dear Apple,
    I wish to register a strong concern about my iPhone's unpredictable inoperability due to failures somehow associated with it's SIM technology.  For me, I do not consider this just a significant lack of convenience, but a significant safety issue.  Should I need my phone in an emergency situation where it is experiencing  a SIM FAILURE, I believe the iPhone will have put me at risk.  I would ask you to please give fixing this problem your greatest priority and effort.
    Sincerely, XXXX

Maybe you are looking for

  • Two mobileme accounts on one ipod

    Hi all, what I'm going to ask got an airing here : http://discussions.apple.com/thread.jspa?threadID=2620155&tstart=0 but that was iPad, not iPod. I want to use 2 mobileme accounts on the same iPod. One's mine, the other is my spouse's, which is a -

  • Itunes doesn't save any of my songs after I exit it!

    My ipod is fine, all my playlist and songs are still there but on my laptop, everything is gone. When I added all my songs again and sync my ipod to it, all the songs show up but the info on my ipod doesn't show up. And as soon as I finish adding my

  • Problem with safari download manager

    I'm having the following problem how do I download do not stop when I close Safari, is there any way, eg when I'm downloading xcode and closing the browser it is stopped and can not resume from where it was, I ask how it assists , would act as a down

  • Failed to connect to database ONLY at the first time

    Hi all, I installed Discoverer 10g version and I'm using an Application User to connect to the server where's the Db is installed. Every time I try to connect to the server with Discoverer Viewer or Desktop I have a curious behavior.... ALWAYS but ON

  • Install [-x nodataset] [brand-specific args]

    i had tried to install solaris 8 zone from the flash archive, but it always give me this error :- bash-3.00# zoneadm -z zone1 install -x nodataset -d /export/home/ftpuser/sola s8-image.flar -x: illegal option -- d usage: install [-x nodataset] [brand