Forums > MaxMSP

appsplash

May 8, 2006 | 7:23 pm

I have some problems with the appsplash script in the collective app building.
(OSX, MAX MSP 4.5.4).

The app features my appsplash pct too fast.. is there a way to slow it down of about 3 or 4 seconds with scripting?
max manual pag 394 does not talk about time of duration of appsplash..


May 8, 2006 | 10:12 pm

I don’t think there’s any way to control the duration – it just replaces the appropriate C74 splashscreen pict resource. The faster the machine, the shorter the duration.

So I delete the C74 splashscreen pict using ResEdit, and make my own splash screen from a scrollbar-less window set to "topmost". This has the advantage that you can also display your own version information or whatever, and display it whenever you want (ie also use it for your "about my app" display).


May 9, 2006 | 1:27 am

John,

> I don’t think there’s any way to control the duration – it just
> replaces the appropriate C74 splashscreen pict resource. The faster
> the machine, the shorter the duration.

Correct.

> So I delete the C74 splashscreen pict using ResEdit, and make my
> own splash screen from a scrollbar-less window set to "topmost".
> This has the advantage that you can also display your own version
> information or whatever, and display it whenever you want (ie also
> use it for your "about my app" display).

This is also what I’m doing but instead of topmost, I’m using the
[screensize] object to display a pict in the center of the screen.
Works fine regardless the user screen-size.
Splashscreen and about box are most of time displayed at 1/2 of
screen length, 1/3 in height.
Example:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 156 53 13 196617 y;
#P comment 128 53 13 196617 x;
#P inlet 155 66 13 0;
#P inlet 127 66 13 0;
#P inlet 7 66 13 0;
#P outlet 62 273 13 0;
#P window linecount 0;
#P message 62 255 252 196617;
#P window linecount 1;
#P newex 62 233 57 196617 prepend set;
#P newex 62 214 252 196617 sprintf window size %ld %ld %ld %ld \,
window exec;
#P newex 155 84 26 196617 / 2.;
#P newex 127 84 26 196617 / 2.;
#P newex 62 105 53 196617 screensize;
#P newex 7 81 23 196617 b 3;
#P newex 62 195 74 196617 pack i i i i;
#P newex 125 176 17 196617 +;
#P newex 104 176 17 196617 +;
#P newex 83 176 17 196617 -;
#P newex 62 176 17 196617 -;
#P newex 110 145 20 196617 / 3;
#P newex 87 145 20 196617 / 2;
#P newex 62 124 59 196617 unpack i i i i;
#P window linecount 6;
#P message 19 105 42 196617 window flags nozoom , window flags nogrow;
#P window linecount 1;
#P comment 84 41 153 196617 size in x y of the pict to display;
#P connect 18 0 10 0;
#P connect 10 2 1 0;
#P fasten 10 1 11 0 18 101 67 101;
#P connect 11 0 2 0;
#P fasten 3 0 5 0 92 169 67 169;
#P connect 5 0 9 0;
#P connect 9 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P fasten 10 0 16 0 12 198;
#P connect 16 0 17 0;
#P fasten 1 0 17 0 24 230;
#P fasten 12 0 5 1 132 169 74 169;
#P fasten 4 0 6 0 115 169 88 169;
#P connect 6 0 9 1;
#P connect 2 2 3 0;
#P fasten 13 0 6 1 160 169 95 169;
#P fasten 3 0 7 0 92 169 109 169;
#P connect 7 0 9 2;
#P connect 2 3 4 0;
#P fasten 12 0 7 1 132 169 116 169;
#P fasten 4 0 8 0 115 169 130 169;
#P connect 8 0 9 3;
#P connect 19 0 12 0;
#P fasten 13 0 8 1 160 169 137 169;
#P connect 20 0 13 0;
#P window clipboard copycount 23;


May 9, 2006 | 9:00 am

ok I solved the problem by adding MIDI support to "standalone"
and just using appsplash command in the collective script.

thanks anyway…


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