Dialog box to chose yes or no or something similar?

Dec 2, 2009 at 2:05pm

Dialog box to chose yes or no or something similar?

Is there a way to let a dialogbox pop up were you can choose yes or no or something like ok or cancel?

#46954
Dec 2, 2009 at 4:45pm

[dialog] …?

Eddy

#168824
Dec 2, 2009 at 7:24pm

I am aware of dialog wich is nearly what I’m searching for but what I actually would like is [dialog] without the ability to type in text.

#168825
Dec 2, 2009 at 9:36pm

How about creating a subpatch with a presentation view containing OK and Cancel buttons, and open it using [pcontrol]? Then have it close itself on selection of either button.

Not aware of any specific object in Max that will do what you want.

Eddy

#168826
Dec 2, 2009 at 10:22pm

Oli Larkin (http://www.olilarkin.co.uk/index.php?p=max) used to have a great little object called ol.alert that did what you want and looked like the standard OS alert box, but I can’t find it anywhere. It’s not in the Max Object Database, nor on Oli’s site anymore. It seems to have disappeared. You might try contacting him directly and seeing if it is still available somewhere.

#168827
Dec 2, 2009 at 11:22pm

If you’re on a Mac you can use applescript and the [shell] external to display OSX-style alerts. Have a look at the example below.

lh

– Pasted Max Patch, click to expand. –
#168828
Dec 6, 2009 at 1:58am

These patches work for win or mac, and they don’t interrupt midi output (in the way system-called dialogue boxes can)

– Pasted Max Patch, click to expand. –
#168829
Feb 1, 2011 at 4:55pm

This is for Luke Hall.
How can I change the position of the DialogBox?
because I would like to put it in the center of the patch.
thanks for your help.

Erick C

#168830
Feb 2, 2011 at 1:58am

Here’s a way of doing it with Java that may be a little more flexible. Source included.

Attachments:
  1. MaxDialog.zip
#168831
Feb 2, 2011 at 5:03pm

Hi, Peter.
When I try to open MaxDialog.maxhelp, max it quits on me.
I have the power mac G5 and intel.if you can double check this for me I’d really appreciate it.
thanks for your help.

Erick C

#168832
Feb 3, 2011 at 8:02am

MaxDialog.maxhelp crashes here too, latest Max under OSX.6.5

p

#168833

You must be logged in to reply to this topic.