Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!asuvax!enuxha!kamisett From: kamisett@enuxha.eas.asu.edu (Krishnaprasad Kamisetty) Newsgroups: comp.sys.next Subject: Open Panels and Shell scripts Message-ID: <1065@enuxha.eas.asu.edu> Date: 12 Jul 90 20:11:20 GMT Distribution: usa Organization: @ASU,Tempe,AZ Lines: 40 I wonder if someone could mail me or post as to how I can use the filename I get from the [openedpanel filename] in a shell script that I need to run by a system call.. My code (Hi Erica !!) looks like this: ----------------- #import "SimpleOpen.h" @implementation SimpleOpen -performOpen:sender { id my_open; const char * *my_file; /* create and run appkit open panel. Exit if user presses cancel */ my_open = [OpenPanel new]; [my_open allowMultipleFiles:NO] if (! [my_open runModalForDirectory:"~/Remote" file:NULL types:NULL] ) return self; my_file = [my_open filename]; } The very last line may not mean anything..at all..But reflects my ability to program in obj-c etc... Thanking all those kind Internet souls, in anticipation.. Kris -- -Krishnaprasad Kris Kamisetty,CIM Systems Research,Dept. Of IE, ASU e-mail: kamisett@enuxha.eas.asu.edu USmail: ERC 552,CIM Center,ASU,Tempe,AZ 85287