(archive 'newLISPer)

August 25, 2007

Make a Mac app

Filed under: newLISP — newlisper @ 15:29

If you’ve written some handy applications using newLISP-GS, you might want to make them double-clickable – or runnable – so that they behave like other MacOS X apps. You can do this using a handy little utility called Platypus. Just switch to the Finder, drag your newLISP script over to the Platypus window (into the “Script Path” field) and click Create. Your script is now an application!

Of course, it won’t run on another Mac that doesn’t have a newLISP 9.2 installation already present: it’s just a wrapper (or bundle), rather than a stand-alone app. But it means that you can treat your application in the same way as – or even better than – any other app, such as, say, Microsoft Word. Put it in the Dock, select it using Quicksilver or Launchbar, whatever. You don’t have to open a terminal window or an editor to launch it.

I’ve yet to experiment with all the options (the Run in Background looks like it will launch the wrapper application in the background, leaving just the newLISP-GS application visible), but it’s worth noting that you can drag an image to the icon well. This puts a pretty icon onto your new application. I could use the excellent newLISP dragonfly (newlisp128.png) which lurks inside the newLISP-GS distribution, but a special ‘application built with newLISP-GS’ icon would be worth designing. Until then, a picture of the species Cordulegaster Obliqua (from dragonflies.org) resting on some unfinished newLISP documentation will suffice:

In a Finder window it looks a bit too fiddly, perhaps?


1 Comment »

  1. >Nice Dragon newlisp Fly ;-).newdep.

    Comment by Anonymous — August 26, 2007 @ 19:03 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: