How to I get access to the Captivate object in javascript within an HTML file?

I'm still struggling with this and would really appreciate any help/guidance you can .
here's what I've got right now:
var g_bIsInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
document.write("<P><H1> g_bIsInternetExplorer=" + g_bIsInternetExplorer + "</H1></P>");
document.write("<P><H1> setting objCP....</H1></P>");
var objCp = g_bIsInternetExplorer ? Captivate : document.Captivate;
document.write("<P><H1> set objCP....</H1></P>");
var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
document.write("<P><H1> description=" + description + "</H1></P>");
I've published the captivate project.. I then launch it and then launch the html file that has this code in it
It does everyting up thru and including line 3
But it seems to fail on line 4..
Any ideas /suggestions?
Thanks in advance.

Hey Jim - thank you thank you thank you
Here's what was up with my code:
This worked:
alert("about to set objCP...");
var objCp = document.Captivate;
alert("completed setting of objCP, about to set get cpInfoDescription...");
var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
alert("description=" + description);
This did NOT work:
document.write("<P><H1> AT BEGINNING </H1></P>");
alert("about to set objCP...");
var objCp = document.Captivate;
alert("completed setting of objCP, about to set get cpInfoDescription...");
var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
alert("description=" + description);
====
I'm guessing the 2nd didn't work because i tried to get the captivate object AFTER the script wrote something to an HTML file.  I'm ultimately trying to get Captivate to generate a report for the user to report out what they did in response to the various quiz questions in the course (in HTML in table).   I've posted a query on how to do this here: http://forums.adobe.com/message/5120417#5120417
Any chance you could take a look at this posting and let me know your thoughts on how best to do this .. It seems like this would be a fairly common thing to do .. It comes stock in Articulate Storyline (through their 'Report.HTML') but I haven't found a comparable one in Captivate.
Thanks again!
tom.

