FROM : Jens Alfke
DATE : Mon Jun 16 20:17:39 2008
On 16 Jun '08, at 9:36 AM, Memo Akten wrote:
> I ended up creating an AppleScript like you mention (below) and then
> just
> creating an app out of it, and launching that app instead of finder...
> works quite well...
It'd be faster and more lightweight to add the compiled script to your
app as a resource, and then use NSAppleScript to load and run it.
Right now you've got the extra overhead of launching and quitting a
GUI app, and I'll bet there's a momentary bounce in the Dock too.
—Jens
DATE : Mon Jun 16 20:17:39 2008
On 16 Jun '08, at 9:36 AM, Memo Akten wrote:
> I ended up creating an AppleScript like you mention (below) and then
> just
> creating an app out of it, and launching that app instead of finder...
> works quite well...
It'd be faster and more lightweight to add the compiled script to your
app as a resource, and then use NSAppleScript to load and run it.
Right now you've got the extra overhead of launching and quitting a
GUI app, and I'll bet there's a momentary bounce in the Dock too.
—Jens
| Related mails | Author | Date |
|---|---|---|
| Memo Akten | Jun 16, 15:09 | |
| Jens Alfke | Jun 16, 17:40 | |
| Memo Akten | Jun 16, 18:36 | |
| Kyle Sluder | Jun 16, 19:50 | |
| Jens Alfke | Jun 16, 20:17 | |
| Memo Akten | Jun 16, 21:20 | |
| Kyle Sluder | Jun 16, 22:00 | |
| Uli Kusterer | Jun 17, 15:08 |






Cocoa mail archive

