Multiple TD Processes on Mac OSX ?

Hi there,

I’m a real beginner on TD, so please excuse me if my question seems kind of stupid…
I’m working with the 099 for mac OSX. I saw in this topic
https://www.derivative.ca/Forum/viewtopic.php?f=12&t=9364&p=35402&hilit=multiple+instance#p35402
that running multiple instances of TD doesn’t work in this release, but I’m wondering about that :

How should I do that ?

Thanks for your answer

The python way is to use ui.viewFile(‘filepath’) but I just tried that on macOS and it doesn’t seem to be working. Will look into it further.

The alternative is to use the tscript command viewfile, which is working :slight_smile:

In case you haven’t use tscript yet, DATs where you put your scsripts can be in either tscript or python language, set by an icon in their parameter dialog header. We recommend using python which is the default in TouchDesigner but sometimes you need to workaround things. Run the script by right-clicking and selecting “Run Script”

Look at the attached example and it should help. This is how Help > Operator Snippets is launched as a second process btw.
viewFile.tox (526 Bytes)

It works, and it’s really easy.
When learning, it’s really convenient being able to open multiple files simultaneously.

Thanks Ben!

Thank you Ben, this is helping tremendously!

Great!

ui.viewFile(‘…’) is working on MacOS X for me now!

Thanks a lot!

Hi everyone!
I don’t know if this is already shared around in the forum but my solution is to have a dual installation. Touchdesigner A and Touchdesigner B (just duplicating the app).

touchdesigner apps.png

So far so good.

:nerd:

Hey all,

I asked this question in the Wishlist board and got some other solutions to open multiple processes. Quickest and easiest solution is to run this in terminal:

open -n /Applications/TouchDesigner099.app/

There are also a few other solutions that use AppleScripts. Here is the post:
viewtopic.php?f=17&t=13498&p=50963#p50963