How to use the LMSGetValue javascript method?

I try to call the javascript LMSGetValue method when loading the first slide in my class.

However, the following does not work:

studentName = LMSGetValue ("cmi.core.student_name");

I have consulted with technical support from the LMS, and they said, it seems as if captivate does not define the LMSGetValue method in the js file included in the course.

I have to do something to include the file scormdriver.js in the course, when it is published?

Any help would be appreciated.

SCORM_CallLMSGetValue ("CMI. Core.student_name");

You can also call this function once you get the name if it is not in the correct order:

ReverseNameSequence (strName)

Tags: Adobe Captivate

Similar Questions

  • How to use the PrintJob.addPage method print movieclips on frame?

    Hello

    I am using Flash CS3, AS2.

    I try to print the movieclips placed on different images in the main timeline.

    First of all, I have to print the movieclip placed on the 172 chassis, and then print a movieclip on the 179 chassis and so on...

    I applied the code below to the event (release) on a button named btnPrint:

    var my_pj:PrintJob = new PrintJob();

    If (my_pj.start ()) {}

    var pageAdded:Boolean = false;

    pageAdded = my_pj.addPage (0, {xMin:394, xMax:1033, yMin:46, yMax:953}, null, 172);

    If {(pageAdded)

    my_pj. Send();
    }
    }

    I have 2 problems with the above code.

    First of all, when I click on btnPrint in my flash animation in the web browser, and then press the "print" button in the printer dialog, it can print the movieclip placed on the 172 but frame flash animation in my web browser goes to the framework 172 and stops there. I don't want my flash movie to actually go to the 172 section where the movieclip is placed, but I want to keep it at the current frame.

    The second problem is the flash movieclip placed on frame 172 a actionscript code in this document, which sets the text in the text box inside the movieclip to the value of the variable that was recovered using the loadVariablesNum() method. However, print them page shows the movieclip with no actionscript code executed - the text boxes are empty. I'm sure that codes in the movieclip actionscript is correct because movieclip exactly same spot on the current frame displays the text correctly area.

    Can someone explain to me how sove such problems?

    Thank you.

    do you see a problem in http://www.kglad.com/Files/forums/test4.html?

  • How to expose the plugin JavaScript methods?

    Hi, suppose I develop a plugin in C++ that performs certain textual tasks with chips in the Acrobat Viewer. Can I access my plugin of JavaScript methods in order to be able to launch these tasks from outside of Acrobat?

    Thank you

    Frédéric

    It's your plugin - you can do what you want and condemn them but you want to.

  • How to use the backing bean method to show the outputtext value?

    things not clear is how init outputtext value if the bound property is not initialized.
    (the page opens but the values is null, need to call the getter before sort method)
    page view code:
    < af:outputText value = "user name: #{backingBeanScope.backing_page1.loginuser}" id = "ot11" / > "

    the corresponding code to support bean:
    private String loginuser.
    ...
    public String getLoginuser() {}
    return loginuser.
    }

    You need not call it yourself. Just put it on the page. When the page is rendered, it calls the method automatically.

    Timo

  • I don't know how to use the method (PDDrawPageOrCosObjectToBuffer) in the Mac environment.

    Use the method of PDDrawPageOrCosObjectToBuffer of Acrobat SDK from DC () in the Mac environment,

    I want to get a screenshot of the PDF in the bitmap to the screen.

    A description of PDDrawPageOrCosObjectToBuffer () in Acrobat DC SDK API references, but I do not understand how to use the method.

    Please tell me this use.

    If there is a code example using PDDrawPageOrCosObjectToBuffer (), I'm happy.

    Hello

    My code is finally working with PDDrawPageOrCosObjectToBuffer. I hope it helps someone:

    void releaseBufferForCG (void * / * info * /, const void * data, size_t / * size * /)

    {

    Free ((void*) Data);

    }

    CGImageRef CAcrobatBitmapCreator::ConvertToBitmap (const PDPage & i_rPDPage,

    ASFixedMatrix & i_rTransform,

    int & i_rBitmapWidth,

    int & i_rBitmapHeight)

    {

    Get the rect in user-space coordinates update

    ASRealRect updateRectReal = {0,0,0,0};

    ASFixedRect boxFixed;

    PDPageGetBBox (i_rPDPage & boxFixed);

    updateRectReal.top = ASFixedToFloat (boxFixed.top);

    updateRectReal.left = ASFixedToFloat (boxFixed.left);

    updateRectReal.right = ASFixedToFloat (boxFixed.right);

    updateRectReal.bottom = ASFixedToFloat (boxFixed.bottom);

    Convert the fixed transformation matrix to real

    ASRealMatrix transformReal = {0, 0, 0, 0, 0, 0};

    transformReal.a = ASFixedToFloat (i_rTransform.a);

    transformReal.b = ASFixedToFloat (i_rTransform.b);

    transformReal.c = ASFixedToFloat (i_rTransform.c);

    transformReal.d = ASFixedToFloat (i_rTransform.d);

    transformReal.tx = ASFixedToFloat (i_rTransform.h);

    transformReal.ty = ASFixedToFloat (i_rTransform.v);

    ASRealRect destRectReal = {0, i_rBitmapHeight, i_rBitmapWidth, 0}; l, r, t, b

    Prepare the buffer for drawing https://forums.adobe.com/thread/1850089

    This first call to PDDrawPageOrCosObjectToBuffer is only used to get the size of the buffer.

    ASCab flags = ASCabNew();

    ASInt32 bitsPerChannel = 8;

    ASUns32 bufferSize = PDDrawPageOrCosObjectToBuffer (i_rPDPage,

    CosNewNull(),

    ASAtomFromString ("DeviceRGB"),

    NULL,

    NULL,

    bitsPerChannel,

    flags,

    9,

    NULL,

    & transformReal,

    & destRectReal,

    & updateRectReal,

    NULL,

    0,

    (NULL);

    char buffer = (char *) malloc (bufferSize);

    Memset (buffer, 0xff, bufferSize);

    Draw in the buffer

    ASCabPutBool (flags, kPDPageUseAnnotFacesStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothTextStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothLineArtStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothImageStr, true);

    bufferSize = PDDrawPageOrCosObjectToBuffer (i_rPDPage,

    CosNewNull(),

    ASAtomFromString ("DeviceRGB"),

    NULL,

    NULL,

    bitsPerChannel,

    flags,

    9,

    NULL,

    & transformReal,

    & destRectReal,

    & updateRectReal,

    buffer,

    bufferSize,

    (NULL);

    Convert buffer CGImage

    // 1. Remove the 4 bytes of padding at the end, in a new buffer.

    size_t bytesPerRow = (i_rBitmapWidth * 3);

    bytesPerRow = (bytesPerRow % 4 == 0? bytesPerRow: bytesPerRow + (4-(bytesPerRow % 4)));

    size_t bytesPerRowForGC = i_rBitmapWidth * 3;

    size_t bufferCGSize = bytesPerRowForGC * i_rBitmapHeight;

    char * bufferForGC = (char *) malloc (bufferCGSize);

    Memset (bufferForGC, 0xff, bufferCGSize);

    for (int lineIndex = 0; lineIndex)< i_rbitmapheight;="">

    {

    char * destGCPtr = bufferForGC + (lineIndex * bytesPerRowForGC);

    char * srcPtr = buffer + (lineIndex * bytesPerRow);

    If ((srcPtr + bytesPerRowForGC)<= (buffer="" +="" buffersize)="" &&="" (destgcptr="" +="" bytesperrowforgc)=""><= (bufferforgc="" +="" buffercgsize)="">

    {

    memcpy (destGCPtr, srcPtr, bytesPerRowForGC);

    }

    on the other

    {

    break;

    }

    }

    // 2. Create a CGImage using the new buffer.

    CGDataProviderRef provider = CGDataProviderCreateWithData (NULL,

    bufferForGC,

    bufferCGSize,

    releaseBufferForCG); Buffer are ions released this reminder

    Space color CGColorSpaceRef = CGColorSpaceCreateDeviceRGB();

    CGImageRef finalImage = CGImageCreate (i_rBitmapWidth,

    i_rBitmapHeight,

    bitsPerChannel,

    bitsPerChannel * 3.

    bytesPerRowForGC,

    color, space

    kCGImageAlphaNone,

    provider,

    NULL, / / decode (of remapping the colors)

    true, / / interpolate (pixel smoothing)

    kCGRenderingIntentDefault);

    CGColorSpaceRelease (colorspace);

    CGDataProviderRelease (provider);

    Free (buffer);

    FinalImage return;

    }

    David

  • How to use the wait flag integrated at the level of the element during the AJAX call

    Hello
    I would like to use the integrated waiting indicator that appears next to the selection in cascade and textfields autocomplete lists in my own AJAX call. But I don't know how to attach to the question that I'm updating.
    Can someone help me in the right direction?

    In my case, I'm running the database to update the value of an elements to the screen. My Javascript looks like this
    function MY_FUNCTION
     (p_get_item1
     ,p_get_item2
     ,p_get_item3)
    {
      //create the AJAX call refering to the APEX application process
      var ajaxRequest = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=AP_NAME', $v('pFlowStepId'));    
      
      //put values on screen into APEX PL/SQL variables
      ajaxRequest.addParam('x01',$v(p_get_item1));
      ajaxRequest.addParam('x02',$v(p_get_item2));    
      ajaxRequest.addParam('x03',$v(p_get_item3));    
    
      //do the actual AJAX call 
      var ajaxResponse = ajaxRequest.get();   
      //and set the items on screen based on the JSON text returning  
      json_SetItems(ajaxResponse);  
    }
    Thanks in advance

    You must use jquery instead of htmldb_get to make real asynchronous, and then add the rotation like this icon

    I used the jquery post method to call the process of request here

    function MY_FUNCTION
    (p_get_item1, p_get_item2, p_get_item3) {
         //show indicator
         $('#YOUR_ITEM_NAME').after('');
    
         $.post('wwv_flow.show', {
              "p_request" : 'APPLICATION_PROCESS=AP_NAME',
              "p_flow_id" : $v('pFlowId'),
              "p_flow_step_id" : $v('pFlowStepId'),
              "p_instance" : $v('pInstance'),
              "x01" : $v(p_get_item1),
              "x02" : $v(p_get_item2),
              "x03" : $v(p_get_item3)
         },
              function (data) {
              //and set the items on screen based on the JSON text returning
              json_SetItems(ajaxResponse);
              //remove indicator
              $('#YOUR_ITEM_NAME').next(".loading-indicator").remove();
         });
    }
     
    
  • How to use the Print Screen function?

    I've seen various descriptions of how to use the print screen function.

    It would be nice to actually tell one that works.  None have worked for me.

    [Fn] and Prt SCr does not work.

    CTRL and Prt SCr does not work.

    CTRL, Alt, and Prt SCr does not work.

    [Fn], Ctrl and Prt SCr does not work.

    If anyone knows the correct method to activate the screen capture function which would be a good thing.

    From the looks of things, HP has a big problem with this function.

    Here's a microsoft articleon the use of the screenshot function.

    This should answer your questions.

    Thanks for taking a peek.

  • How to use the recovery CD?

    Hello

    Ive lost the instructions to tell me how to use the recovery CD. I forgot, I need to press to access the disks when I reboot!

    Can anyone help please?
    St. Clare

    Hi clear, before using the recovery CD make you that all important data has been saved to the floppy or USB key because the procedure will erase the entire hard drive. The method for booting from a cΘdΘrom may vary according to the model number of your laptop, but it's something like hold the 'B' button for the Toshiba Startup logo. If this fails you can try to change the boot sequence or use the Toshiba from Windows or the BIOS configuration tool (ESC then F1 when prompted from a cold start) make CD-ROM the first device startup in the list.

    Richard S.

  • How to use the scan on a 4215i function all in one printer

    How to use the function scan with this printer with windows 8. I did the installation but the scan function is not wwork

    You have the printer Officejet 4215 all-in-one?

    If so, then there is no complete features in the printer driver.  The printer is using the Windows printer drivers Update menu.  For more information on using the driver from Windows Update, click here.

    You have this printer connected via USB?  If so, then there is workaround methods to get the printer to scan, as the old software package is not available on Windows 8.  In the above linked document, scroll down to the section on how to scan with updated driver for information about how to perform these types of scans.  I hope this helps.

  • How to use the gateway carrier on BlackBerry J2ME WAP?

    How to use the gateway carrier on BlackBerry J2ME WAP? Because the default gateway on BlackBerry is "blackberry.net". How to hard code in the application to force the application to use the WAP gateway? An example of code? Thank you!

    You can specify the specific settings of the WAP gateway within the Connector.open () method. There is a knowledge base of any developer this article here:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is_-_Different_ways_to_make_an_HTTP_or_socket_connection.html?nodeID=826935&vernum=0

  • How to use the background rim start page: allowInvokeParams

    Hello

    How to use the element of the rim: background? what it is?

    1. To run javascript? openBISPushListener?
    2. Can you pass parameters between it and the content page?
    3. How to pass parameters between it and the content page?

    It defines a page will be loaded in the background when your application starts.  This page is intended to run any startup logic (for example starting listeners - Push is an excellent example) that your application may need to depend on, without any user interface.

    This background page is WITHOUT user interface.  Any attempt to interact with the user interface (for example change the DOM, calling alert() statements, etc.) will result in no action.  Nor will calls to redirect, since the background page does not interact with the pages of foregroud - if no query string.

    To answer your question - ' How do you pass parameters between it and the content page.  I suggest using a technique of storage like localStorage, WebDB, or same file offline.

  • How to use the SDLT tape drive in the guest OS VM

    Dear

    now, I have HP DL380 G5 Server running windows 2003 Ent. with bus adapter host SC11xe PCI - E HP which directly connected tp SDLT Tape Drive as backup server and use for the backup operation.

    I want to move the physical backup to host vmware server and EMC AX4 allows you to have a backup online and allows you to take backup offline, SDLT tape drive

    My question is how I use the SDLT tape drive in guest OS vm and vmware knows "HP PCI - E SC11xe Host bus adapter" or not.

    Please let me know how to do this.

    Kind regards

    Mahdi Bellavia

    I have a G5 DL385 (AMD of the DL380 version) with a DLT3.   I use an Adaptec 29320LPE, appearing on the compatibility list.  We plugged a HP Ultrium 920 changer using the 'old method' SCSI passthrough.  We bought the Adaptec card, because we used initially ESX3.5.  We are now on ESX4.0, but for various reasons, the configuration left the same, so I have not tried with VMDirectPath I don't know if it is possible to use the SC11ex card, but if you arrive VMDirectPath at work, it seems then you need another SCSI card.

  • How to use the RMI Stub class in programming?

    Hi all

    I'm new to the RMI.

    Can someone explain to me how to use the RMI Stub generated by calling command CRIM?
    For my tests, I can only call object rmi through its remote interface method. So what heel is when we are coding?

    I appreciate anyone's help.

    Thank you very much
    Xianyi.Ye

    When the remote object is committed to the registry, which is actually linked is the draft.

    So when the client performs a search in the registry, as it gets is the heel. However from the point of view of the customer, it's just a mystery object that implements the remote interface.

    So you must use it directly, it's all automatic.

  • How to use the data object 'DatastoreHostMount '.

    I train to iterate on the grouping value in vCenter and for each data store found, determine whether a host has mounted data store or if it is visible to the host. I am using data object 'DatastoreHostMount' , but I don't know exactly how to use the object to retrieve the name of host configuration.

    Here's the perl code snippet and I get an error for:

    #get all hosts within cluster and check the connectionState and compare with all datastores found
    #is there a more efficient way to combine this section with the next section?
    
            my $hosts = Vim::get_views (mo_ref_array => $cluster->host);
    
            foreach my $host (@$hosts) {
                    if ($host->runtime->connectionState->val eq 'connected') {
                            my $datastores = Vim::get_views (mo_ref_array => $cluster->datastore);
                            foreach my $datastore (@$datastores) {
                                      print "  Datastore ", $datastore->host->summary->config->name,"\n"
                            }
                    }
                    elsif ($host->runtime->connectionState->val eq 'disconnected') {
                            print "\t|", $host->summary->config->name, "|Disconnected|\n"
                    }
                    elsif ($host->runtime->connectionState->val eq 'notResponding') {
                            print "\t|", $host->summary->config->name, "|Not Responding|\n"
                    }
            }
    

    Cannot call method 'Summary' on some wrapping 71 de./listCluster.pl.

    Disconnection of the end

    =========================================================================

    -William

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    OK, I remembered how it works. Sorry for the noise:

    |

    My $datacenter = Opts::get_option ('Center');

    My $datacenter_view = Vim::find_entity_view (view_type = > 'Data center',)

    filter = > {name = > $datacenter});

    If (! $datacenter_view) {}

    Die "data center" "» $datacenter. "" not found\n ";

    }

    My $cluster_views = Vim::find_entity_views (view_type = > 'ClusterComputeResource',)

    begin_entity = > $datacenter_view);

    My $counter = 1;

    Print "Clusters found: \n";

    {foreach (@$cluster_views)}

    Print "$counter:". "." $_-> name. "\n";

    My $datastores = Vim::get_views (mo_ref_array = > $_-> data store);

    foreach my {$datastore (@$datastores)}

    my $instances = @{$datastore-> host};

    my $instance = 0;

    while($instance < $instances) {}

    My $x = Vim::get_view (mo_ref = > $datastore-> Home-> \[$instance\]-> key);

    print $datastore--> summary-> name, "Datastore", $x-> name, "\n";

    $instance ++;

    }

    }

    $counter ++;

    }

  • How to use the functions of SetValue executeScript activity.

    Hello

    Could someone let me know how to use the function activity setValue (serialize concate, count etc) in activity executeScript. What all liberaries I need to import to executeScript. I want to perform the same task in executeScript performed in the setValue activity.

    Concerning

    Sunil Gupta

    Forgive me if I seem obtuse, but why would you use XPath functions (is that serialize, concat, and count) when there are perfectly good Java alternatives that will be much easier to use.  Java is, after all, the language used in the executeScript.  Serialize is just toString(), CONCATENATE is just + or. concat() (I assume that you are running on Java 6 web application server).  The count function is just the length() or size() methods or to the tables, the length property.  If you really need to reorganize in a variable of the XML data using a XSL stylesheet - you have access to all the functions in XPath 1.0 and XPath 1.0 power and you do not need to tinker with the headache of trying to debug Java in an environment (Workbench), which does not give you the tools that you would normally , as a contextual Editor.

