ScriptSpot

Forum topic · General Scripting

way to reopen dialog

By dussla · 2017-04-15

Description

example

rollout ssss
(
button btn1 " pos" pos:[5,9] width:138 height:26

on btn1 pressed do
(

)

)
createDialog resetUvw

i made this script
i wonder
if i rollout ssss is error , i make reopen rollout automatic
commonnly , i have to reopen script

i wonder rollout error handling

Comments (1)

`

pixamoon · 2017-04-16

hey,
I think you forgot about caption of rollout and on end should be name of rollout:

createDialog ssssc

not:

createDialog resetUvw

take a look:


rollout ssssc "caption/title of your rollout"
(
button btn1 " pos" pos:[5,9] width:138 height:26

on btn1 pressed do
(

)

)
createDialog ssssc

Best,
Pixamoon