Welcome!

Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

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

  • sebastiaansebastiaan Posts: 2,670

    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.