Re: Control From Outside

2013-08-23 Thread Dr. Hawkins
On Sat, Aug 17, 2013 at 3:49 PM, Mark Schonewille
m.schonewi...@economy-x-talk.com wrote:

 On Windows and Linux, you can start a standalone from the command line with 
 parameteres. The parameters can be found in $0, $1 etc. You can do the same 
 on Mac OS X, but you will have probems with the GUI.


Since I don't know remember I created it, I'm attaching this mac command file.

It just executes the command,

/Applications/Firefox.app/Contents/MacOS/firefox-bin -no-about-splash
-dont-force-window-stacking -geometry +850+10 -no-remote -P 

This is usually an alias for me; someone asked if the same thing could
be done with an icon.  (it's just to launch an extra simultaneous
firefox; I need this a lot, as my regular browser is locked down
pretty hard . . .)

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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


Re: Control From Outside

2013-08-22 Thread Mark Schonewille

Hi Mike,

In that case, sockets are indeed not the right approach. It should be 
possible to use a standalone as a command line utility, with parameters 
as I explained before.


Hiding the LiveCode interface would seem more elegant to me. Maybe you 
can still use -u to hide the user interface altogether. You could also 
set the visible of your stacks to false.


--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 8/22/2013 03:57, Mike Kerner wrote:

And Mark S., sorry, I wasn't ignoring you, I just didn't see your message.
I have a system that's written in 4D that needs some functionality added to
it.  The code to do that is already written in LC.  Converting it would
work, but why bother, when I can just create a standalone in LC that I call
from 4D?





___
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


Re: Control From Outside

2013-08-22 Thread Mike Kerner
Mark W. - I'm pretty sure that 4D can capture stderr.  Are you saying that
when LC sends output to stderr I won't be able to capture it?

Mark S. - yeah, I was thinking of that.  Originally I was going to move the
window offscreen, but -ui is probably better.

Thanks guys!  More questions to come, I'm sure.  I can't believe I'm just
discovering this.  All the things I could do with it...


On Thu, Aug 22, 2013 at 4:11 AM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Mike,

 In that case, sockets are indeed not the right approach. It should be
 possible to use a standalone as a command line utility, with parameters as
 I explained before.

 Hiding the LiveCode interface would seem more elegant to me. Maybe you can
 still use -u to hide the user interface altogether. You could also set the
 visible of your stacks to false.


 --
 Best regards,

 Mark Schonewille

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

 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com

 Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi

 Fill out this survey please
 http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/

 On 8/22/2013 03:57, Mike Kerner wrote:

 And Mark S., sorry, I wasn't ignoring you, I just didn't see your message.
 I have a system that's written in 4D that needs some functionality added
 to
 it.  The code to do that is already written in LC.  Converting it would
 work, but why bother, when I can just create a standalone in LC that I
 call
 from 4D?




 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-22 Thread Mark Wieder
Mike-

Thursday, August 22, 2013, 5:15:40 AM, you wrote:

 Mark W. - I'm pretty sure that 4D can capture stderr.  Are you saying that
 when LC sends output to stderr I won't be able to capture it?

No, not saying that at all, sorry. Just that it *also* can go to the
console. Capturing the stderr output shouldn't be a problem.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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


Re: Control From Outside

2013-08-22 Thread Richard Gaskin

Mark Wieder wrote:

Mike-

Wednesday, August 21, 2013, 7:56:25 PM, you wrote:


I'm doing this on Windoze


In that case, stderr will go directly to the console, while stdout
needs to be caught with redirection.


Mark, is this inconsistency between the Linux and Win builds a bug in LC 
or a bug in Windows?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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


Re: Control From Outside

2013-08-22 Thread Richard Gaskin

Mike Kerner wrote:

Richard,
$# causes the script editor to mark the rest of the line as a comment.  $#
still works?


The token works well, so that would be a bug - reported:
http://quality.runrev.com/show_bug.cgi?id=11122

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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


Re: Control From Outside

2013-08-22 Thread Mike Kerner
See my reply on the bug report.


On Thu, Aug 22, 2013 at 1:45 PM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Mike Kerner wrote:

 Richard,
 $# causes the script editor to mark the rest of the line as a comment.  $#
 still works?


 The token works well, so that would be a bug - reported:
 http://quality.runrev.com/**show_bug.cgi?id=11122http://quality.runrev.com/show_bug.cgi?id=11122
 


 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys

 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-22 Thread Mark Wieder
Richard-

Thursday, August 22, 2013, 10:38:15 AM, you wrote:

 Mark, is this inconsistency between the Linux and Win builds a bug in LC
 or a bug in Windows?

Microsoft knows what's best for you better than you do.
Who told you you could question authority?

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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


Re: Control From Outside

2013-08-21 Thread Mike Kerner
Richard,
$# causes the script editor to mark the rest of the line as a comment.  $#
still works?


