Are you on OS X? Will you have a GUI environment available? If yes, I  
used this workaround in a recent project where I needed to write a  
graphics tool that could be called from the command-line or  
applescript. What I did is make my tool minimally applescriptable --  
it has one command, "DoCommand" where I pass in a command and  
argument string. This app can be used either through applescript or  
the OS X command-line, by calling an AppleScript using the command  
line tools.

This set up ended up being a bit more flexible than a command-line  
app would have been in that I can send commands to the app while it  
maintains states between the commands (i.e., LoadFile, DoSomething,  
DoSomethingElse). If you need a project file with the minimal  
AppleScript support for "DoCommand", I can send it to you.

John

On Apr 21, 2007, at 1:00 AM, Norman Palardy wrote:

>
> On 20-Apr-07, at 9:52 PM, Andrew Keller wrote:
>
>> On Apr 20, 2007, at 10:55 PM, Norman Palardy wrote:
>>> On 20-Apr-07, at 8:43 PM, Andrew Keller wrote:
>>>> Is the graphics class not compatible with console apps?
>>>
>>> No
>>> Neither are pictures
>>
>> What is the preferred method of working with pictures or movies?
>
> 1) You don't
> 2) You use a plugin that can deal with them as binary blobs in some
> fashion
> 3) Use OS X command line tools that can use them
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to