Jump to content
robertavarela

Automatically launch Python variable browser

Recommended Posts

Hello, community!

 

Is there a way to automatically launch the Python variable browser? I'd like to initialize it as soon as the OML script starts running for the sake of making it faster when the actual Python script is called.

 

I'm currently using as a workaround the creation of a dummy variable:

evalpythonscript('initializePython=1');

 

Thanks,

 

Roberta

Share this post


Link to post
Share on other sites

Below is kind of a hack in  2019.2

1.  set python as preferred language under file>preferences>Compose>General

2. open new python and OML files (to trigger OML command window)

3. close compose and relaunch

you will see both OML and python interpreters. 

 

 

 

 

Share this post


Link to post
Share on other sites

Manoj,

Thanks for your suggestion!

I was wondering if we had something that didn't need the user intervention, since every interaction with Compose would be done by the user by the custom GUI that has been created. Let's say that the script is for someone who is totally not familiar with Compose and all he is going to do is hit "Play" to use the GUI.

Cheers,

Roberta

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...