Where can one find a parameter listing for dispatchCommand?

   Thank you,

   Stephen Ingrum
   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
   www.LeagueofDesign.com <http://www.leagueofdesign.com>

   <http://www.leagueofdesign.com>





Valentin Schmidt wrote the following on 1/26/2005 7:31 PM:

I got it, it's really possible to "publish from the commandline" with
DMX2004 and windows.

this is how:

1) create a little dir (e.g. 240 * 32 px) with the following
frame-script on frame 2 or later:

on exitFrame
 cl=the commandLine
 if cl.word[1] = "-p" then
   tell the stage
     go movie cl.word[2]
     dispatchCommand(4104)
     quit()
   end tell
 end if
end

mark this movie as "dockable" in the display template settings, save it
(e.g. as "publish.dir"), close director, put it in director's xtras
folder, restart director, open the movie (miaw xtra) and "dock" it to
some permanently visible panel.

done.

from now on, whenever you start director from the commandline (DOS box)
with a line like

Director.exe -p test.dir

director will popup, open test.dir, publish it (with the last choosen
publish settings) and quit again. if you open it normally (without the
"-p" switch) nothing has changed.

to optimize the publishing speed, you can also duplicate your director
folder, and in the duplicate folder which is only meant for commandline
publishing throw away everything that is not really needed, especially
all the authoring xtras. AFAIK the only xtra that is definetely required
for director to start is the Text Xtra, and of course you need the
UIHelper.x32 xtra, plus the xtras that are needed for your movie
(test.dir).
In my test such a "minimal director" opened, published and closed really
fast.

Valentin



Lars Liden wrote:


Is there a way to build projectors and/or shockwave files without
having to use the GUI interface in Director?  (i.e. I'm looking for a
command line interface)

I'm working on a project that uses both .NET and Director components.
For the .NET portion I'm using build scripts that automaticaly
compile my exe's, copy files in to the correct places, etc.   However,
I'm still having to build each of my director components by hand. (In
other words, start Director, and use the menus to publish the movie.)
I'd like to include building of my director exe's and dcr's in my
build script.

Anyone aware of any solutions for this?

 - Lars

---
Macromedia Director Mailing List (Direct-L)
List Administrator:  Eve M. Owens ([EMAIL PROTECTED])

To SUBSCRIBE or to UNSUBSCRIBE go to
http://listserv.uark.edu/archives/direct-l.html
and click on
"Join or leave the list (or change settings)"

For list archives
http://listserv.uark.edu/archives/direct-l.html



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]





[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to