Maybe you are looking for

  • If I use the import of my Explorer, it only copies the info &amp; WILL HE ALWAYS BE in EXPLORER?

    Once I import information from the Explorer, this info will still be on explorerif that I choose to run it?

  • A9P58UA #ABA: cannot use recovery DVD in the DVD player laptop external Envy 15-3033 CL

    I had to replace the hard drive of the laptop. A directed recovery DVD from HP. The internal DVD did not work, so I'm an external LG DVD player, model GP50NB40. I put the boot order in the BIOS to USB CD/DVD. However, the laptop does not recognize th

  • Photo library could not be opened

    iMac with new 2 TB hard drive. OS X 10.10.5 I had my hard drive replaced and you have a series of backups Time Machine on an external drive. After copying my library of Photos in the pictures folder, I opened pictures while pressing the Option key. 

  • DisplayPort-HDMI no video

    Hello! I have connected my w500 to a plasma tv via the displayport using hdmi cables and an adapter of displayport-hdmi monoprice. I don't see any video on my tv. The laptop detects the panasonic tv in the center of catalyst. I ran a test in the Dire

  • Removal handle NI-SMU-1075

    Hello I have a NI SMU-1075 chassis that needs to go in a rack temporarily.  There is a handle that allows you to pick the thing up and carry it on the side.  I can't, for the life of me, understand how to remove the handle without having to take part