{ "patcher" : { "fileversion" : 1, "rect" : [ -53.0, 99.0, 1294.0, 435.0 ], "bglocked" : 0, "defrect" : [ -53.0, 99.0, 1294.0, 435.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Geneva", "gridonopen" : 0, "gridsize" : [ 10.0, 10.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-34", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 670.0, 150.0, 100.0, 20.0 ], "presentation_rect" : [ 674.466187, 150.683014, 0.0, 0.0 ], "saved_object_attributes" : { "ftm_scope" : 1, "ftm_objref_conv" : 0 } , "text" : "ftm.list" } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-35", "maxclass" : "ftm.mess", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 670.0, 120.0, 204.985352, 18.0 ], "presentation_rect" : [ 670.0, 120.0, 204.985352, 18.0 ], "text" : [ "_(if ($book exists $1) { $1 } { error $1 })" ] } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-31", "maxclass" : "ftm.mess", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 590.0, 190.0, 78.950195, 18.0 ], "presentation_rect" : [ 590.0, 190.0, 78.950195, 18.0 ], "text" : [ "_set $book[$1]" ] } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-27", "maxclass" : "ftm.mess", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 460.0, 250.0, 331.674805, 18.0 ], "presentation_rect" : [ 460.0, 250.0, 331.674805, 18.0 ], "text" : [ "_(print Name $1 doesnt exist in our book with ($book size) entries)" ] } } , { "box" : { "id" : "obj-26", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 500.0, 220.0, 20.0, 20.0 ] } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-24", "maxclass" : "ftm.mess", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 550.0, 190.0, 39.750977, 18.0 ], "presentation_rect" : [ 550.0, 190.0, 39.750977, 18.0 ], "text" : [ "_set $1" ] } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 460.0, 80.0, 55.0, 20.0 ], "presentation_rect" : [ 503.555725, 83.852882, 0.0, 0.0 ], "text" : "tosymbol" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 460.0, 50.0, 100.0, 20.0 ], "presentation_rect" : [ 503.555725, 53.852879, 0.0, 0.0 ], "text" : "route text" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 460.0, 150.0, 100.0, 20.0 ], "text" : "route error" } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 1, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-19", "maxclass" : "ftm.mess", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 460.0, 120.0, 204.985352, 18.0 ], "presentation_rect" : [ 460.0, 120.0, 204.985352, 18.0 ], "text" : [ "_(if ($book exists $1) { $1 } { error $1 })" ] } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-17", "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "patching_rect" : [ 160.0, 150.0, 50.0, 20.0 ], "presentation_rect" : [ 165.691559, 133.818039, 0.0, 0.0 ], "text" : "New", "tosymbol" : 0 } } , { "box" : { "description" : "var 0", "editor_interface" : "", "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-15", "maxclass" : "ftm.object", "name" : "counter", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 300.0, 110.0, 85.802734, 19.0 ], "persistence" : 0, "presentation_rect" : [ 300.0, 110.0, 85.802734, 19.0 ], "scope" : 0, "text" : "counter" } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-13", "maxclass" : "ftm.mess", "numinlets" : 3, "numins" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 160.0, 190.0, 310.849609, 18.0 ], "presentation_rect" : [ 160.0, 190.0, 310.849609, 18.0 ], "text" : [ "_($book set ($counter += 1) (new dict Name $3 Surname $2))" ] } } , { "box" : { "#init" : "", "#loadbang" : 0, "#triggerall" : 0, "#untuple" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 0, "id" : "obj-12", "maxclass" : "ftm.mess", "numinlets" : 3, "numins" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 140.0, 56.416016, 18.0 ], "presentation_rect" : [ 50.0, 140.0, 56.416016, 18.0 ], "text" : [ "_set $3 $2" ] } } , { "box" : { "autoscroll" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-5", "keymode" : 1, "lines" : 1, "maxclass" : "textedit", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "int", "", "" ], "patching_rect" : [ 460.0, 30.0, 100.0, 20.0 ], "presentation_rect" : [ 475.552185, 55.271496, 0.0, 0.0 ], "text" : "Dieasfasdfmo" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-7", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 165.0, 5.0, 52.0, 20.0 ], "text" : "Surname" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-11", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 55.0, 5.0, 38.0, 20.0 ], "text" : "Name" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-9", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 460.0, 10.0, 131.0, 20.0 ], "text" : "Search by Surname/ Edit" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 160.0, 90.0, 55.0, 20.0 ], "text" : "tosymbol" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 50.0, 90.0, 55.0, 20.0 ], "text" : "tosymbol" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-18", "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "patching_rect" : [ 290.0, 30.0, 50.0, 20.0 ], "text" : "New", "tosymbol" : 0 } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-16", "maxclass" : "textbutton", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "int" ], "patching_rect" : [ 560.0, 30.0, 50.0, 20.0 ], "text" : "Enter", "tosymbol" : 0 } } , { "box" : { "description" : "dict", "editor_interface" : "matrix", "fontname" : "Geneva", "fontsize" : 10.0, "ftm_objref_conv" : 0, "ftm_scope" : 2, "id" : "obj-10", "maxclass" : "ftm.object", "name" : "book", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 50.0, 190.0, 64.802734, 19.0 ], "persistence" : 0, "presentation_rect" : [ 50.0, 190.0, 64.802734, 19.0 ], "scope" : 0, "text" : "dict" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 160.0, 60.0, 100.0, 20.0 ], "text" : "route text" } } , { "box" : { "autoscroll" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-4", "keymode" : 1, "lines" : 1, "maxclass" : "textedit", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "int", "", "" ], "patching_rect" : [ 160.0, 30.0, 100.0, 20.0 ], "text" : "Schwarz" } } , { "box" : { "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 50.0, 60.0, 100.0, 20.0 ], "text" : "route text" } } , { "box" : { "autoscroll" : 0, "fontname" : "Geneva", "fontsize" : 10.0, "id" : "obj-1", "keymode" : 1, "lines" : 1, "maxclass" : "textedit", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "int", "", "" ], "patching_rect" : [ 50.0, 30.0, 100.0, 20.0 ], "text" : "Diemo" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-21", 1 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-21", 1 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 1 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 1 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 2 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 2 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ], "source" : [ "obj-5", 0 ] } } ] } }