资 源 简 介
Adobe Director is missing any built in IDE automation tools and this xtra tries to fill this gap.
dctl (Director ConTroL) allows to access and control the Adobe Director via the network socket. The idea is very simple: dctl acts as a server listening on some port using Multiuser networking facility and allows to run a set of predefined tasks(which can be very easily extended, since these tasks are written in Lingo) or eval an arbitrary Lingo string.
The client which can access dctl is written in PHP and can be used from the shell, e.g:
c:dctl HELPc:dctl --host=192.168.4.10 STOPc:dctl PLAYc:dctl EVAL "put #hello"c:dctl RELOAD_SCRIPTS #dir /some/dir/with/scripts
..etc..
In Lingo tasks look as follows(see tasks.ls in the source for the full listing):
on task_STOP me, args dispatchCommand(8706)end------------------------------------------on task_PLAY me, args dispatchCommand(8705)end-----