hi all
i would like to run this script from pd
#!/usr/local/bin/
listbox .list -yscroll ".scroll set"
-width 20 -height 20
pack .list -side left
scrollbar .scroll -command
".list yview"
pack .scroll -side right -fill y
if {$argc > 0} { set dir [lindex $argv 0] } else { set dir . } foreach i [lsort [glob *]] { .list insert end $i }
i've tried with [popen], but no result is there's a way to launch this script
many thanks
nico
hi nico
nico wrote:
is there's a way to launch this script
nico
there is a [shell]-obj, that opens a shell. i never used it myself, but as far as i know, it takes msgs from pd for stdin and returns the stdout to pd.
roman
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
Hallo, nico hat gesagt: // nico wrote:
i would like to run this script from pd
#!/usr/local/bin/
/usr/local/bin/WHAT?
listbox .list -yscroll ".scroll set"
-width 20 -height 20 pack .list -side left scrollbar .scroll -command
".list yview" pack .scroll -side right -fill y
This looks like tcl/tk, so you might want to take a look at toxy, which makes tcl available from inside Pd.
Frank Barknecht _ ______footils.org__
_ __latest track: "scans" _ http://footils.org/cms/show/41