Faceless Applications

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jhelle
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3
Joined: Thu Oct 26, 2006 10:21 pm

Faceless Applications

Post by jhelle » Fri Mar 30, 2007 12:57 pm

Hello All!

I try to build a faceless application with revolution on MacOSX. I don't want to build a CGI, but a standalone Application, with no menubar and no dockicon.
I would like to start it with one ore more parameters, than it should do something with these and give back some result.
For example, it should be possible to start this application from the Terminal Window with parameters, and than it should write back some result for display in the Terminal.

I already found out how to do the first part of it, I can start the application from the terminal with parameters, and get the parameters inside the stacks startup-handler in the variables $1, $2 and so on.

But I need help with second part, how to get back the result to the calling application? For Example, to display it in the terminal window, or to give result back to a calling AppleScript??

I tried it with "put" and with "write to sdtout", but this unfortunately does not work :-(

Is there anyone out there with help??

Thank you very much!

Jürgen

Post Reply