OK I've got it so there's a button, and when you press the button an open dialog appears, and I think my code for getting the file name from that dialog should work, but now how do I:
a) update the text box so that it displays the path of the file that was selected and
b) make it so that file(as a string) is used as the argument for opening the CLI tool?
I really have no clue on the first. For the second I tried:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>[CLItool setArguments:file];</font>[/code]
But that doesn't work
Before it was:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>[CLItool setArguments:[NSArray arrayWithObject:[fileFolder stringValue]]];</font>[/code]
fileFolder being an IBOutlet for the text box
I know this is newbie stuff but can anyone help?
[ 12-31-2001: Message edited by: crayz ]