Similar Messages

  • How do I get access to the parent window native pointer?

    Under Windows:
    I need to get access to the native pointer for an applications frame (in this case a JFrame).
    I need to do this because I want to display property pages in a native dialog box. These property pages are supplied by driver software, are themselves native, and require a valid CWnd handle in order to become active and therefore visible.
    Hence I need access to the native peer. Is there a way to do this?

    ok andrew, when i compile the given code i receive the following errors:
    hwndex.java:19: cannot resolve symbol
    symbol  : class DrawingSurfaceInfo
    location: class HwndEx
          DrawingSurfaceInfo drawingSurfaceInfo =
          ^
    hwndex.java:20: cannot resolve symbol
    symbol  : class DrawingSurface
    location: class HwndEx
             ((DrawingSurface) comp.getPeer()).getDrawingSurfaceInfo();
               ^
    hwndex.java:20: warning: getPeer() in java.awt.Component has been deprecated
             ((DrawingSurface) comp.getPeer()).getDrawingSurfaceInfo();
                                   ^
    hwndex.java:24: cannot resolve symbol
    symbol  : class Win32DrawingSurface
    location: class HwndEx
             Win32DrawingSurface win32DrawingSurface =
             ^
    hwndex.java:25: cannot resolve symbol
    symbol  : class Win32DrawingSurface
    location: class HwndEx
                   (Win32DrawingSurface) drawingSurfaceInfo.getSurface();
                    ^
    4 errors
    1 warningand i consulted the document for "getPeer()" and there it is said that "getPeer()" method has been deprecated since JDK 1.1 so how can one use the above code. please give the code in more appropriate way.

  • How do we get access to the new 9.6 workspace?

            Hi,
    I'm part of EAP for a will now and I was able to get any new release until 9.6.
    I understand that this release will be part of a new workspace to still get feedback on 9.2
    How do we get access to 9.6 workspace and download?
    thanks,
    Fred          

    I have access now,
    thanks for your speed ... I was dreaming of this version
    Fred

  • I have an 8GB Ipod Touch 2nd Gen.  The apps I already purchased don't seem to work anymore and when I go to re-install, I can't because it says I need a software update.  How can I get access to the apps that I purchased?

    Due to having a gen 2 Ipod, I can't download any apps from the app store.  Plus, many of my previously downloaded apps (that I bought) aren't working...so I can't even re-download them since I still have 4.2.1.  HELP!!!  Rediculous that I can't use apps I paid for on the same device that I purchased them on. 
    <Edited by Host>

    A 2G iPod can only go as high as 4.2.1
    Many developers when they updated their apps to support iOS 5 and 6 dropped compatibility for iOS 4.2.1 and earlier.
    Your only way is if you have the version that was compatible on your computer such as in the recycle bin/trash or in a computer file backup. In that case delete the current version that is in your iTunes App library and replace it with the older version. Then sync.

  • How do I get access to the SODIMM memory slots on a Pavilion Sleekbook 14-b010us? (Under Keyboard?)

    I think the memory slots are located on the motherboard under the keyboard, but I don't know how to release the keyboard once the designated screws are released. Any tips would be appreciated.
    This question was solved.
    View Solution.

    Hi:
    Below is the link to the service manual for your notebook.
    http://h10032.www1.hp.com/ctg/Manual/c03590565.pdf
    Please refer to chapter 4, pages 39 - 42 for info on how to remove the keyboard.
    Looks to me that there is a lot more involved to install memory than just removing the keyboard. 

  • How to get access to the HTTP-Manager Tomcat ?

    How to get access to the HTT-Manager Tomcat ?
    Whe i do:
    http://localhost:8080 - i have access to the Kablink.
    How i can get access to the Tomcat Manager ??
    Serg

    Originally Posted by skoltogyan
    How to get access to the HTT-Manager Tomcat ?
    Whe i do:
    http://localhost:8080 - i have access to the Kablink.
    How i can get access to the Tomcat Manager ??
    Serg
    Hey Serg,
    I don't think that's possible with the tomcat config that is supplied with Vibe.
    You might get a better answer in the community space for Vibe/Kablink at vibe.novell.com, direct link being atm: https://vibe.novell.com/ssf/a/do?p_n...beonprem_url=1
    Cheers,
    Willem

  • How do I get access to recent Creative cloud offer  re Kelby one

    How do I get access to the recent Offer re Kelby One?  I paid for a year subscription to Creative Cloud and it said there was an offer of three moths access

    There are no serials. Refer to this:
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Mylenium

  • I saved a spreadsheet to iCloud now I can not access it.  The message I get say I need a newer version of Numbers but I already have it.  How do I get access to my document on iCloud?

    I saved a spreadsheet to iCloud now I can not access it.  The message I get says I need a newer version of Numbers but I already have it.  How do I get access to my document on iCloud?

    Please see this user tip:
    Need newer version of Numbers to open file

  • My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • How do i get rid of the pop ups that are constantly popping up on my mac. Everytime i search for  anything on google an ad for mac keeper comes up and every time i access Netflix another stream of ads pop up... Do i have a virus HELPPPPPP

    How do i get rid of the pop ups that are constantly popping up on my mac. Everytime i search for  anything on google an ad for mac keeper comes up and every time i access Netflix another stream of ads pop up... Do i have a virus HELPPPPPP

    You may have installed the "VSearch" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    This trojan is distributed on illegal websites that traffic in pirated content. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that this Internet criminal has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Please help. My ipod classic could not be recognised by itunes when I connect my ipod to PC. Previously it has been recognised before I updated. This was a while ago now and so I removed all apple files and re installed the latest itunes but am having the same problem.
    When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Some anti-virus programs (e.g., McAfee) have this rule that can be invoked under the "maximum protection" settings: PREVENT PROGRAMS REGISTERING AS A SERVICE. If that rule is set to BLOCK, then any attempt to install or upgrade iTunes will fail with an "iPod service failed to start" message.
    If you are getting this problem with iTunes, check to see if your anti-virus has this setting and unset it, at least for as long as the iTunes install requires. Exactly how to find the rule and turn it on and off will vary, depending upon your anti-malware software. However, if your anti-virus or anti-malware software produces a log of its activities, examining the log may help you find the problem.
    For example, here's the log entry for McAfee:
    9/23/2009 3:18:45 PM Blocked by Access Protection rule NT AUTHORITY\SYSTEM C:\WINDOWS\system32\services.exe \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\iPod Service Common Maximum Protection:Prevent programs registering as a service Action blocked : Create
    Note that the log says "Common Maximum Protection: Prevent programs registering as a service". The "Common Maximum Protection" is the location of the rule, "Prevent programs registering as a service" is the rule. I used that information to track down the location in the McAfee VirusScan Console where I could turn the rule off.
    After I made the change, iTunes installed without complaint.

  • How do I get access to my backed up data in the iCloud?i

    How do I get access to my backed up data on the cloud?

    Just go to iCloud.com and log in.  Choose iCloud Drive if you are looking for documents that you lost on your mac and had put into iCloud drive prior to your hard drive dying.  Contacts, Mail, Calendars will all be there under the log in to choose from.

  • A tech company just set up a wifi network in my house and does not use my existing TC; how do I get it in the network to serve as backup for my iMac? (I don't need it as a wifi access point anymore)

    a tech company just set up a wifi network in my house and does not use my existing TC; how do I get it in the network to serve as backup for my iMac? (I don't need it as a wifi access point anymore) thanks

    Just bridge the TC and plug it by ethernet into the main router.
    Bridge in v5 airport utility.
    In v6 it is under network.. change it from DHCP and NAT to Off bridge mode.
    Turn off the wireless.

  • I have the apple usb stick to install lion but when I put it into the usb port it does not appear in finder?  How do I get access to it to install?

    I have the apple usb stick to install lion but when I put it into the usb port it does not appear in finder?  How do I get access to it to install?

    Try one of your other USB ports. Be sure to insert it with the plated fingers pointing upwards.

  • Qosmio G30-126 - How to get access to the bios!

    I have a laptop Qosmio G30-126 and I don't know the key for entering the bios to change to properties for the HDD or any thing... so how to get access to the bios? what is the key for the bios??

    Hi
    Try to press the F2 button while powering the unit.
    Older Toshiba notebooks supported the ESC and then F1 button
    So these two options are possible

Maybe you are looking for