Another way to bypass Lectoras Completion tracking may be to just add a second page to your title (not to be accessible). By this the AU should never “Completed” (Lectora) because the second page can’t be reached.
As you probably know the starting position of the object, you can create your own variables holding the initial values for x and y. You can modify these variables normally, e.g. “Add to variable” “10”. The Move to action can use the variables for the target values.
I tested in moodle with Lectora 17.0.6 (no seamless play) and IE 11. In my combination the default bookmarking works flawlessly. In the end this might mean that there are lots of potential sources for your issue.
var adress = window.location.href.split("/");
var bookmark = adress[adress.length-1];
The code retrieves the file name of the current page (e.g. “a001_page_1.html”) and saves it to the LMS immediately. Through this “AICC_Lesson_Location” is bypassed but you might check whether this variable is updated correctly in your course and use it instead.
This worked in moodle, i.e. the bookmark (cmi.core.lesson_location) is updated whenever a page is loaded. The default prompt to redirect me is shown when I reopen the course … but of course at this point the LMS value has been overwritten by Lectoras default bookmarking.
I’ve just reread my code and there’s indeed a small mistake in it, which probably has been made by that old forum software that used to add blanks in random places. As AICC_Student_Name contains the users name in the form “Surname,Firstname” it must be .split(“,”) (no blank) instead of split(“, “). The “limit” parameter is optional and it doesn’t tell the number of substrings that shall be created, it tells how many of the substrings shall be added to the new variable:
The code ‘var username = VarAICC_Student_Name.getValue().split(“,“,1);’ would create two substrings “Surname” and “Firstname” but “username” would only contain “Surname”.
Put all definitions into a group (select all, right-click -> Group, Name group “Definitions”). Make the whole group “initially hidden”. Each of your buttons then needs only two actions, Hide -> Definitions and Show -> Respective Textfield.
Should be possible, there’s a Description field for Reserved variables as well.
You can of course use Darrels suggestion or just write all your infos to a normal textfield and keep it outside the stage. Then you can use all the normal formatting and inheritance options, so it should be more easily maintainable than a description field in the variable manager.
If you just want a second window all you’ll have to do is use different “Window Names” for the two Go to actions in the New Window properties. Default is “Popup Window” for both, that’s why both are opened in the same window, i.e. the second replaces the first. Change one of them to open the two urls in different windows.