Check boxes that turn layers on and off

hay all
im fairly new to this part of adobe but i have a good understanding
what i need i to be able to have check boxes that turn layers on and off when the tick is shown and when it is not
i know this is possible through scripting but i dont have the ability as of yet to carry out the scripting
is someone able to write a basic script for me or help me to understand what i need
i want the script to be for when a check box is clicked (mouse up) that a layer that was oringaly turned off to be turned on (electricalplan)
once the tick is removed i need the layer to turn off again
i need to do this for mulitple layers (about 10)
so i would just use the same script for each replacing the name with the correct name.
i also need the check boxes to work together so that i can have multiple turned on at the one time (electricalplan) (sewerplan) (waterplan)

Do you know how to access fields with JavaScript? I access the script way of the check box properties and selecting the actions tab.
Do you know how to set the optional value for a check box? Yes    
Can more than one layer be displayed at a time? Yes
Do you want to toggle the OCG by name or element number in the OCG array? I would like to toggle by name

Similar Messages

  • The sound on my iphone no longer works, nor do the buttons at the side that turn sound on and off/volume control. But weirdly, you can play music without headphones. Tried restore and jack in and out. No luck... any ideas?

    The sound on/off  button onthe side of my iPhone no longer works, nor do the volume buttons. All sound has disappeared from the phone apart from the Music which still plays. Have tried th Restore and restart phone plus have plugged and unplugged phone jack. No luck  - any idea anyone?

    One thing that helped was getting a toothbrush and scrubbing the dock connector on the phone.  I scrubbed the connector and used compressed air for about 1/2 hour till the connector looked much cleaner.  An Apple employee told me that the pins on the phone had a little corrosion and sand.  The problem hasn't gone away completely, but has been significantly reduced.  I'm going to hold out until my contract expires after which time I'll switch to an iPhone5 (or newer) or Android phone.

  • Somehow my MacBook (vintage) is now showing a black text box that continues to type and also speak what I am doing.  There is also a blk border text box that follow me in the page itself.  How do I get this turned off?

    Somehow my MacBook (vintage) is now showing a black text box that continues to type and also speak what I am doing.  There is also a blk border text box that follow me in the page itself.  How do I get this turned off?

    What version of Mac OS X? Do you have the original (or any) system disk?

  • HT204406 I have subscribed to iTunes Match.  It is turned on on my mac but on my iPad and iphone it says that I have not subscribed.  I have tried turning everything on and off, backed up iCloud. Still no joy, any tips please?  Thank you

    I have downloaded iTunes Match to my mac.  However when I try to access on my iPad and iphone, it says that I have not subscribed.  I have the cloud on my mac showing all the songs there.  I have tried turning everything on and off and also backed up again.  Any suggestions please?

    Home sharing is separate from iTunes Match.  Sounds like you were playing music using home sharing, which turned off when you turned off your computer.
    Open iTunes on your computer and go to the Store menu.  Confirm that there is a setting called Turn Off iTunes Match.  That will confirm that iTunes Match is enabled on your computer.  Then check to see what Apple ID you subscribed to iTunes Match with.  It will be the ID in Store>View Account (in parentheses).
    On your iPad, confirm that you are signed in with this same ID in Settings>iTunes & App Store (at the top).  If so, you should see an iTunes Match setting listed with an on/off slider.  Slide it on to enable iTunes Match on your iPad.

  • I am trying to switch from video to camera and when I push on the photo button, it remains on video.  I've tried turning it on and off, but that doesn't help.

    I am trying to switch from video to camera and when I push on the photo button, it remains on video.  I've tried turning it on and off, but that doesn't help.  Any suggestions?

    Tapping the words don't work in iOS 7. Just swipe up or down anywhere on the screen until the mode that you want to use appears in yellow type on the right side. Yellow type indicates the selected mode.
    Remember - swipe up or down to get to the mode that you want to use.

  • My daughters iPhone is frozen with the apple showing on the screen.  We have turned it on and off but it is still stuck on that screen.  Any ideas why or how to correct this?

    My daughters iphone4 is frozen to a blank screen with the apple on it.  We have turned it on and off and it still remains on this screen.  We cannot access gef phone at all.  Any idea why this is happening or how to correct?

    connect it to the computer/itunes you normally do.

  • Error message connection server ::invoke::failed to find service connection url.  I have read posts that say turning genius on and off will fix.  no luck.

    Something has gone haywire with apple tv.  It still streams music via airplay from ipad or PC, but I cant get a menu of any functions.  Instead I get error message noted above.  I have tried rebooting, turning genius on and off in itunes, signing in and out of itunes and app store, all as suggested by others with this problem, but nothing works.  This started a week or two ago.  Please advise if there is a fix.  This is either ATV 2 or 3. 

    Hi,
    I doubt " tkcrrsarc: (WARN) Failed to find ARCH for message (message:0x1)" message would be creating connection problem. These messages can be ignored and it does not create any problem in normal functioning of database.
    You should be looking at something else for connection problem. Might be you may have to take help of cluster admin.
    Regards
    Anurag

  • How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    JasonFromSK wrote:
    With the newest Airport firmware (7.6.1), it seems I should be able to do this.
    Really? I need to check that out!
    You should certainly be able to add content by reference to itunes from such a disk (even before the update) - so long as itunes knows the location of the file (set Preferences not to copy to local library when adding the media) it will stream it to AppleTV if the disk is available.
    I hope you're right, but I'd be surprised if current Extremes can be upgarded to provide a full Home Sharing service - marvellous if they can but I'd be surprised as i've long said we need an Apple media server either based on TC or AE to do this kind of thing.
    AC

  • Why does wifi turn itself on and off since upgrading to Mavericks?

    I am able to use ethernet to get online but wifi turns itself on and off. If I turn it on automatically it connects to the network (both at work and at home) and then it turns wifi off again. If I just leave it alone wifi automatically turns on, connects to the network, and then turns itself on again. This was not happening prior to upgrading to Mavericks yesterday.

    Have you tried a SMC/PRAM reset ?
    Try backing up and then deleting this file:
    com.apple.airport.preferences.plist
    from this folder:
    /Library/Preferences/SystemConfiguration/
    Now reboot and check if the issue is resolved.
    If that does not work, Can you post your system.log file messages when the issue occurs and I can take a look and help.

  • Ipod Nano turns automatically on and off

    Hi there,
    I have the following problem.
    My Ipod Nano 4GB turns always on and off. The result is, that my windows pc can't recognise it.
    I have tried everything to restore the ipod, but this doesn't work as well. As soon as I push the Menu the Select Button after the Hold function nothing happens. The Ipod turns off for a short time and on again. Its always the same game...any ideas how to resolve this issue?
    Thanks Beat
    Dell Inspiron   Windows XP  

    Hello Mo0nangel,
    Welcome to Apple Discussions.
    First, try updating the iPod software. Follow the steps in this article:
    Updating iPod software
    If the problem persists, you may have to restore your iPod:
    Restoring iPod to factory settings
    Unfortunately, restoring will wipe your nano clean of all songs and photos.
    Gary

  • I CAN'T GET MY MACBOOK AIR, IPHONE OR IPAD CONNECT TO EACH OTHER THROUGH BLUETOOTH. I HAVE TRIED ALL THE SUGGESTIONS I HAVE READ, INCLUDING RESTARTING DEVICES, FORGETTING DEVICES, TURNING BLUETOOTH ON AND OFF.

    I am unable to connect my Macbook air, iPhone or iPad though bluetooth. I have tried all the suggestions I have read. i.e. toggle bluetooth on and off, turn devices on and off, forget devices and then pair. I seem to be able to pair but the devices immediately go to not connected and a message appears that reads: make sure devices are turned on and in range.

    Pairing the phone with the car is one thing, but paring to the computer is not generally supported. Tethering is using the cellular data access from the phone for the other devices. It is part of Personal Hotspot. If you aren't aware of what it is, then it probably is something you do not use.
    As far as the car is concerned, what is not working? Does the car not see the phone, or the phone see the car, or after you start to pair something fails? If you provide more information about the problem and what you have tried to do to correct it, then we can offer some solutions. What version of the iPhone, what iOS, and what year and make of vehicle?

  • Help! iPhone freezing, not responding, and turning itself on and off randomly.

    Over the last few days, my iPhone has been going crazy.  It all started when I turned on my phone one morning, and the ringer did not work.  It told me that headphones were in when I tried to turn the volume up.  Later in the day, I plugged my iPhone into my iHome.  It then "died" and would not turn on.  I tried everything (hard reboot, dfu mode, plugging in wall and computer, etc.) and nothing would turn it on.  The next day, I tried to turn it on, and to my surprise, it loaded the "low battery" icon.  i plugged it in, and it turned on.  It then randomly shut off ten minutes later.  It would not turn on, but it allowed me to put it into dfu mode.  I downloaded the os and attempted to restore the iPhone.  It shut itself off several times and took many attempts until I finally got it restored.  Now, it has been turning itself on and off.  I got it to turn on, and I used it until it froze.  It shut itself off and reboot.  It has continued to do this over and over again.  I am concerned because my iPhone is out of warranty, and I live far away from anywhere where I can get it fixed.  I have no idea what happened to my phone as I did not drop it or expose it to water.  Is there any way to fix this?  Is there a way to find what part may be broken?  If not, what is the cheapest and fastest method of fixing this and is anyone else having the same problems?  My phone is currently unusable because I can not turn it on (it only turns on randomly) and it freezes and shuts off a few minutes after it turns on.

    Does it power back on by itself straight after turning off? If so I would probably suggest that either the charging port is faulty or maybe it is partially blocked with debris causing a possible short circuit across the pins. Try giving it a clean out first with something none metallic and might just do the trick.

  • I have a Macbook Pro and have just purchased a GSP hidden objects game. It says on the box that it is compatible and when I try and install it it tells me that installation has been successful. However, it then says that PowerPC games not supported. Help?

    I have a Macbook Pro and have just purchased a GSP hidden objects game. It says on the box that it is compatible and when I try and install it it tells me that installation has been successful. However, it then says that PowerPC games not supported. Help?
    No game icon appears on my desktop and I don't know what I can do.
    Really ****** off as i've not played these games since switching from a windows PC to a Mac and was really excited!! All I want is to be able to play my new game that arrived in the post today. If anyone can help I would be really really grateful....
    The game says that it needs Mac OS X 10.3 or higher to run so I don't understand what the problem is or how I can fix it!!

    beckyj3,
    the last version of Mac OS X which supported running PowerPC apps on Intel Macs was Mac OS X 10.6.8 (Snow Leopard). If you’d like to play this PowerPC game on your Intel MacBook Pro, then you’ll need to install Snow Leopard on it and boot into Snow Leopard. (Note that the last MacBook Pro which natively supported Snow Leopard was the Early 2011 model.)
    The game was almost certainly published before Mac OS X 10.7 (Lion) was released, so back then, all versions of “Mac OS X 10.3 or higher” would have supported running that PowerPC game.

  • IPhone Display turning itself on and off

    Hey Guys,
    I'm totally in love with my iPhone 3G but since I got it replaced by Apple (warranty), I discovered that in sleep mode the display randomly turns itself on and off again.
    "On" in this case does not mean displaying any content nor the lockscreen, but mysterious black stripes that run vertical.
    This occurs every few minutes and is really annoying me.
    I tried to completely erase all content and set it up as a new iPhone but the stripes are still there (on 3.1.2) as they were on 3.1.0.
    Is there any solution for this or do I have to call Apple Support again?
    Greets,
    Stefan

    If a Restore didn't fix it, it's a hardware problem - contact Apple.

  • I have only recently got my iphone, and the screen won't rotate in Safari or messaging. It works fine in games (eg Doodle Jump). The screen portrait lock is off, and i have tried turning it on and off and updating it. Why wont it rotate?

    I have only recently got my iphone, and the screen won't rotate in Safari, the ipod, photos or messaging. It works fine in games (eg Doodle Jump). The screen portrait lock is off, and i have tried turning it on and off and updating it. Why wont it rotate?

    Next step is to Restore it in iTunes from your backup. If that does not work they try Restoring it as a new phone. If still no go it is a hardware failure and you will need to get it serviced.
    And you are not showing the hardware lock icon on the top right of the home screen?

Maybe you are looking for