Re: adding an executable as a resource
Re: adding an executable as a resource
- Subject: Re: adding an executable as a resource
- From: Craig Hunter <email@hidden>
- Date: Fri, 09 Dec 2005 21:05:22 -0500
>
Message: 4
>
Date: Sat, 10 Dec 2005 00:08:33 +1100
>
From: Ron Fleckner <email@hidden>
>
Subject: adding an executable as a resource
>
To: email@hidden
>
Message-ID: <email@hidden>
>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>
Hi,
>
>
I'm wondering if what I'm doing is the right thing to do before I go
>
any further with my project. I want to make a GUI wrapper for lame,
>
the command line mp3 encoder. I've made a small test app which
>
works. The test app has the lame executable added as a resource,
>
then I start an NSTask with the path to the copy of lame in the app's
>
bundle as the task's launch path. I'm a bit worried because it was
>
so easy to do. There are only eleven lines of code inside the action
>
method!
>
>
Eventually, I'd like to add tag info and also have some sort of
>
progress indicator, but before I go that far I'd like to know if
>
anyone has any opinions about this?
AppleScript Studio (and the do shell script command) would be another (and
even simpler for newbies) way to do this. It's commonly used to make GUI
wrappers around command line executables. But if your comfortable with
Cocoa, then go with it!
Craig
--
Dr. Craig A. Hunter
NASA Langley Research Center
AAAC / Configuration Aerodynamics Branch
(757) 864-3020
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden