Use the example at www.declaresub.com in regards to the Cocoa message calling. Then it is just a matter of calling the right messages. That's the only way I know of to do it "from" REALbasic.

You could still create a command line program of your own that you don't need to poll. Using IPCSocket, you could create a command line program that "waits" for events and then sends them to you. One reason to create your own command line program even if there is a similar one is so that it doesn't change without you knowing. If an OS update comes out that breaks the ability for your app to use the system command line tool, you'll wish you had wrote your own.

- Ryan Dary

[EMAIL PROTECTED] wrote:
There is already a command line program that will do what I want located at /usr/bin/xgrid, but it is not event driven. In order to poll the progress of a task, I need to physically poll the progress of a task. The framework is completely event driven, and the Xgrid Controller will send a message to any connected client when properties change.

- Andrew Keller

On Feb 8, 2007, at 2:13 AM, Ryan Dary wrote:

You've got several options. For one thing, it might be MUCH easier to just write an Objective-C (Cocoa) command line tool that your program accesses rather than trying to actually do work in REALbasic.

...

So, how much do you need to access of the XGrid framework? What are you trying to accomplish?

- Ryan Dary
_______________________________________________
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