Can Advanced Action functions be done with JS?

Is it possible to use JavaScript to perform Advanced Action functions like "show", "hide", "assign", etc? If so, is there an applicable reference doc?
Thanks,
Bob

The SWF JS API does not support show/hide... only assign.  HTML5 JS API supports show/hide and assign.
To assign a vairable regardless of Output, you can look at this article:
http://captivatedev.com/2012/12/17/display-the-students-name-from-your-lms-using-adobe-cap tivate-6-x/
If you want to show/hide in HTML5, you can use
cp.hide("ItemNameHere");
cp.show("ItemNameHere");

Similar Messages

  • Can advanced actions be applied to animations, images etc??

    When messing around with Cap 4 last week, I was sure I saw a
    function that would make it possible to apply an advanced action to
    an image or animation. Now I simply can't find it and I am
    questioning whether I saw it in the first place and that it was
    possibly a dream of what I wanted Cap 4 to have.
    Can anyone help me?????
    Regards,
    Ryan

    Hi Ryan,
    You can show / hide objects using the Show and Hide actions
    that are part of the Standard Actions. Choose Project >
    Actions.... When the Action Dialog appears click on the Advanced
    Actions tab. Next, from the Edit / Create Actions menu choose
    Create a new action... Now double-click on Add Statement, from the
    menu that now appears, choose either Show or Hide and then select
    the object you want to show or hide.
    Once you have created and saved your Action. You could then
    apply this to say a button.To do this you would simply create a new
    button and from the on success Action menu of the button dialog,
    you would select Execute advanced action and then select the action
    you just created.
    If you wanted to hide multiple objects. You could choose
    Multiple Actions (from the on success) menu. Clicking the "..."
    button will display the Set Advanced Actions dialog. Selecting say
    Hide would then display all the objects on the current slide. From
    this dialog you can then select each of the objects you want to
    hide and then click the Add button. Clicking OK twice to dismiss
    both the dialogs and then previewing the project will then enable
    you to test out the hide functionality.
    Actions are a fantastic addition to Adobe Captivate 4 and
    although they might take a little getting used are definitely worth
    preserving with.
    Best - Mark

  • Package/procedure/function calls done with in a package

    Hi Experts,
    Can anybody suggest me the table/ a query to find the package/procedure/function calls (with in the same db or remote) done with in a package.
    It would be great if we can provide a tree like structure of the objects being called/used.
    btw.. dba_dependencies will provide me the info about the global procedures only not the local ones used with in the package body.
    Appreciate your time..
    Thanks
    Manju

    manjukn wrote:
    Hi Experts,
    Can anybody suggest me the table/ a query to find the package/procedure/function calls (with in the same db or remote) done with in a package.
    It would be great if we can provide a tree like structure of the objects being called/used.
    btw.. dba_dependencies will provide me the info about the global procedures only not the local ones used with in the package body.
    Appreciate your time..What database version do you have?
    11g I think provides some sort of fine grained dependency information which can detail packages, but prior to 11g you can only get dependencies on the database objects themselves of which functions/procedures within a package are not, as the package itself is the object.
    I don't think there's any easy way to find out from any tables or views and I think third party tools would have to parse the code to determine such things themselves, so that may be one of your only options.

  • Can ⌘⌃D (dictionary function) be used with a different dictionary?

    Was reading a French web page when it struck me that it would be HUGELY useful if the hovering look-up function (holding down CommandControlD over a word to see its definition from the Oxford dictionary or thesaurus that come with OS X) could work with a French-English dictionary. Is there any way to define what dictionary the function defaults to? Are other dictionaries available, and can they be added to the system? I mean, if hovering over an English word and getting an English definition is useful, think of how much MORE useful it would be (for English speakers) to get the definition of words in a language one doesn't know as well! Anybody know if this can be done?
    Thanks in advance,
    Michael

    Other languages are not available for Dictionary.app. However there are other things that might meet your needs, like
    http://www.eloquentsw.com/livedictionary.html

  • Can multifunction printer functions be used with Express and bonjour?

    I'm using a Canon Pixma 830. It prints fine through airport express. I've hooked up the printer to the airport express using a usb cable.
    The question is. Can I use the other functions of the scanner using the bonjour/Express set up? I doesn't seem to work. I'm using a macbook so not hooking up the usb directly to the computer would be helpful. Thanks.

    Yes.
    Unofficial List of compatible printers.
    http://www.ifelix.co.uk/tech/1013.html
    iFelix

  • Text Entry Box--Advanced Actions--Conditional Statement--Double quotes in literal input value

    Hello forums,
    I'm new to the forums (and Captivate in general), but I'm having a real problem carrying out a tutorial design and I think you may be my only hope.  Let me explain what I want to do and the difficulty that I'm having:
    I'm an instruction librarian at a university, and I'm designing an interactive tutorial for English 100 students to complete in order to become familiar with how to search the library catalog.  What I've done is taken a screenshot of the catalog search page, made it the background of a slide in Captivate (vers. 6), and placed a text entry box over the search bar in the screenshot.  The idea is for the students to conduct a simulated search by choosing one of three suggested search string formulations, and depending on the search string they enter, the tutorial will jump to a slide featuring a screenshot of what the actual search results would look like.  The idea is to emphasize the use of keywords over full-sentence phrases, and the use of double quotation marks to enclose multi-word search terms.
    So I've set the action for the TEB to "Execute Advanced Actions" and then created some IF/THEN statements in the "Advanced Actions" pop-up window (with action type set to 'conditional'). The script is such that if the student enters the first search option (how does sleep affect college students) in the TEB, the tutorial jumps to 1 slide, if they enter the second option (college students AND sleep), featuring a Boolean operator (AND), the tutorial jumps to a 2nd slide, and if they enter the third option ("college students" AND sleep) with the double quotes around "college students" and the Boolean operator, the tutorial should jump to a 3rd slide.  This action script works fine for the first two input options, but I can't make it work for the third search option.
    I think that it has something to do with the fact that the third input option features double quote marks, and this seems to throw off the script (I tried a quote-less input value for the third IF/THEN just to make sure that it would work jumping to the 3rd slide and it did), and I'm wondering if anyone has any suggestions as to how I can get around this issue.  Again, I need it to work so that if the student enters "college students" AND sleep, with the quote marks and the Boolean operator, the tutorial will jump to a slide showing the search results if those search terms were used in a real search of the catalog.
    I'd be extremely grateful for any help that anyone here can give me, we've been trying to make our online tutorials more engaging and interactive (and therefore more interesting), and I think this would be a great way to teach students about using quotes in their catalog searches.
    Thank you for your time and consideration.
    Andrew Wilk
    College Library
    UW-Madison

    The tutorial is for a "how to use catalog searching" instruction in an undergraduate library session.  We use boolean operators (AND, OR, NOT) to combine search terms, ex. to search for books about the sleeping habits of college students, I would enter "college students AND sleep."  Because "college students" is a multi-word phrase to describe one concept, I need to put quotation marks around the phrase to prevent the catalog from searching for the individual words separately, so the most correct search becomes ["college students" AND sleep] with quotation marks around only "college students," a user-typed "AND," and the word "sleep" (no q-marks).
    A colleague of mine worked out a pretty cool (if complicated) solution that I'll share if anyone is interested.  Since the q-marks where the problem, we've set it up so that the TEB validates the response for the search string with q-marks around "college students." If they enter it correctly, the tutorial jumps to the corresponding slide. The attempt # is set to 1, and if the user fails to enter the validated phrase (they misspell or use one of the other response options) then the TEB is set to run an Advanced Actions Script in which the other two options are scripted in IF/THEN statements that cause, when the term is entered correctly, the tutorial to jump to their corresponding slides. We've created another tab of IF/THEN statements that say that if the response is NOT equal to one of these response options, then the slide restarts (technically the slide "jumps" back to itself and starts over) and the user gets another chance to start the cycle over again.
    I know this is confusing (I had a really hard time explaining it in words), so if anyone is interested I could make a Jing video when I have some time.
    Thank you for all your suggestions

  • Repeat advanced action over 3 slides

    Hi there,
    I have an advanced action that shows an image and some text when entering a slide depending on the users selection in a drop down box earlier in the program. This works fine, however I would like this same result to show on 3 different slides.
    I though setting the image and text to "show for rest of project" and using the same advanced action on the slides would work - but no!
    Can anyone help? It is going to take so long to copy all the images and text, rename them and then copy and edit the advanced action to suit!
    Thanks

    This is an old post, and not everything is valid anymore:
    http://blog.lilybiri.com/playing-hide-and-seek-with-captivate-objects    Now you can hide/show an object timed for the rest of the project anywhere.
    You have 7.0.1.237, which means you can have shared actions. And this will be worthwhile since you have to use it on multiple courses.
    For reasons of file size, and also because it keeps the same ID, I would plead to show/hide the same group (hope you grouped the text + image).
    You create an conditional advanced action (one decision for each choice from the dropdown interaction), as you have already done. After testing on one slide (to see if it is OK), turn it into a shared action, and use that On Enter for each slide where you want to see the group. I know, you'll have to choose parameters each time, but a shared action is not adding to file size as do duplicates of advanced actions and you don't have to type in new names for the advanced actions on each slide.
    Create a standard advanced action, that hides all groups, turn that it in a shared action as well, and trigger it On Enter for each slide where you need to hide the objects. No need for a conditional action there.
    Lilybiri

  • How can I combine advanced actions with the branching view?

    I am creating a branching scenario in Captivate 7. It's fairly involved and I'd like to keep track of it with the branching view. But, I understand that if I use an Advanced Action, it won't show up in the view. My slides track a conversation that goes down different routes based on the selected answers. I give the user 3 smart shapes that I'm using as a button. When they press the button, I want to change two variables and then jump to another slide. If I put this all into one advanced action, I have to write an advanced action for each button and it won't show the branches.
    Is there a way to execute an action that will change my variables. Then, have it jump to a slide. I've been trying to give the user 1 attempt, execute my advanced action that will change the variables, and then have the Last Attempt jump to a slide, but that doesn't seem to work.
    Any other ideas?

    I just upgraded to version 8, hoping for a solution.
    I know that I can write an Advanced Action for every slide like this:
    It changes my variables and then advances to the right slide. But, I'll have 100+ slides when I'm done and I was hoping that could make this a little easier. AND, I can't track it on the branching view.
    I was hoping that I could make this work:
    I could use an Advanced Action to change my variables (I would only need a few) and then have it jump to a slide. This would show up in the Branching view. But, I can't get that work.
    Are there any other options?

  • Can't save/update advanced action with specific slide set to jump to

    Using version 6.  Experienced with Advanced Actions, but no clue what's causing this.  If I include a "Jump to Slide" pointing at a certain slide in the project the action will not save or update.  I can point at any other slide except the one I need.  Nothing especially unique about the slide in question.

    When you save/update, does it give any error/prompt?
    Try creating a fresh script just with the action to jump to 'that' slide.
    Also check from a regular button, if you can set on Success to jump to the particular slide.
    Thanks,
    Anjaneai

  • I reinstalled I-Tunes several weeks ago.  Since then I can no longer burn MP3 Discs with Title and Artist Info.  Sometimes it only burns every 3rd song.  No Audio CD it seems to function OK.  The version has the "cloud" but I don't know if that matters or

    I reinstalled I-Tunes several weeks ago.  I can no longer burn MP3 Disk with Song/Artist info onto disc.  It comes up as No Artist/No Title on car CD unit.  Old MP3 Disk previously recorded still show all info.  Sometimes only every 3rd song is on the MP3 CD.  On Audio Disc there is no change and all info still shows up.  The new I-Tunes version has the "cloud" on it if that could make a difference.  In the select Burn CD mode I can select testing and add song info for Audio Disk but it shows shadowed out for MP3/Data.  I added and removed ID tagging from my list to see if that made a difference but it didn't.
    Any Thoughts?
    Jim

    This may help.  Audio files are actaully in the DATA folder.  These can be editted with Soundbooth then they must be imported intot the specific slide in the Powerpoint presentation.  Publish the presentation (as you'll read below) and *should* work This reply came from robva65 [email protected]
    Let's try this: *Publish* the PPT deck you have.  What you'll end up with is a set of files and folders, but I want you to look for the *data folder* that's created as a result of the publishing process. (Unless you specify where you're publishing to, Presenter will publish to a directory called "My Adobe Presentations" by default, so you may have to look there on your harddrive)  Inside the data folder will be a list of mp3 files, which, if everything goes smoothly, should make it much, much easier to see which audio is used by a specific slide.
    Here's what I mean: for example, after publishing, I have a data folder and inside I found the following file: a24x9x3.mp3  As I double click the mp3 file (which causes it to play using Windows Media on my laptop), I can hear that it corresponds to my slide 9 in my PPT deck.  And there's corresponding mp3 files for each and every slide I have in my deck.  I'm clicking another file (wouldn't it be nice to see what I'm doing???) a24x20x3.mp3, and that file corresponds to my slide 20 content in PowerPoint.
    So again, give publishing in PowerPoint a shot and see if that makes it any easier.  Well...not nearly as easy as recording in Audition/Soundbooth/Audacity, but it's close enough to hopefully dig you out of that hole you're in now.
    Hope this helps ~rich

  • Can I use conditional and advanced actions on the same button?

    I'm fairly new to Captivate, but come from a background of flash and am struggling to use Captivate to do some things I would have expected to be fairly simple and a normal requirement.
    I want to create a screen with a number of interactive objects, in this case pictures, that the learner clicks on to display a piece of text.
    On clicking the next picture the first piece of text is hidden and a second piece shown.
    There are 6 pictures/buttons that need to work this way.
    However I also want to assess whether all the buttons have been used, as we have to force the user to view the entire slide before they continue.
    I can do the hide/show of text and buttons, and I've written a conditional action to check the variables for each button. However I don't know how/when to call this action.
    I was hoping that in my advanced action for each button I could add in a call to the conditional 'check variables' action, which would nicely fulfil this requirement, however this doesn't seem to be the case.
    I have also got animation/effects on the timeline before the images are on screen meaning I don't want to go back to the start of the timeline to use a 'on enter' event.
    I'm surprised this isn't something more people need as although it may be frowned upon out in the e-learning field, disabled navigation is frankly not going away and working for any large corporation will be a must.
    If anyone can shed some light on this, or maybe suggest a better approach then I would appreciate it.
    Thanks.

    Hi Lilybiri,
    Thank you for this, I suspected that this was going to be the way I would have to progress.
    I have to ask though, at present the company I work for uses a very straight forward off the shelf WYSIWYG elearning content designer.
    One of the core template pages is a hotspot page, which works in the way I have explained at the top.
    This is also one of the standard e-learning pages I have used in all my other positions, including when building in Flash.
    It seems incredible to me that to do such a simple, commonly used, page type we will require what is a fairly involved process rather than this being one of the page types or templates.
    I am currently trying to pilot Captivate to show how much better it is to the current product, however the other designers have no programming background and I think will stuggle with the conditional actions, meaning that this is pretty much going to be a no go which I'm gutted about...
    I think I stand a chance of teaching advanced actions but anything beyond that is unlikely initially.
    RodWard, thanks for your comments, I'm finding the actions ok in Captivate, as I say above I'm just amazed that this simple and commonly used page is so convoluted to create!
    My other frustration is the lack of control of the events, not being able to specify x and y for motions etc. but I'm finding work arounds...
    Is there a way to create my own page template? Could I write all the actions and bundle that into a page to provide the other designers so with some naming conventions they could use this functionality?
    Thanks for your help.
    Matt

  • Problem with "Hide" command in advanced actions

    Hi:  I am having an issue with the "Hide" function in advanced actions.  Here's the scenario:  I have a smart shape covering an object on the master slide.  When the user clicks on a click box, I want the smart shape to go away (hide) so that the object on the master slide appears.  I set up the click box and then added the advanced action as follows:
    Conditional Action:
    If
    1 is equal to 1
    Actions:
    Assign v-Tanker with 1
    Play Audio Slide 12Tanker.mp3
    Hide HazWasteDefHider
    No Else action because 1 is always equal to 1.
    The problem is this...When I click the Click box in preview, the first two actions happen, but the last one (Hide HazWasteDefHider) does not.
    What am I doing wrong?  Any advice would be appreciated.

    I have to disagree with my esteemed colleagues on this one.  I NEVER use Standard Actions (SA) unless I know for certain that it will be a very simple action I'm happy to delete and rebuild if it turns out that I ended up needing a Conditional Action (CA) instead.
    Perhaps it's just the types of projects I work on, or perhaps it's a flaw in my character, but in my experience almost every time I've used a SA in a project I've ended up needing a CA later in the development process and wished I'd done that in the first place.  So I've fallen into the habit of ONLY ever using CAs as insurance against wasting time.  I've not found CAAs run any slower than SAs, but they are FAR more versatile.  SA's hem you in too much.
    You can easily make a CA work as a SA by fudging the condition with 1==1 as mentioned above. And you can mix CAs with SAs as consecutive statements in the same CA. But no matter what you do, Captivate does not allow you to change a SA into a CA.  Once created, the die is set in stone for SAs.  It's the fact that you cannot convert one into the other that makes me go straight to the CA option in the drop-down each time.  I just wish I had the option to make CAs the default instead of always needing to change it from SA.
    I would personally prefer that Captivate's developers made the Condition section of a CA optional via a check box or similar so that you could just switch off the condition if you didn't need it.

  • How can I display the elapsed time of the course using Advanced Actions in Captivate?

    I have a Captivate course which is approximately 35 minutes in length. On each slide I would like to display to the user, the current elapsed time.
    EXAMPLE:
    25/35 minutes complete
    The 35 would remain static, so I have been working with the elapsed time system variable in CP: elapsed:$$cpInfoElapsedTimeMS$$
    I can't seem to get the variable to properly display the elapsed time in minutes, rather than miliseconds. Attached is a screen shot of my advanced action.
    Can anyone provide guidence regarding how I should structure this differntly?

    I talked about that Timer widget in that blog post and pointed to another one:
    http://blog.lilybiri.com/timer-widget-to-stress-your-learners
    If you are on CP7, you'll have this widget also as an interaction, which means it is compatible with HTML5 output. Amd there is also an hourglass interaction, with similar functionality but... did not blog about that one
    PS: Check Gallery\Widgets to find all widgets. Default path is set to Interactions

  • How can you trigger more than 1 advanced action?

    I wonder if someone can answer a very quick question for me that I'm struggling with at the moment
    I have 6 stacks of 16 images. I have the user select the name of the image they want to show in each stack, and then I have an advanced action that runs to show only the image they have selected. Currently I have 6 actions, one for each stack of images.
    What I need to do is to run all 6 advanced actions as the user enters a page so they only see the 6 images they have selected on the previous slide. My problem is that I can only seem to run one advanced action upon slide entry (or from a button or anything else). Is there a way to combine advanced actions, or to run more than one action from a single command? Or does this require a different approach?
    Thanks in advance for your help.
    James

    Thanks Lilybiri and RonWard,
    I guess I could have been clearer in my question.
    I'm using Cp5 and to give you an idea of what I'm doing I've pasted an image of the slide I'm playing with below.
    Each image you see here is actually a stack of 16 images that are hidden on slide enter. There is a combo box under each stack that allows the user to choose the name of the image they want to use, and the button triggers an advanced action that shows the image that has been selected.
    Ultimately what I intend to do is to move the combo boxes to the previous slide, and on slide enter only the 6 six selected images will be shown. I'm then going to use a drag and drop widget to create a question about of all of this. The teacher will select which 6 images are relevant to their students, enter some information (definitions, quotes etc) that are related to each image, and the students will have to drag them to the correct image / icon.
    So... I've created 6 advanced actions, one for each stack of images. (I suspect that was my mistake).
    I've attached an image of the action. For each Action there are 16 parts to it. One for each image. You can see here that the action is fairly simple. It just checks the variable that comes form the combo box, and if it has been selected, then it shows the appropriate image. If not it just moves onto the next part of the action which checks for the next image being selected.
    There is one action for each stack of images - so 6 actions. If there was a way to combine them it would be very helpful - but I'm suspecting that's not possible. Alternatively if there was a way to trigger all of them together that would work - but again I don't think that's possible. So what are my options.
    Finally, and here's the biggy that I don't think can be done. As I eluded to above. The idea here is that a teacher will set this up and a student will then complete the activity. Is there anyway for the teacher, without Captivate, to select these images and enter some other variables, and have that information propagated across a network so many students can use the project with the variables the teacher enters just once?
    Thanks heaps for your help. This forum is great. I'll spend some time reading the blogs mentioned also. I'm so thrilled that Captivate is finally letting me do some of the elearning things I've wanted to do for years. I'm a teacher by training and now consulting and building resources for schools.
    Thanks again
    James

  • Display selection of user variables later on in project - can't get advanced action to work

    Hi all,
    I'm working on a sales training with Captivate 5, based on PPT. I want to do the following, but can't figure out how to design the advanced actions to do it:
    The learner is asked to choose 1 of 3 products he wants to work with (ok, that's easy).
    For that product he's asked to provide 10 features in TEBs (so far so good, 10 user variables created for each feature).
    As a next step, he needs to choose the top 3 features with which he wants to work further. The chosen 3 display a check mark when the respective clickbox is clicked, when he chooses the 3rd, a 'done' button & a caption 'click here...' appear. Advanced actions working ok, see below what they look like. If there's an easier way to do that, please let me know - took me hours to get this to work!
    One issue I face is, that I don't know how I could allow the user to change his choice, i.e. 'un-check'. Currently, checked is checked - no way for the learner to change his mind.
    But even more importantly:
    I need to display the content of the 3 checked/selected variables at a later stage in the project. So, say the learner choses feature 2, 3 & 6 as the most important by checking the respective clickboxes behind the displayed variables (v_neo_f1 to f10) - how do I need to change my advanced action, so that I can generate variables v_neo_chosen1 - 3?
    As you see in the screenshots above, I've tried to do that by creating an additional variable for each of the 10 features and assigning the value 1 when it's checked. That way I could check later in the project, which of those variables has the value 1 - but I don't know how to link this variable (v_neo_f1_check) then to the variable for the feature in which the text I need to display is stored (v_neo_f1).
    This got me a major headache & hours of frustration already - can any of the guru's help me out here?
    If anybody is interesting in creating the necessary actions for me at a reasonable rate, please let me know. I'm bordering desperation.
    Happy new year,
    Anja

    I'm not sure I fully followed exactly what you are trying to do, but essentially what I got from your post is that its pretty complicated and you want to create new variables on the fly.
    For that sort of thing I would suggest that advanced actions may not be advanced enough for what you are trying to achieve and that you should go for a Flash Widget instead.
    For anybody getting started on widgets, I throughourly recommend the Widget Factory by the Widget King, which can be found at:
    http://www.infosemantics.com.au/widgetking/
    I also strongly recommend the following video:
    http://www.adobe.com/cfusion/event/index.cfm?event=register_no_session&id=1719643&loc=en_u s
    Alternatively, as Lilybiri suggests, there may already exist a widget that does what you want it to do.

Maybe you are looking for