Forums > MaxMSP

"fullscreen 1" >> thispatcher on loadbang fails.

January 4, 2010 | 5:06 pm

Hey folks,

I’ve got a patch that I want to come up fullscreen when it starts, I have a simple message "fullscreen 1" that is patched into the thispatcher obj. When I click on the message, all is well. But when I try to automate this with the loadbang obj, the patch simply comes up normal size. Any suggestions on how to get this to work? Thanks!

(I’m on 10.6, in case this is a SL-related bug)

Peace,
Drew


January 4, 2010 | 5:16 pm

Just a guess, but try inserting a delay of about 100ms between the loadbang and the message it triggers. There could be a small initialization period as the patch opens, during which the message is getting lost, or being ignored.


January 4, 2010 | 5:30 pm

Hey,

That did the trick! :)

Thanks so much.

Peace,
Drew


January 4, 2010 | 7:43 pm

For future reference [delay] is not the recommended way to get things like this working – it is better to use deferlow – which will defer the action to the lowest priority, meaning that it waits for all other patch loading etc. before it’ll happen. That *should* work in all cases – delay can sometimes fail because the delay time you choose may not be long enough for all possible scenarios/systems. This also means that things like this happen as fast as possible, rather than having to wait an arbitrary delay time…..

Regards,

Alex


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