From: 12 34 Date: 2007-07-29T05:44:43+09:00 Subject: Re: Best OS-X GUI creator for non-programmer John Joyce wrote: > On Jul 28, 2007, at 2:19 PM, 12 34 wrote: > Thanks for your comments. They are helping. > I hate to say it, but read the docs for it. I did, but am missing the select files dialog. But I'll look again. I've never used it, but > on macosxhints.com (a good source for things like this for OS X) it > is pretty highly rated. It also gets mentioned on various cocoa and > os x prorgramming mailing lists pretty often. > Short of learning Rails or learning Cocoa. > you could also look into RubyCocoa, but you'll still need a book on > XCode and some understanding of Cocoa framework to really start to > make something, you might checkout the WROX publishing book (one of > the red ones) Beginning OS X Programming. I don't think the distintion between Cocoa and Objective-C had quite sunk in. Thanks. snip > then you really should go out and get Aaron Hillegass' > book Cocoa Programming for OS X, it's the 'pickaxe' book of OS X > programming. On my Amazon wish list now. Awaiting more discussion and perusing. > OH, wait a second, there is one more alternative: AppleScript. > There is also an AppleScript gem to allow you to use Ruby with > applescript a little differently. > AppleScript can also create fully GUI apps. It can? I didn't think so. Can create some interaction, but I think you need another tool (such as Platypus, Pashua, or XCode) to have more than line at time dialogs. > > but again, you'll want one of the books on AppleScript before jumping > into that. The language itself is not hard, and it gives you a lot of > hooks in to a lot of OS X apps. I'm trying to get away from AS, that's why I went to Ruby. As I said I'm not a programmer, but I can write much faster in Ruby--probably because the Standard Library and Built in Classes and Modules are so much broader. I just go to PickAxe and/or Black and find what I need. And I seem to be able to put the pieces together and they generally work. They almost never do for me in AS. I'm presuming you're thinking of rb-appscript. Maybe there's a way to create and XCode AppleScript application which will then give me the hooks to the UI and then use Ruby, but that seems too tortured. Ah! your suggestion leads me to using "dialog display" or "choose file" via rb-appscript from the Ruby script. I'll give that a try. Not quite a GUI, but might be good enough for now or until I learn Cocoa. Enough rambling. Thanks for your comments John. -- Posted via http://www.ruby-forum.com/.