On Mon, Aug 19, 2013 at 9:28 AM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Mike, these tips for implementing CLI support in a standalone may help:

 http://lists.runrev.com/**pipermail/use-livecode/2013-**April/186750.htmlhttp://lists.runrev.com/pipermail/use-livecode/2013-April/186750.html
 

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-21 Thread Mike Kerner
And Mark S., sorry, I wasn't ignoring you, I just didn't see your message.
I have a system that's written in 4D that needs some functionality added to
it.  The code to do that is already written in LC.  Converting it would
work, but why bother, when I can just create a standalone in LC that I call
from 4D?


On Wed, Aug 21, 2013 at 9:29 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 Richard,
 $# causes the script editor to mark the rest of the line as a comment.  $#
 still works?


 On Mon, Aug 19, 2013 at 9:28 AM, Richard Gaskin 
 ambassa...@fourthworld.com wrote:

 Mike, these tips for implementing CLI support in a standalone may help:

 http://lists.runrev.com/**pipermail/use-livecode/2013-**
 April/186750.htmlhttp://lists.runrev.com/pipermail/use-livecode/2013-April/186750.html
 

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-21 Thread Mike Kerner
And the reason that sockets aren't an option is because they aren't native
in 4D.


On Wed, Aug 21, 2013 at 9:57 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 And Mark S., sorry, I wasn't ignoring you, I just didn't see your message.
 I have a system that's written in 4D that needs some functionality added
 to it.  The code to do that is already written in LC.  Converting it would
 work, but why bother, when I can just create a standalone in LC that I call
 from 4D?


 On Wed, Aug 21, 2013 at 9:29 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 Richard,
 $# causes the script editor to mark the rest of the line as a comment.
 $# still works?


 On Mon, Aug 19, 2013 at 9:28 AM, Richard Gaskin 
 ambassa...@fourthworld.com wrote:

 Mike, these tips for implementing CLI support in a standalone may help:

 http://lists.runrev.com/**pipermail/use-livecode/2013-**
 April/186750.htmlhttp://lists.runrev.com/pipermail/use-livecode/2013-April/186750.html
 

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-21 Thread Mike Kerner
And one more thing - similar to writing to stdout, can I write to stderr?


On Wed, Aug 21, 2013 at 10:02 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 And the reason that sockets aren't an option is because they aren't native
 in 4D.


 On Wed, Aug 21, 2013 at 9:57 PM, Mike Kerner mikeker...@roadrunner.comwrote:

 And Mark S., sorry, I wasn't ignoring you, I just didn't see your message.
 I have a system that's written in 4D that needs some functionality added
 to it.  The code to do that is already written in LC.  Converting it would
 work, but why bother, when I can just create a standalone in LC that I call
 from 4D?


 On Wed, Aug 21, 2013 at 9:29 PM, Mike Kerner 
 mikeker...@roadrunner.comwrote:

 Richard,
 $# causes the script editor to mark the rest of the line as a comment.
 $# still works?


 On Mon, Aug 19, 2013 at 9:28 AM, Richard Gaskin 
 ambassa...@fourthworld.com wrote:

 Mike, these tips for implementing CLI support in a standalone may help:

 http://lists.runrev.com/**pipermail/use-livecode/2013-**
 April/186750.htmlhttp://lists.runrev.com/pipermail/use-livecode/2013-April/186750.html
 

 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  
 http://twitter.com/**FourthWorldSyshttp://twitter.com/FourthWorldSys


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




 --
 On the first day, God created the heavens and the Earth
 On the second day, God created the oceans.
 On the third day, God put the animals on hold for a few hours,
and did a little diving.
 And God said, This is good.




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-21 Thread Mark Wieder
Mike-

Wednesday, August 21, 2013, 7:07:41 PM, you wrote:

 And one more thing - similar to writing to stdout, can I write to stderr?

Yes. I've lost track of what platform you're doing this on.
But anyway, yes.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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


Re: Control From Outside

2013-08-21 Thread Monte Goulding

On 22/08/2013, at 12:07 PM, Mike Kerner wrote:

 And one more thing - similar to writing to stdout, can I write to stderr?

I haven't been following this thread but as I've just implemented child process 
control via open process for update in the parent and read from STDIN and write 
to STDOUT in the child I can tell you to watch out for the fact that STDOUT 
will buffer until you write a line break ;-)

Had me scratching my head for a while.

Cheers

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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


Re: Control From Outside

2013-08-21 Thread Mike Kerner
I'm doing this on Windoze


On Wed, Aug 21, 2013 at 10:47 PM, Monte Goulding 
mo...@sweattechnologies.com wrote:


 On 22/08/2013, at 12:07 PM, Mike Kerner wrote:

  And one more thing - similar to writing to stdout, can I write to stderr?

 I haven't been following this thread but as I've just implemented child
 process control via open process for update in the parent and read from
 STDIN and write to STDOUT in the child I can tell you to watch out for the
 fact that STDOUT will buffer until you write a line break ;-)

 Had me scratching my head for a while.

 Cheers

 --
 M E R Goulding
 Software development services
 Bespoke application development for vertical markets

 mergExt - There's an external for that!

 ___
 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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-21 Thread Mark Wieder
Mike-

Wednesday, August 21, 2013, 7:56:25 PM, you wrote:

 I'm doing this on Windoze

In that case, stderr will go directly to the console, while stdout
needs to be caught with redirection.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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


