# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_ceraGM/scripts/Comments.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include std include wx author "Author ??" description "Description ??" category "" new std:ConcatStrings Box15 new std:ConcatStrings Box07 set Box07.In2 "/Comments.txt" new wx:LayoutTab Box31 set Box31.WinHeight "500" set Box31.WinTitle "Comments.bbs" new wx:LayoutLine Box32 new wx:InputText Box33 set Box33.Title "Comment" new wx:CommandButton Box34 set Box34.Label "Save" new std:ReadLinesString Box11 new std:ReplaceString Box18 set Box18.Replace "/" set Box18.Search "\" new std:StringWriter Box20 new std:Exit Box21 new wx:CommandButton Box24 set Box24.Label "Exit" new wx:LayoutCenter Box25 new wx:LayoutLine Box26 new std:ConcatStrings Box27 set Box27.In1 "Patient:" set Box27.In2 "/results/" new std:ConcatStrings Box17 set Box17.In1 "//davila/00300_Filter/Test_01//Condition_01" new std:ConcatStrings Box19 new std:ConcatStrings Box22 new std:ReplaceCleanString Box23 set Box23.Search "" new std:ReplaceCleanString Box28 set Box28.Search "" connect Box32.Widget Box31.Widget1 connect Box33.Widget Box32.Widget2 connect Box11.Out Box33.In connect Box07.Out Box18.In connect Box18.Out Box11.FileName connect Box18.Out Box20.FileName connect Box34.BoxChange Box20.BoxExecute connect Box33.Out Box20.In0 connect Box24.BoxChange Box21.BoxExecute connect Box24.Widget Box26.Widget2 connect Box34.Widget Box26.Widget1 connect Box25.Widget Box32.Widget3 connect Box26.Widget Box25.Widget2 connect Box15.Out Box27.In1 connect Box27.Out Box32.WinTitle connect Box17.Out Box23.In connect Box22.Out Box23.Replace connect Box23.Out Box28.In connect Box27.Out Box07.In1 connect Box19.Out Box28.Replace connect Box28.Out Box27.In3 # Complex input ports input BaseDir Box15.In1 " " input PatientID Box19.In1 " " input CoreID Box22.In1 " " exec Box31