max + synapse on startup (osx 10.6), no jit.window on second screen

Tobias Rosenberger's icon

Hi,

i have both a max patch and the synapse for kinect application in a osx (10.6.3) startup folder and it opens both applications automatically when i turn the computer on. Anyhow, i have a jit.window going fullscreen on the second monitor (floating, fullscreen message sent with loadbang and delay 30000 object), but which will only become visible after i pressed one time with the mouse anywhere in the max patcher. Also and more strange, i have also to click one time on the synapse window (before i click on max). If i don't do that, it does not work (if i do not click once in the synapse camera window, the tracking does not start with a psi-pose...; if i do not click later in the max patcher, the second screen shows just my mac background image)... are there any settings i can influence?

thanks for help

Rob Ramirez's icon

disable floating on your jit.window. this setting requires max to be the focused application for window visibility.

Tobias Rosenberger's icon

thanks, i didn't know that!

Zachary Seldess's icon

Hi Tobias,

Bringing the application into focus is pretty easily done with Applescript as well, which can be run at startup. If that's the way you want to go, and you can't find examples online, post back and I'll provide a snippet.

best,
Zachary

Tobias Rosenberger's icon

Hi Zach,

so nice to hear from you! Still working in Saudi-Arabia? Hope you and your family are well, will send you an email anyhow. After the thing with the jit.window is solved, I guess i will find an easy way with applescript to make synapse the focused application.

Zachary Seldess's icon

Hey Tobias,

Ending my stay in Saudi and moving to San Diego next month! Looking forward to a less severe climate ;)

Here's all the Applescript you need (I think). And this should allow you to keep @floating 1 (although I haven't tried it myself):

tell application "Synapse" to activate
delay 1
tell application "Max" to activate

best,
Zachary