Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] Missing text_render

edited March 2014 in OpenSesame

I'm new to Open Sesame, and I don't have much programming experience. I'm attempting to follow the video tutorial, but it makes heavy use of the text_render, and I don't seem to have that plugin. I can't find it anywhere online. I tried using text_display form but it always includes an OK button I don't want and cannot seem to get rid of. Is there is a way to get the text_render form, or a programming for dummies tutorial somewhere? I'd appreciate any help I can get.

Comments

  • edited 2:56PM

    Also, if I use the text_display form, every time I use a line break, the line ends with ▯ (missing character white rectangle).
    I've tried formatting the text with HTML
    as well, and it only gets weirder. See images for example

    image
    image

  • edited 2:56PM

    I'm attempting to follow the video tutorial, but it makes heavy use of the text_render, and I don't seem to have that plugin.

    The form_text_render plug-in is not included with the Windows packages, but you can easily get functionality that you need. One option would be to copy form_text_render from the plugins folder in the source code to the plug-in folder of your OpenSesame installation:

    Another option would be to make the form_text_display plug-in behave the way you want. Basically, what you can do is edit the script by clicking on the edit-script button in the top right and remove the widget that corresponds to the OK button. Then you add the line set only_render yes to make the form 'non interactive' (i.e. you see it but it doesn't wait for user input). You will get something like this:

    set rows "1;4;1"
    set form_title "<span size=24>Title</span>"
    set cols "1;1;1"
    set form_text "Your message"
    set ok_text "Ok"
    set only_render yes
    widget 0 0 3 1 label text="[form_title]"
    widget 0 1 3 1 label center="no" text="[form_text]"
    

    See also:

    Also, if I use the text_display form, every time I use a line break, the line ends with ▯ (missing character white rectangle).

    Yes, that's a known issue. It will be fixed for 2.8.1, which is a bugfix release that will come out soon.

    Cheers!
    Sebastiaan

  • edited 2:56PM

    OK, I was able to copy all the coding and create the plugin from the link you provided. Looks it's all working well. Thanks!

Sign In or Register to comment.