Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


I like it | 6 comments | Create New Account
Click here to return to the 'I like it' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I like it
Authored by: sjonke on Jul 17, '01 02:00:06PM

I don't yet have much knowledge of Unix scripting, but this little app makes learning to do it a lot more appealing IMHO. Obviously could use some improvements, but even in its current form it is very useful.



[ Reply to This | # ]
I like it
Authored by: cnorris on Jul 17, '01 03:20:10PM

What would you change to make it better? I'm an avowed Unix-head, so I appreciate a different perspective...



[ Reply to This | # ]
I like it
Authored by: sjonke on Jul 17, '01 04:37:05PM

The script window doesn't resize properly. I can make it bigger, but the content of the window doesn't resize with it - I end up with a lot of blank space around the same size editing field and that doesn't do me much good. :)

Some things you already mention in your readme as not in there yet, such as allowing for interactive scripts. Also, running with authentication (i.e. sudo) - note that when run via ScriptGUI I would like it to bring up the standard OS X authentication dialog, not a command-line, when the sudo command is in a script. Perhaps that isn't possible, though - I don't know.

There are lots of ways you could take this. One that would interest me would be integrating perl, shell scripts, etc with OS 9 and OS X applescripts. I.e. make it fully scriptable via AppleScript. There are some AppleScript scripting additions that let you perform shell commands and get results - I'm looking for something more extensive to REALLY integrate the two. I don't yet know what that means. :)

Also, being able to create script applications that you can not only double click, but drag files and other things on to which would then be arguments to the script. Make shell and perl scripts interactive in a GUI sense. Hey you can go a lot further here too - make it possible for Unix scripts to present a full blown OS X Aqua GUI.

That enough stuff for your plate yet? :) Don't fret, you can just make the window resizable for now. :)

Steve



[ Reply to This | # ]
I like it
Authored by: sjonke on Jul 17, '01 04:40:29PM

"Also, being able to create script applications that you can not only double click, but drag files and other things on to which would then be arguments to the script."

Oh, incidentally, one way to provide this would simply be to make ScriptGUI AppleScriptable as suggested. Then AppleScript could be used to make a droplet type application or GUI to the script.



[ Reply to This | # ]
Whoops
Authored by: cnorris on Jul 17, '01 05:42:26PM
My version 1.0 (we'll call it 1.0b1) had to be rebuilt because of a bug in Interface Builder, and I forgot to set up the view resizing behavior correctly. I'll correct it shortly and adopt an official beta nomenclature. Let's call the first version 1.0b1 and the next will be 1.0b2. By the way, let's use my mac.com email address (cnorris@mac.com) for this sort of discussion so we don't clutter things up inappropriately. Thanks for the great feedback, sjonke! Charles

[ Reply to This | # ]