Forums > MaxMSP

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

September 10, 2012 | 1:07 pm

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


September 10, 2012 | 4:33 pm

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


September 10, 2012 | 4:35 pm

thanks, i didn’t know that!


September 10, 2012 | 4:42 pm

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


September 10, 2012 | 5:05 pm

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.


September 10, 2012 | 8:29 pm

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


Viewing 6 posts - 1 through 6 (of 6 total)