Hi Cal,

You can start up a standalone from the commandline with

C:/path/to/standalone.exe param1 param2,...
~/applications/standalone.app param1 param2...

In your standalone you can retrieve the values in $1, $2,... anywhere in your 
scripts:

put $1 into fld 1
get item 2 of $2

If your standalone is already running, you can use sockets to communicate. 
Here's http://qery.us/1a2 an example of using sockets for telnet communication. 
Once you understand how sockets work, you can use them for inter-application 
communication.

On Mac OS X, you can also use AppleScript:

set myScript to "answer \"hi\""
tell application "Revolution" to do script myScript

Of course, the script limits apply, but if you only want to set the value of a 
variable, this should be sufficient.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/16r Start selling Color Converter 
today. 20% commission!

On 7 nov 2011, at 04:35, Cal Horner wrote:

> Is there any command that will allow me to pass a simple parameter to a 
> compiled LC  program?



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to