PDA

View Full Version : Director & Lingo command/script



derbee
08-11-2005, 01:12 AM
Hi There

Need to know if the control of Director using Lingo command is still availabe on the latest version of SAMSC.
Any idea where I can get info on Lingo command and how (using which protocol ) I control them.

I need to externally control 4 G5 running different Director show,
Just need to basically start the Director shows simultaneously.

Thanks

André Biron

samsc
10-11-2005, 10:16 AM
i used to do this, but apple removed a crucial networking api in osx. and i have not played with director for quite a few years now.

do you know whether it is possible to send apple events to remote machines?

NevBull
11-11-2005, 10:04 AM
Hi There

I use Director to send Apple Events from 4 different Macs over a network to a Virtuoso console for the PRG stand at Plasa - works very well using OSX (Tiger)

Nev.

samsc
11-11-2005, 11:41 AM
what do you do?

how do you set up the addresses of the macs? using ip?

Spam Butterfly
11-11-2005, 12:45 PM
Come on Nev, let us know!

Hugh

samsc
11-11-2005, 02:56 PM
they removed the appletalk address dialog from osx.
so machines could not be automatically located very easily.

maybe there is something in 'bonjour' to replace it.

NevBull
15-11-2005, 04:13 PM
hi again

I used a Director Xtra called Zscript from Zeus Productions http://www.zeusprod.com/products/zscript.html - this handles all of the applescript commands. There are examples of scripting on the Zeus website.

You just name the Mac you want to control (in this case plasa) and use the Director scripting to send Applescript commands to the application on that mac i.e.

tell application "Virtuoso" of machine "eppc://plasa.local
PEvent "recall macro 1"
End Tell

So you could get one of your mac to trigger the others by sending an applescript command - that is if the Director runtime can be controlled by Applescript.

Clear as mud?

Nev.

samsc
15-11-2005, 05:20 PM
that might work for the guy asking the original question?

i havent looked at this stuff since probably 1995. which is a long time ago.

samsc
15-11-2005, 05:27 PM
So in this case we could send director an applescript.

tell application "Director" of machine "eppc://whatever.local"
do lingo
blah blah blah
end tell

or something similar

You also have to turn on "Remote Apple Events" in the Sharing system preference

---

to run a remote application like address book - use something like:


tell application "Finder" of machine "eppc://macintoshpb.local"
open application file "Address Book.app" of folder "Applications" of startup disk
end tell