PennController for IBEX › Forums › Support › 3 slides for one item
- This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by Jeremy.
-
AuthorPosts
-
July 1, 2019 at 11:06 am #4026MogliParticipant
Hey
Is it possible to have for every Item (a single sentence) 3 scales? If so, how do I do this? If I try (as follows) to input more than one scale, the experiment does not work. Moreover try to name the scales, it does not work either.I tried the following commands:
PennController.ResetPrefix(null);
PennController(
newText(“socialConext”, “One sentence.”)
.print()
,newCanvas(“empty canvas”, 1, 40)
.print()
,
newText(“Item1”, “Ich weiß, dass die Gegend wegen des großen Festes abgesperrt ist.”)
.settings.center()
.settings.bold()
.print(),
newCanvas(“empty canva”, 1, 40)
.print(),
newText(“Bezeichnung”, “grammatikalität)
.print()
,newScale(“grammatikalität”, 7)
.settings.center()
.settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
.settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
.settings.slider()
.print()
.settings.log()
.wait(),
newScale(„akzeptabilität”, 7)
.settings.center()
.settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
.settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
.settings.slider()
.print()
.settings.log()
.wait(),
newScale(„Nutzen”, 7)
.settings.center()
.settings.before( newText(“left”, “1 <br /> (am ungrammatischsten)”) )
.settings.after( newText(“right”, “7 <br /> (am grammatischsten)”) )
.settings.slider()
.print()
.settings.log()
.wait());
I hope to hear from you soon.
Thank you and Kind regardsMogli
July 2, 2019 at 12:25 am #4027JeremyKeymasterHi Mogli,
The problem seems to be coming from the names of your Text elements to the left and right of your Scale elements: they are duplicates in all three scales. Normally your code should still be functional but you should see an error message in the debugger, but as a matter of fact there I made an error when coding the error-throwing bit… I have fixed it for the next release.
Replace “left” and “right” with “left2” and “right2” in the scale akzeptabilität and replace them with “left3” and “right3” in the scale Nutzen and it should work.
Let me know if that solved your problem.
Jeremy
July 17, 2019 at 1:27 am #4041MogliParticipantHey Jeremy,
thank you for your help. It solved my problem.
Thank you
Mogli
July 17, 2019 at 11:12 am #4042JeremyKeymasterGlad it worked! I release PennController 1.5 earlier this month, which no longer crashes from shared names (but still prompts a warning/error message). You can manually update your project with it, if you feel like it.
Jeremy
-
AuthorPosts
- You must be logged in to reply to this topic.