Issues with Executing Javascript command in Captivate

Hi,
I am having issues with executing javascript for a button in adobe captivate 5.  Let me explain what I am trying to do.  I am working on a WBT that has three skill checks throught the course. These skill checks are not graded or tracked for completion.  I currently have an image button that has the command "Open another project" The first image button is pointed to SkillCheck1 and I have the html file and swf file in the published root folder.  This currently works fine.
However I want to use javascript to open a new window 800X600 with not toolbars at the top.  I got this part working with the code below:
window.open('http://www.adobe.com','mywin',
'left=40,top=40,width=800,height=600,toolbar=1,resizable=0');
My only problem is, once the popup opens, my WBT goes to a page that says [object] and thats it.  I am uploading two images to show what I have.  Can someone help resolve my issue of the WBT going to

Ok so I took this link and viewed over it.  I am new to Javascript and know very little about it.  Therefore this script kind of makes no sense to me.
<script language="JavaScript"><!--
var windowHandle = '';
function myOpen(url,name,attributes) {
    windowHandle = window.open(url,name,attributes);
//--></script>
<a href="javascript:myOpen('page.htm','windowName','height=100,width=100')">text link</a>
I chose the option to exectute javascript.  Does captivate need all of this including <script language=JavaScript">  Here is how I edited the script.  Should I make any changes to what is in bold?
var windowHandle = ''; 
function myOpen(url,name,attributes) {
    windowHandle = window.open(url,name,attributes);
<a href="javascript:myOpen('http://www.adobe.com','Adobe Website','height=600,width=800')">text link</a>

Similar Messages

  • Issue with Executing OS commands from Stored Procedure

    I am trying to execute the scripts provided at :
    http://github.com/xtender/XT_SHELL
    provided by xtender user.
    As required, I have asked my DBAs to grant privileges by executing the following scripts:
    Begin
      --change to needed permissions and execute
      dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/factiva/ODS/bin/CVIM_Rpt_ExportCSVFile’, 'read,write,execute' );
    end;
    /where CVIM_Rpt_ExportCSVFile is my script residing in the Unix server where my Oracle is installed.
    The error I am facing when I try to execute the following command is:
    select * from table(xt_shell.shell_exec('/var/scripts/CVIM_Rpt_ExportCSVFile',100))
    Exception:the Permission (java.io.FilePermission /var/scripts/CVIM_Rpt_ExportCSVFile execute) has not been granted to ODS. The PL/SQL to grant this is dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )I have asked my DBA to also execute the following scripts: - But I still see the same error as above. I am not able to figure out whats going on. Can anyone pls help me out??
    EXEC Dbms_Java.Grant_Permission('ODS', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
    EXEC Dbms_Java.Grant_Permission(ODS', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
    dbms_java.grant_permission( 'ODS', 'SYS:java.io.FilePermission', '/var/scripts/CVIM_Rpt_ExportCSVFile', 'execute' )

    DUPLICATE
    ===============================================================
    Issue with Executing OS commands from Stored Procedure
    ==============================================================

  • Issues with using relative links in Captivate 8

    Is anyone else having issues with using relative links in Captivate 8?  These links all used to work in the previous version of Captivate. And I could have sworn this was fixed already once in Captivate 8 but it's popping up again for us. Here is the situation... We have courses that are made up of multiple lessons which as separate Captivate files. Within those lessons are buttons to link to external documents (which live in a shared document folder), demonstrations, etc.  We use relative links because we post these to our amazon servers and we also sell them to clients where they can post them on their own web servers or in their LMS.  SO we can't put in full paths for the links or we'd have to change them constantly.  So an example is that the link for a button might be "../Document/nameofdoc.pdf"  This would be going to a user guide or something that is posted in the "Document" folder that lives at the same level as the lesson's folder. But now, all of the sudden, none of our bazillion links is working. And I've tried buttons, hyperlinks, and even the old click box. Nothing works with relative links. And I did check the permissions on every file and folder on our Amazon server to verify nothing changed there as well.   Any suggestions?

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Database access issue with EXECUTE AS with impersonated User account

    Hello,
    I have been facing one issue with EXECUTE AS option in SQL Server 2008 R2. Following is the scenario:
    I have two databases TestDB1 and TestDB2 on the same SQL Server instance. I have SQL Admin level permissions on the server. I have written a stored procedure in TestDB1 which will execute the scripts(SELECT Statement) againest the table from TestDB2(using
    three part query). To execute the proc from TestDB1 I have used EXECUTE AS option with a user (User1) having select permissions on table from TestDB2. The same proc working fine when I use table from TestDB1 but not working on TestDB2 database. Thorwing error
    saying permission denied. I have tried enabling the Ownership chains on both the databases but no luck.
    Please help me with the situation here.
    Thanks!
    Swami A Polnati.

    You can also use EXECUTE AS. But then you need to set the database trustworthy, which is not good for security reasons.
    Enabling cross-database chaining will not help, since you are using dynamic SQL.
    Dan was kind to point you to my article. I recommend that you read it, and learn to embrace the technique with certificates. Yes, it is a long article and I understand that you are impatient to get a solution quickly. However, the article is written from
    the point of view that the reader is interested in learning for the future and not only get a solution for the moment. Certificate-signing as a technique is very very useful in several contexts.
    The article does also discuss EXECUTE AS, and I discuss in more detail why setting the database trustworthy may be a security risk. (And as long you don't fully understand what I'm talking about, it is a security risk.)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Just activated BlueAnt S4 with my iPhone4 and having an issue with the Phone Commands

    Just activated BlueAnt S4 with my iPhone4 and having an issue with the Phone Commands - as I have multiple numbers for people (ie: iPhone, Work, Home), is it the BlueAnt that is having the issues or the iPhone? Tried to eliminate info on my partner's contact in with only 2 contact numbers (iPhone, Home) and one or the other is totally screwing up. Seems, from BlueAnt website, that it would be the iPhone contacts...and the guessing begins?!! Anyone else have similar issues when BlueAnt S4 was paired and giving 'Phone Commands'?? Any suggestions would be beneficial as I've spent way too much time on the web looking for a good fix/answer. Thanks.

    On your new phone: Settings>General>Reset>Erase All Content & Settings. Start over, this time using your new ID.

  • Facing issues while executing LDAPBind command in Unix

    Dear All,
    We are trying to invoke a shell script from PeopleCode(which is having the ldapbind command) through exec command. We are able to invoke the shell script but the ldapbind command fails to execute. It throws the below error
    +"/usr/bin/ldapbind: error while loading shared libraries: libclntsh.so.10.1: wrong ELF class: ELFCLASS32"+
    Not sure whether this is an issue with the installation or configuration. Kindly help us to resolve this issue.
    however when we executed this script in unix server directly, its running successfully.
    When I have tried to invoke the shell script from PeopleCode using WinExec command, got the below error from PeopleSoft itself
    +"Function '%1' cannot be run on the application server. (2,164)+
    +A PeopleCode program that is running as part of a processing group on the application server is using a PeopleCode built-in function that is not allowed on the application server."+
    Kindly help us to understand what is missing here.
    Thanks,
    Hari.A

    Still no clue to fix this issue.
    we are able to invoke the script from PeopleCode which has the LDAPBind command. We are writing the log files after invoking this script.
    We are able to see those log files getting generated also. But it's not capturing the result of LDAPBind and looks like ldapbind command is skipped from execution.
    Please help us to understand where we are missing?
    Thanks,
    Hari.A

  • Issues with Library images updating in Captivate

    Getting some update issues with the Library. This used to
    work, but is now working only intermittently.
    I will locate a background slide in the library, then hit
    CTRL+U to open it in Photoshop. I'll make my edits in Photoshop,
    then save and close the Window in Pshop. This used to bring me back
    into Captivate, and I would see the correct image in the main
    editing screen. However, now when I come back into Captivate, the
    main editing screen will not show the edits, nor will the thumbnail
    on the left side. If I pres CTRL+U to open the image back in
    Photoshop, Photoshop shows the new edits, but not Captivate's
    design mode. The images DO show up when I finally publish, but I
    can't publish every time I need to check to see whether the edit
    made it over. Also, if I select the image in the Library and click
    the Update button, I get an "image cannot be updated" error
    message.
    What was a very nice feature is now causing mucho frustration
    because it isn't working consistently.
    Any thoughts? I've supposedly updated to patch 3.2, though
    Captivate is only showing 3.0.1.589.
    Thanks in advance.

    Hi Mark
    ...but the thing that really bugs me is that this a workaround
    for functionality that is supposed to work.
    I agree completely. Unfortunately, last time I checked,
    Captivate was software. And well, you know. Sometimes things don't
    work expected with software so we find workarounds to overcome what
    fails.
    At this point the best course of action is to use the
    workaround since the other method is failing. Then be certain to
    report the issue to Adobe via their official preferred channel.
    That is the Wish Form.
    Click
    here to view the WishForm/Bug Reporting Form
    Cheers... Rick

  • Issue with executing Business Rules from Planning web

    Hi,
    We are using Hyperion Planning 9.3.0.1 and we keep getting an issue with the Business Rules. We get an error if we try to run the rules from Planning web. The same rules validates and executes fine if we run it from AAS. This issue gets resolved if we restart the Planning and RMI service. But this issue keeps happening randomly. Is there a permanent resolution to it? Is it a bug or I am missing something here?
    Thanks and Regards,
    Amol
    Edited by: user638718 on Apr 7, 2009 5:20 PM

    Hi,
    Have you installed any of the patches for 9.3.0.1, I think it goes up to 9.3.0.1.09
    One of the fixes was :-
    8-665086601 (6588823) – When the Business Rules connection to the relational database is lost, Business Rules does not reconnect to it. To solve this problem, an optional property, HBR_CONNECTION_VALIDATE_TIME, was added to HBRServer.properties. This property specifies a time interval for checking the connection between Business Rules and the relational database. If the connection is not valid, a new connection is established. The time interval is specified in milliseconds and defaults to 300,000 (five minutes).
    Though I know there has been more attention to fixing known issues on 9.3.1 than 9.3.0.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Execute javascript command in acrobat debugger on leopard macbook

    I can't seem to find the key combination to execute a javascript command in the acrobat javascript debugger on my leopard macbook.
    I tried command+return, control+return, nada.
    Anyone know what is going on?
    I have everything enabled in preferences.
    David

    The Macintosh keyboard does not have a true "Enter" key any more - not on the MacBook Pro or the iBooks. Modifier keys do not seem to work either. I've turned on the System Prefs > Keyboard & made it appear in the top Menu Bar. From this menu choose "Show Keyboard Viewer" to see how keys + Return are displayed. Only the Function key changes the Return key. Function + Delete is a forward delete. But Function + Return is just another Return. So any highlighted text is deleted! Command + Return stays on the same line and selected text remains. I will try KeyRemap4MacBook utility then consider buying a USB numeric keypad. Urggh.

  • Issues with Mac Version of Adobe Captivate 6

    I am having issues with Adobe Captivate 6 for Mac.  I am missing functionality.  Specifically the advanced actions dialog box.  I get "null" value in all the fields in the dialog box.  Also when I open captivate the welcome screen is blank.  I tried uninstalling and re-installing but I am still having the same issues.  Am I missing something on the install?  Has anyone else experienced these issues?

    Hi,
    Did it worked fine previously? Can share some more information like your Mac version?
    Can you share the screenshot of the problem screens?
    Also, Try to follow these steps, to verify in case your Preferences have not gone corrupted--
    1) Close Captivate
    2) Launch Finder
    3) Go -- Go to Location
    4) ~/Library -- Go to Preference>Adobe> Adobe Captivate 6, Rename the Folder to 'Adobe Captivate 6_Old '
    5) Relaunch Captivate and verify if thing improve.
    Thanks,
    Anjaneai

  • Issue with rescale and cropping in Captivate 5

    I have an issue with cropping when rescaling. I have installed the December patch and am still having a problem. 
    1. I imported a PPT in 800x600.
    2. I rescaled to 900x600, deselecting Maintain Aspect Ratio, and selecting to Keep project the same size and position the project Top Right. This leaves a white border 100 pixels along the left side of the project.
    3. Saved the project.
    4. Opened project and selected to rescale.
    5. Deselected Maintain Aspect Ratio and changed the Width back to 800
    6. Selected the Crop radio button.
    7. Clicked Next.
    8. Moved the crop area to the right to select the PPT and eliminate the white border on the left.
    9. Click Apply to All Slides.
    10. Click Finish.
    The project rescales and is now 800x600, but it retains the white border on the left and distorts the slide image since it is now fitting in a 700x600 space. It seems to have ignored the Crop part of the task and just resized the image as is.
    Has anyone else had this issue and know a workaround? I have submitted a bug but have not heard back and we have an immediate need to resize a project. Without a fix, we need to recreate the project in 800x600 to continue which will take a lot of time.
     

    Hi,
    bit off topic perhaps, but have a look at my blog post about Knockout master slide, where I gave some guidelines for rescaling projects
    Create and use a knockout master slide
    Lilybiri

  • Help with executing windows command in java

    hi, i am trying to execute dos command in java. currently i am trying simply to create a folder in the current directory.
    here is the code snippet:
    try {
    Process p = Runtime.getRuntime().exec("md myFolder");
    } catch (IOException io) {
    io.printStackTrace();
    i have also tried using "mkdir" instead of "md". but my code just throws an exception that says:
    java.io.IOException: CreateProcess: md myFolder error=2
    what have I done wrong? thanks in advance

    try {
    Process p = Runtime.getRuntime().exec("cmd /c
    mkdir myFolder");
    catch (IOException io) {
    io.printStackTrace();hey! that code worked out perfectly. so "cmd" is needed to run dos commands? i searched through the net, but most of the examples that i were able to find did not include "cmd".
    if it wouldn't be too much trouble, what is the option "/c" for?
    i would also like to add that "mkdir" also works. The problem was the missing "cmd /c". Thanks guys for your help! I really appreciate it.

  • Issue with KeyEvent for Command Prompt

    Using below code, when Event keys like “F7” are executed on the application to test while running from openscript it works fine.
    Whereas if the same script is executed using command line as below, then “F7” is executed for command prompt itself instead of application to test. 
    “C:\OracleATS\openScript\runScript.bat \\10.184.82.45\SharedRepository\Mysharedscript\Mysharedscript.jwg -delayPercentage 1”
    Code =>
    ft.typeKeyCode(KeyEvent.VK_F7);

    Try using
    ft.keyDown(KeyEvent.VK_F7)
    ft.keyUp(KeyEvent.VK_F7)

  • Issue with Video Demo and Custom Captivate Templates

    I recently bought a membership to ElearningBrothers Template library. I have used one of their custom Captivate templates for my current elearning project. Everything is fine except when I create video demos, the template seems to sit infront of the video, so that I can hear the narration, but the video won't display. Any ways to disable the custom template just for that slide?

    Nicolo - First off this stuff gets crazy sometimes.  No worries about the exam.  Sometimes when FXO ports go crazy it is due to battery reversal.  If you go to the FXO port settings try turning battery reversal on and or off... depending on its current setting.  See if that helps. 
    As for the 525s not registering..  These are inside the network correct?  Are you connecting one directly to the UC500 with a Cat5E or Cat6 patch cable and the same thing happens?  Does the MAC address on the phone match a MAC address under the EPHONE settings? 
    If you telnet into the UC500 can you execute a "dir" command at the CLI prompt and "CD" (change directory) into the phones folder and then the spa525g folder?  Do files exist in there? 
    Also I only see an IP address under BVI100?  This is the voice side of things what happened to the IP address under BVI1 (Data VLAN).  Can you give us some information about the internal network?  Cna you PING this phone system from the network?  What IP address does it have?

  • Issue with blocked TPM2 command (TPM 2.0)

    I am developing an application that users TPM 2.0 and have implemented a command layer on top of TPM Base Services. Most of the commands I use work fine however when attempting to do TPM2_ContextSave is is blocked by TBS (TPM Base Services). The documentation
    regarding blocked TPM commands seem not to cover TPM 2.0 and the measures described to unblock commands is not working for me. The documentation is found here:
    http://technet.microsoft.com/en-us/library/dn466537.aspx
    I have tried the described methods, i.e. gpedit as well as tpm.msc . With gpedit the blocking behaviour remains no matter what policy I attempt. With tpm.msc the UI for managing blocked commands, as described in the above article, is not even displayed. Note
    that when testing the tpm.msc UI on Windows 7 the options are displayed exactly according to the documentation.  
    I am using a Surface 3 Pro tablet with Windows 8.1 Professional installed. Tracing TBS according to the instructions given here:
    http://msdn.microsoft.com/en-us/library/windows/hardware/hh998628.aspx
    Gives:
    [0]0FE0.0FE4::01/19/2015-13:44:17.407 [drv] INFORMATION Sched20.cpp(393)
    ?SubmitRequest@Tpm20Scheduler@@QEAAJPEAVTpm20Request@@@Z:Blocking cmd (0x162) on context FFFFE00088AAB990 as not on allow-list for non-std user.
    I.e. the command is blocked.
    In addition to the methods described above I have tried the WMI Win32_Tpm interface and specifically the "RemoveBlockedCommand()" and "IsCommandBlocked()" calls. Where "IsCommandBlocked()" returns 0 i.e. the command is not blocked?
    And "RemoveBlockedCommand()" returns 0, i.e. successful removal of the blocking command. However the command is still blocked and logged as blocked as seen in the above log.
    Link to Win32_Tpm WMI class:
    http://msdn.microsoft.com/en-us/library/aa376452(v=vs.85).aspx
    It seems as if the API:s and documentation is not up-to-date for TPM 2.0 or I am doing something else incorrect.
    Where can I find a way to unblock TPM2_ContextSave in TBS (TPM Base Services) for Windows 8.1 and TPM 2.0 hardware?

    Hello gzon,
    For this issue, I am trying to invoke someone experienced to help look into this thread, this may take some time and as soon as we get any result, we will post back.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • MSI Big Bang XPower II X79 release date

    Whats the release date for this motherboard to the UNITED STATES?  MSI Big Bang XPower II X79 LGA 2011

  • Error when attempting to install IE9

    I have tried installing from windows update as well as stand along installer. I keep seeing the following error in the setup event log: Package 982861 failed to be changed to the Installed state. Status: 0x80092004. I also see several other errors in

  • Internet saving webpages problem

    i have a problem that when i save a webpage on the desktop, when i try to open it , it directly opens my home page and doesn't open the saved page, i tried all possible browsers ( Chrome, IE, firefox) all the same problem. it bothering me thanks for

  • Bundling Services

    Bundling Services Has anyone used the bundling services in OSC?  We are looking to do this after our upgrade to 2008, but we know that it's the same as in previous versions.

  • Alert-original not found.

    Running iPhoto 8.1.2. I get the above alert with the option to cancel or find photo. I cannot find the photo.