Send to program

dunbarx at aol.com dunbarx at aol.com
Mon Sep 10 15:56:22 EDT 2012


Jacque.



Ken Ray's script almost looks intelligible to me; I wrote some AS scripts about 30 years ago. But I am too old and feeble to see where this ties in.



Craig




-----Original Message-----
From: dunbarx <dunbarx at aol.com>
To: use-livecode <use-livecode at lists.runrev.com>
Sent: Mon, Sep 10, 2012 3:42 pm
Subject: Re: Send to program


Colin.


I may be misreading the link, and possibly resisting having to deal with writing 
applescript scripts, but the article shows methods of doing such things as would 
be considered remote machine control: opening apps, going to sleep, changing 
system attributes like playback volume, etc. It shows the use of native AS 
commands such as "quit" and "play", appropriate to the application being 
addressed.



I assume I could run LiveCode by executing routines as applescript (?). I am 
reluctant to have to do that. I want to write LC scripts and have them run from 
one LC machine to another. I see that it is likely the OS that may be the 
culprit. So, back to good ol' OS9.



Or am I missing something? All the target machines will simply have a block of 
data loaded into a field. The target machine need never communicate backward to 
the source machine, which sends that block.



So anyone out there have a simple script? Pseudocode:


tell application "LiveCode" of machine "remoteAddress"
-- here is where I would have normally included a command and a parameter that 
contains the data
loadRemoteData tData
-- how do it know? where do commands that AS execute derive from LC? Where does 
it get the associated data?
end tell



Craig




-----Original Message-----
From: Colin Holgate <coiin at verizon.net>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Mon, Sep 10, 2012 12:38 pm
Subject: Re: Send to program


Why have a few more replies to this topic appeared? Wasn't the link I sent a 
good answer?



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

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

 



More information about the use-livecode mailing list