#N canvas 453 107 763 514 10; #X declare -lib mrpeach; #X obj 606 29 import mrpeach; #X obj 42 291 str to_symbol; #X obj 43 408 prepend read; #X obj 43 437 print totextfile; #X obj 42 379 sprintf %sconfig.txt cr; #X obj 37 19 comment 0 10 helvetica ? 0 0 0 0 In order for your standalone to locate the config.txt file \, use this abstraction to return the application directory.; #X obj 244 129 comment 0 10 helvetica ? 0 0 0 0 an example absolute path...; #X obj 42 70 loadbang; #X obj 42 105 getdir; #X obj 140 257 comment 0 10 helvetica ? 0 0 0 0 strip off the number of characters in the path that follow the application directory itself (73 in this case); #X obj 203 379 comment 0 10 helvetica ? 0 0 0 0 format the read message for [textfile]; #X obj 567 50 comment 0 10 helvetica ? 0 0 0 0 don't forget to import the mrpeach library; #X obj 69 329 print app_path; #X obj 42 255 str nsplit -73; #X msg 129 152 /Users/bencarey/musebot-developer-kit/Musebots/PD_Beeps_Examplebot/PD_Beeps_Examplebot.app/Contents/Resources/Scripts/../extra/app-auto-load/ ; #X connect 1 0 4 0; #X connect 1 0 12 0; #X connect 2 0 3 0; #X connect 4 0 2 0; #X connect 7 0 8 0; #X connect 8 0 13 0; #X connect 13 0 1 0; #X connect 14 0 13 0;