Can you hide a layers using scripting?

I have a very complex graphic with many elements and I would like to find a way to hide layers based on a list.  In the documentation that there is a way to tell if a layer is hidden, but didn't see anything about a way to actually to control the hide/unhide property.  Is this possible?
Thanks!

Thanks Larry,
The script came back with an error on this line:
var ilayer = doc.layers("AuthorLine")
Error message was:
"Layers() is not a function."
(If it matters, I am using Adobe Illustrator CS5.1.   I'm not sure if the functions are substantially different.)
Tom

Similar Messages

  • How can you hide a Continue button until all clickboxes are clicked?

    I have seen similar questions to this one, but none seemed to be the exact situation as mine.
    What I have: Several images on a screen.  When a user clicks an image it is replaced with another image.  I am using clickboxes for this task.  I do not wish for them to toggle back and forth. Once they click the original image it should stay changed.
    What I am trying to do: Once a learner clicks all the images (in no particular order) a Continue button appears that allows them to go to the next screen.
    If anyone has some suggestions on this situation please let me know, thanks.

    I cannot log in on the forum for the moment, so will try by answering by
    mail. I was aware of that problem (have presented those solutions so
    often), thought that since you left all images visible once the click box
    was clicked it wouldn't be a problem.
    Two possible solutions:
       1. Easiest one: add a statement in the Always decision that will Hide
       the click box just clicked. It has no sense to click it another time. That
       will mean that you still can do it with a shared action but that shared
       action will have two parameters now, the second one being the click box
       that has to adapted on each application of the shared action.
       2. If you don't want to make the click box hidden (which means at the
       same time disabled), you'll need a user variable for each click box,
       starting with a default value of 0, and toggle it in the Decision 'Always'
       to 1. The second decision will then need a condition that checks the value
       of all the user variables (with AND) and shows the Next button only when
       all variables have the value of 1.
    Sorry, but have to mail, cannot offer a screenshot in that case.
    Lilybiri
    2014-03-13 5:31 GMT+01:00 Joseph_McDonald <[email protected]>:
        Re: How can you hide a Continue button until all clickboxes are
    clicked?  created by Joseph_McDonald<http://forums.adobe.com/people/Joseph_McDonald>in *Advanced
    Adobe Captivate Users* - View the full discussion<http://forums.adobe.com/message/6205043#6205043

  • Can you share kindle books using family sharing?

    Can you share kindle books using family sharing?

    Hi Charlie42,
    Happy New Year!  The link below explains how you can tell which purchased content is available to share using Family Sharing.   Contact Amazon for more specifics regarding sharing their content.  The Kindle app itself may be shareable, but the books may be considered an In-App purchase, making them not shareable.  Amazon would be able to give you a definitive answer.
    Which purchased content can I share using Family Sharing - Apple Support
    http://support.apple.com/en-us/HT203046
    Which purchased content can I share using Family Sharing
    After you set up Family Sharing, the eligible songs, albums, movies, TV shows, books, and apps purchased by family members will be available to everyone else in the group. Learn what you can share with your family members.
    If you turned on Share My Purchases, you can share most content that's also available in iTunes in the Cloud. You can share Music, Movies, and TV shows from the iTunes Store. You can also share Books that you downloaded from the iBooks Store, and apps from the App Store. The availability of each content type depends on your country.
    There are a few things that you can't share:
    Songs added to iTunes Match from outside the iTunes Store
    In-App Purchases
    Items that are no longer available on the iTunes Store
    Items that were hidden
    Apps that aren't shareable
    If you're on an Apple TV, you can't access shared music.See if you can share an app
    Use these steps to see if you can share an app before or after you get it.
    App Store in iOS 8
    Go to the app's description page. Scroll down to the Information section. If you can share it, you'll see Yes next to Family Sharing.
    Go to Updates > Purchased > My Purchases. If you can't share an app, you'll see Not Shareable next to its name.
    Mac App Store in OS X Yosemite
    Go to the app's description page and check the Information section. If you can share it, you'll see Yes next to Family Sharing.
    Go to Purchases. If you can't share an app, you'll see Not Shareable next to its name.
    Learn more
    If one of your family members received their content through Apple ID for Students, you won’t see it in their shared purchases. This includes apps and other content distributed through the school.
    Family Sharing requires a personal Apple ID signed in to iCloud and iTunes. Music, movies, TV shows, and books can be downloaded on up to 10 devices per account, five of which can be computers. iOS 8 and OS X Yosemite are required to set up or join a Family Sharing group and are recommended for full functionality. Not all content is eligible for Family Sharing. Content can be hidden by family members; hidden content is not available for download. Content downloaded from family members or acquired via redemption codes is not subject to Ask to Buy.
    Last Modified: Nov 14, 2014
    Cheers,
    Judy

  • Can you rewind while viewing using your Apple TV remote?

    Can you rewind while viewing using your Apple TV remote?

    I thought I tried that but I will look at it again. Do you mean the one on the wheel on top?

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

    Hi,
    Why do you want to use LDAP for Hard disk monitoring..???
    U can do this by creating a MD5 checksum for all the files existing in some
    perticular
    directory and every hour or any configurable period u can recalculate the
    checksum
    to find out the change in the content.
    I guess all u need is to get the code for "updatedb" utility of Linux and
    instrument it for ur needs..
    Hope it helps...
    -aseem
    mr wrote:
    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

  • Can you hide a dimension value but display one of it's attributes?

    Can you hide a dimension value but display one of it's attributes in a query output?

    Hi Prakash,
    I assume you are referring to a characteristic ('dimension').
    This is possible: If the attribute is a navigational attribute you can include it in the query definition without the 'parent' char.
    If the attribute is a Display attr then you can try by setting the Display property of the parent char to No Display (right click the char in the query > Properties)
    Hope this helps...

  • How can you import AVCHD movies using iMovie '11?

    How can you import AVCHD movies using iMovie '11?

    H264 is one example of a codec used in MPEG-4 video encoding. Windows Media is a codec. Sorenson is a codec. DVPRO is ...etc....
    Play a source video file and do a get info on it and tell me what the audio and video details are.

  • HT201238 Can you buy more storage using Apple Pay?

    Can you buy more storage using Apple Pay? How?

    I'm trying to purchase additional storage with credit card but still get the unknown error / dismiss problem

  • Can you access the internet using wifi only on an iPhone 4?

    How can you access the internet using WiFi only (no service) on an iPhone 4?

    Assuming your connected to wifi - go to safari.

  • Can you stream video and use the computer at the same time on a mac mini with hdmi

    Can you steam video and use the computer at the same time? I have a mac mini with hdmi.

    Shouldn't be a problem, unless you want to view it in Full Screen Mode at the same time with only one display.

  • How can i hide a column using personalization?

    Hi,
    Please help me how can i hide a one column in oracle forms using personalization?
    Thanks

    Hi,
    When you login to My Oracle Support website, enter "458786.1" or "468657.1" in the search box, and you should get the documents.
    Or, use the direct links below to access those documents.
    How To Do Forms Personalization (Doc ID 468657.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=468657.1
    RCVRCERC: When Using Personalization to Remove a Column Receive Error FRM-41017: Cannot set UPDATE ALLOWED (Doc ID 458786.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=458786.1
    Regards,
    Hussein

  • Can you hide pictures?

    I would like to hide some pictures in my aperture library. How can I do this?

    The best you could do is to place the images you want to hide in a separate library.
    If you want to hide this secret, separate library completely, give it a name that starts with a dot, like ".secret.aplibrary", Aperture will warn you that the name should not start with a dot. Just ignore the warning and proceed. However, since you will not be able to see this library in the Finder, you can only open it from the Terminal.
    Lets assume, you have a secret Library  located in your Pictures Folder.
      Open Applications/Utilities/Terminal
       type:
      cd Pictures
    open -a Aperture .secret.aplibrary
    Then you can admire your secret pictures. To switch back to your regular library use the menu File > switch to library
    and when you are back to your standard library click
    File > clear menu
    to all traces.
    To see your hidden files listed in the terminal window, just type "ls -a".
    To rename the secret library, use the "mv"-command:
    mv .secret.aplibrary  nolongersecret.aplibrary
    Make sure you remember the exact name and path to your secret library - spotlight wan't show it,
    perhaps you could create an innocent looking alias to your secret file, while the file is still visible and before you hide it.

  • Can you do this in Bridge scripting?

    I'm game to learn Bridge scripting if it can do what I want, but I have no idea how I even get started in learning what can and can't be done from Bridge scripting. So, here are a couple questions. If someone can give me some guidance on whether it can be done, I'll dive in and figure out how.
    I'm interested in adding a new view to Bridge that would filter out original files when there is an edited copy in the same directory with a common root name. I'd like to only show the edited copy and not the root name. In other cases, I'd like to select only the latest version.
    Is it possible to use the Bridge scripting to make a new menu item that would select only the latest copy of an image? I'd write my own logic in JavaScript to examine the filenames and decide which images should be selected.
    Also, is it possible to create new views in Bridge so that I could view only the latest version of an image? Again, I'd write my own logic in JavaScript to device which images should be displayed.
    --John

    I've wondered about Version Cue since it came out. It appears that you have to buy the whole suite in order to get it and that it's not available separately or just with Photoshop CS2. Is that correct?
    I am a photo hobbiest and the suite is out of my price range (if I was going to spend that kind of money for my hobby, I'd spend it on a lens or towards another camera body), particularly when Adobe's policy for upgrades when you own the suite is that you have to upgrade the whole suite every time, not just a component.
    If you know of a good, in-depth writeup that covers the version cue features, I haven't been able to find one.
    Thanks for the info directing me at a custom browse scheme. I'll read about that and see how feasible it would be to present a "poor man's latest version display". I had in mind that the naming scheme would be pretty easy. I think the only rule that I'd have to follow in my edited versions is to preserve the original root name in the edited versions. If there were multiple edited versions, I'd pick the one with the later time/date.
    I'm off to read some more about how to get started with this. I'm glad this forum exists.
    --John

  • Can you share PDF documents using iTunes home sharing?

    Can you share several PDF documents in the books section of iTunes to another computer using iTunes home sharing

    This does not work between home share enabled macs (I have 3 macs and I cannot share in any direction) PDFs or ePub files. (all DRM-free files).

  • HT5035 Can you select whether to use a gift card or your credit card when purchasing

    I have iTunes gift cards but don't always want to redeem them. Sometimes I want to use my credit card.  Do you have to automatically redeem the gift cards or can you select credit even if your gift card has a balance?

    You can't choose which to use to pay for your order. The default order of payment is free credits first, if you have some, then store credits then credit card. I'm not sure how to explain this but this is what I know. You can contact support if you want for more info.
    http://www.apple.com/support/itunes/

Maybe you are looking for

  • Error while testing

    hi everybody, plz help me to solve this problem when i tried to test the following code i am getting error like <b>'open_form  missing and write_form invalid'</b> i tried all the ways i know  but not able to solve the problem.       Tables (RFKORI00)

  • Output workspace missing from Bridge CC

    Why has the Output workspace been removed from Bridge CC??????

  • Query Report Using Shuttle List

    Greetings I am using Apex Version 4.2 At first, I had created an item P31_JOB_CATEGORY that was a radio button. Upon selecting a value for the radio button, a report was generated. The query is as follows select a, b, c from Table A where A.Job_Categ

  • Smart objects pixelized

    Hi all, today i met a problem, which seems pretty mysterious to me. When converting a few text- and freeform layers (or even a single freeform shape layer) into a smart object and scaling the smart object, it behaves as it was a common pixel layer (s

  • PLEASE help me find my iPod?

    I was at school today and I left my iPod on a stand and went outside for 5 minutes then came back, ITS GONE! I suspected this guy becasue he was smirking. My friend asked him and he said "MAYYYBEE" and started smirking. So my two other friends asked