# ----------------------------------
# - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_creaGM/scripts/00100_InsertDataA.bbs
+# - /Users/davila/Creatis/C11/creatools_source/creaMiniTools/appli/template_creaPatientsSystem/scripts/00100_InsertDataA.bbs
# ----------------------------------
# BBTK GEditor Script
include creaImageIO
include std
include vtk
+include creaMiniTools
author "Author ??"
description "Description ??"
set Box14.Title "Id"
new wx:CommandButton Box15
- set Box15.Label "Save & Exit"
+ set Box15.Label "Save and Close"
new std:ConcatStrings Box16
new std:Exit Box29
new wx:ComboBox Box30
- set Box30.In "Study_A Study_B Study_C"
+ set Box30.In "VOID Study_A Study_B Study_C"
new std:ReplaceCleanString Box31
set Box31.Search "<CORE>"
new std:ConcatStrings Box40
set Box40.In2 "/Parameters.txt"
+new std:MagicBox Box41
+
+new creaMiniTools:WriteStatePatientSystem Box42
+ set Box42.State "Finish"
+
+new std:ConcatStrings Box43
+ set Box43.In2 "/Step01_Insert_Data.txt"
+
connect Box00.Widget Box04.Widget2
connect Box22.BoxChange Box33.In3
-connect Box29.BoxChange Box33.In5
-
connect Box34.Widget Box02.Widget3
connect Box09.Out Box34.In
connect Box36.Out Box38.In3
+connect Box42.boxChange Box33.In4
+
+connect Box29.BoxChange Box33.In9
+
+connect Box17.Out Box43.In1
+
+connect Box41.Out Box42.User
+
+connect Box43.Out Box42.Filename
+
+
# Complex input ports
input ProjectDir Box16.In1 " "
+input creaUser Box41.In " "
exec Box03
exec Box11