A better subjuct might have been How should I use interface objects to select
command line arguments? or something like that. The current subject adds no
value and will not help others search for information in the future.
Having said that...
One approach you might take (that will
Comrades:
Hi, its me again.
My interface consists (mostly) of a bunch of popup buttons with
various values in them. Out user will set up all these popups and
click go, and the app will emit a string which can be used to run a
command line program. So, for example we have a couple of
What I'd suggest is to assign each selection with a tag number in IB
(or programatically if need be). Then in your code you can get the tag:
int colorID = [[colorButton selectedItem] tag];
Assign each its corresponding ID as the tag like 4 for black, 1 for
red, ect.
On May 29, 2008, at