1
12 34
I've written a relatively simple script which has about five
files/directories that need to be selected and several other options.
They are currently manually set in the script, i.e., as variables. I'd
like to have a GUI and here is what I think are my requirements:
OS X-prefer native, but web would be OK since I don't need a fancy
interface
Select files (show the last selection used as the default, even if used
weeks later)
Select folders (show the last selection used as the default, even if
used weeks later)
Drop down selection for some options
Check boxes for other options
A confirmation window listing the options selected with "a go back" or
"go ahead choice"
Run the script
Progress bar
Report when finished.
I'm not a programmer. Not obvious to me how to implement this in XCode.
My XCode experience is pretty much limited to a simple AppleScript app
about two years ago. I am missing that when creating an AppleScript app
that after creating the UI (in IB), XCode creates such things "on awake
from nib" and "on clicked" which got me over one big hump. I'm looking
for something similar for Ruby--RubyCocoa doesn't seem to do this; and
this is the difficult part for me. Or am I missing something? Or is this
going to be in Leopard?
I've read at least 20 threads on this site and via Google. I've looked
at some of the documentation for the universal GUIs and the learning
curves seems as tough as XCode. None of the tutorials that I've seen for
XCode go as deep as selecting files/folders and saving the choices.
I can imagine how this might be done in Rails (zero experience, but I've
done a little PHP and imagine that choices can be stored in MySQL
databases,text files or YAML).
Maybe my question is: Is XCode or Rails the easiest way to go for a
non-programmer? I also looked at newcocoa, but since I don't know Rails,
it wasn't a help.
I realize this is a big question, but thanks for any ideas. Or books to
read?
files/directories that need to be selected and several other options.
They are currently manually set in the script, i.e., as variables. I'd
like to have a GUI and here is what I think are my requirements:
OS X-prefer native, but web would be OK since I don't need a fancy
interface
Select files (show the last selection used as the default, even if used
weeks later)
Select folders (show the last selection used as the default, even if
used weeks later)
Drop down selection for some options
Check boxes for other options
A confirmation window listing the options selected with "a go back" or
"go ahead choice"
Run the script
Progress bar
Report when finished.
I'm not a programmer. Not obvious to me how to implement this in XCode.
My XCode experience is pretty much limited to a simple AppleScript app
about two years ago. I am missing that when creating an AppleScript app
that after creating the UI (in IB), XCode creates such things "on awake
from nib" and "on clicked" which got me over one big hump. I'm looking
for something similar for Ruby--RubyCocoa doesn't seem to do this; and
this is the difficult part for me. Or am I missing something? Or is this
going to be in Leopard?
I've read at least 20 threads on this site and via Google. I've looked
at some of the documentation for the universal GUIs and the learning
curves seems as tough as XCode. None of the tutorials that I've seen for
XCode go as deep as selecting files/folders and saving the choices.
I can imagine how this might be done in Rails (zero experience, but I've
done a little PHP and imagine that choices can be stored in MySQL
databases,text files or YAML).
Maybe my question is: Is XCode or Rails the easiest way to go for a
non-programmer? I also looked at newcocoa, but since I don't know Rails,
it wasn't a help.
I realize this is a big question, but thanks for any ideas. Or books to
read?