Archive for January, 2011

Gooey Gadgets 0.36

Saturday, January 22nd, 2011

This version adds the display table window AppleScript command to display lists of data in a column & row format. Here’s an example of what it looks like and how to use from AppleScript:

display table window “Table Title” label “my rows and columns” data {{“1″, “one”, “uno”}, {“2″, “two”, “dos”}, {“3″, “three”, “tres”}}

Download at http://sibr.com/downloads/Gooey Gadgets.zip.

Gooey Gadgets 0.3.0

Sunday, January 9th, 2011

Since my last post I’m now up to version 0.3.0, which includes a new command, display text window. This command can be used to display larger amounts of text in a dialog. Currently, the text inside this window is editable. However, there is probably no easy way to properly support the editing of text, so it’s likely this will change to a static view soon. Here’s an example of what it looks like and how to use from AppleScript:

display text window “Text Title” label “Log from: /var/log/system.log” message (do shell script “cat /var/log/system.log”)

There have also been some minor changes to the parameters used for the update window and display progress window commands so that they are consistent with display text window. These may require you to edit or recompile any scripts to use the new version.

Download at http://sibr.com/downloads/Gooey Gadgets.zip.

Gooey Gadgets 0.2.1

Sunday, January 2nd, 2011

I’ve updated the app with some improvements to the original show message window command, added a new display progress window command, and included a couple of example files showing how to use the app.

There’s one glaring omission in the current version: how to detect when the user has canceled the progress dialog. For that, I’ll probably add a list windows function, or something similar.

I did some investigation into creating a windows Applescript class of its own. This would be especially helpful with implementing the features for the progress window so you could say something set title of window 1 to “Hi”. However, adding support for a class requires a significant amount of work, and I’d rather spend the time right now on adding more interface elements. So any improvements on the object oriented front will have to wait.

Once again, the download link is at:

http://sibr.com/downloads/Gooey Gadgets.zip