Re: Control From Outside

2013-08-19 Thread Richard Gaskin

Mike, these tips for implementing CLI support in a standalone may help:

http://lists.runrev.com/pipermail/use-livecode/2013-April/186750.html

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 Follow me on Twitter:  http://twitter.com/FourthWorldSys

___
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


Re: Control From Outside

2013-08-18 Thread Mike Kerner
How about documentation so I can read up on it?  I didn't see anything in
the docs.


On Sat, Aug 17, 2013 at 6:49 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Mike,

 On Windows and Linux, you can start a standalone from the command line
 with parameteres. The parameters can be found in $0, $1 etc. You can do the
 same on Mac OS X, but you will have probems with the GUI. On Windows, you
 can also use the relaunch message to decide how a standalone should respond
 to the command line. The problem with the command line is that you can fire
 the app only once and can't interact. Using sockets, you may have more
 control. On Mac OS X, you can use Apple events, but you might also use
 sockets.

 If you explain what you want to do exactly, I or someone else might give
 you better advice.

 --
 Best regards,

 Mark Schonewille

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

 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com

 We have time for new software development projects. Contact me for a quote.






 On 17 aug 2013, at 19:36, Mike Kerner wrote:

  I thought there was a way to launch a LC app with parameters, i.e. stdin.
  Maybe I'm thinking of another IDE.
 
  Launching the app isn't the problem.  It's passing the parameters to it
 at
  launch.  I could also create a file somewhere for the app to read.
 



 ___
 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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-18 Thread Mike Kerner
applescript will be hard - windows.  Sockets are not an option here, but
thanks.


On Sun, Aug 18, 2013 at 4:40 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Mike,

 Search the dictionary for:
 $
 relaunch
 socket
 appleEvent

 Search in the mailing list or on the forum for the same subjects as well
 as AppleScript (more specifically: tell application Application Name to
 do script myScript as AppleScript).

 All these subjects are also discussed in the user manual. Sockets are also
 discussed in my book.


 --
 Best regards,

 Mark Schonewille

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

 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com

 Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi

 Fill out this survey please
 http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/

 On 8/18/2013 22:17, Mike Kerner wrote:

 How about documentation so I can read up on it?  I didn't see anything in
 the docs.


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-18 Thread Mark Schonewille
Mike,

You still haven't explained what you want to do.

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.






On 19 aug 2013, at 00:20, Mike Kerner wrote:

 applescript will be hard - windows.  Sockets are not an option here, but
 thanks.
 



___
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


Re: Control From Outside

2013-08-17 Thread Mike Kerner
I thought there was a way to launch a LC app with parameters, i.e. stdin.
Maybe I'm thinking of another IDE.

Launching the app isn't the problem.  It's passing the parameters to it at
launch.  I could also create a file somewhere for the app to read.


On Fri, Aug 16, 2013 at 7:31 PM, Mark Schonewille 
m.schonewi...@economy-x-talk.com wrote:

 Hi Mike,

 On Windows, your best option is probably to use sockets, if you are trying
 to communicate between two LiveCode standalones.

 If you want to communicate between a LiveCode standalone and another
 non-LiveCode application, it depends on the options available in the other
 application.

 What exactly do you want?

 --
 Best regards,

 Mark Schonewille

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

 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
 spaces. http://www.color-converter.com

 Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi

 Fill out this survey please
 http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/


 On 8/15/2013 19:38, Mike Kerner wrote:

 I can't remember how to set up a stack/standalone to respond to calls from
 another application.  This is on Windows.  The other application will be
 telling the stack/standalone to do something.  There is no two-way
 communication necessary.


 __**_
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
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


Re: Control From Outside

2013-08-17 Thread Mark Schonewille
Hi Mike,

On Windows and Linux, you can start a standalone from the command line with 
parameteres. The parameters can be found in $0, $1 etc. You can do the same on 
Mac OS X, but you will have probems with the GUI. On Windows, you can also use 
the relaunch message to decide how a standalone should respond to the command 
line. The problem with the command line is that you can fire the app only once 
and can't interact. Using sockets, you may have more control. On Mac OS X, you 
can use Apple events, but you might also use sockets.

If you explain what you want to do exactly, I or someone else might give you 
better advice.

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.






On 17 aug 2013, at 19:36, Mike Kerner wrote:

 I thought there was a way to launch a LC app with parameters, i.e. stdin.
 Maybe I'm thinking of another IDE.
 
 Launching the app isn't the problem.  It's passing the parameters to it at
 launch.  I could also create a file somewhere for the app to read.
 



___
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


Re: Control From Outside

2013-08-16 Thread Mark Schonewille

Hi Mike,

On Windows, your best option is probably to use sockets, if you are 
trying to communicate between two LiveCode standalones.


If you want to communicate between a LiveCode standalone and another 
non-LiveCode application, it depends on the options available in the 
other application.


What exactly do you want?

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com


Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 8/15/2013 19:38, Mike Kerner wrote:

I can't remember how to set up a stack/standalone to respond to calls from
another application.  This is on Windows.  The other application will be
telling the stack/standalone to do something.  There is no two-way
communication necessary.



___
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