cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Pop-up window

VladimirN
24-Ruby II

Pop-up window

In my calculations at a certain time occurs a pop-up window with a specific question:

Pic_2.png

Is it possible to create a pop-up window like the following type (answer "Yes" must return "1" and "No" return "0" into variable "Question")?

Pic_1.png

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:VladimirN)

3 REPLIES 3
RichardJ
19-Tanzanite
(To:VladimirN)

Here you go.

Thank you, Richard!

So the script code should look like this:

Pic_3.PNG

RichardJ
19-Tanzanite
(To:VladimirN)

Yes. The key points are that the MsgBox must be called as a function, with the arguments in parentheses, so that it can return a value, and that magic number, "36". The number determines the appearance of the MsgBox, in this case with "Yes" and "No" buttons, and a question mark icon.

Announcements

Top Tags