1 # ----------------------------------
2 # - BBTKGEditor v 1.3 BBS BlackBox Script
3 # - /home/daniel/Documents/TrabajosCreaTools/Proyectos/PlugPackageBBS/GUIPlugPackage.bbs
4 # ----------------------------------
7 # ----------------------
14 author "Daniel F Gonzalez"
15 description "Plug Package script"
16 category "Core Script"
18 new DirectorySelector directorySelect
19 set directorySelect.Message "Select the location of the package"
20 set directorySelect.Title "Select Package"
23 set Layout.WinTitle "Plug Package"
26 set title.In "Plug package directory: "
28 new ExecSystemCommand execution
30 new CommandButton plugButton
31 set plugButton.In "print $lineToExecute.Out$; exec execution;"
32 set plugButton.Label "Plug it!"
34 new ConcatStrings lineToExecute
35 set lineToExecute.In1 "bbPlugPackage "
37 new OutputText pathText
40 connect title.Widget Layout.Widget1
41 connect lineToExecute.Out execution.In
42 connect plugButton.Widget Layout.Widget3
43 connect directorySelect.Out lineToExecute.In2
44 connect directorySelect.Out pathText.In
45 connect pathText.Widget Layout.Widget2