Howdy, Stranger!

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

Supported by

Plugin Inheritance

Dear all,
I have a question to ask about OpenSesame: suppose that I have a plugin that populates a variable, which has 0-value at the beginning. Is it possible to access its value in a inline script, supposed to be run next? In other words, is there any variable inheritance between plugins?

Looking forward to hearing from you.

Comments

  • Hi,

    This depends on how the plugin works. Plugins can have their own variables, for example to set plugin-specific controls. You can access these like this:

    items['my_item_name'].var.my_variable_name
    

    But plugins can also set experimental variables, which you can for example log with a logger and see in the variable inspector. You can access these like this:

    var.my_variable_name
    

    Cheers!
    Sebastiaan

    There's much bigger issues in the world, I know. But I first have to take care of the world I know.
    cogsci.nl/smathot

Sign In or Register to comment.