lingo-l Opening one projector from another projector

2004-04-09 Thread Mendelsohn, Michael
Hi all...

Are there any caveats to opening one Director projector from another
Director projector?  Could anything like global or local variables or
xtras get accidentally cross referenced?  And is there a way to have one
executable send another executable a sendSprite or other command?  I
know about buddyAPI's baSendKeys but the parameters seem to be just
integers, where I'd ideally like to send another projector a string.  Is
this possible?

Thanks,
Michael M.


[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 [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Opening one projector from another projector

2004-04-09 Thread Cole Tierney
Are there any caveats to opening one Director projector from another
Director projector?  Could anything like global or local variables or
xtras get accidentally cross referenced?  And is there a way to have one
executable send another executable a sendSprite or other command?  I
know about buddyAPI's baSendKeys but the parameters seem to be just
integers, where I'd ideally like to send another projector a string.  Is
this possible?
I've never tried to share an xtras folder between to projectors, so 
not sure what would happen there. But each projector would have it's 
own private global name space.

In windows you could pass a string on the command line when opening 
the other projector. Not sure about the mac, though. I know the mac 
will get commandLine info if it's in the form of a bundle and had a 
file dropped onto it.

--
Cole
[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 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Opening one projector from another projector

2004-04-09 Thread John R. Sweeney Jr
on 4/9/04 12:43 PM, Mendelsohn, Michael at [EMAIL PROTECTED]
wrote:

 Hi all...
 
 Are there any caveats to opening one Director projector from another
 Director projector?  Could anything like global or local variables or
 xtras get accidentally cross referenced?  And is there a way to have one
 executable send another executable a sendSprite or other command?  I
 know about buddyAPI's baSendKeys but the parameters seem to be just
 integers, where I'd ideally like to send another projector a string.  Is
 this possible?
 
 Thanks,
 Michael M.

When your projector starts up, it created temp files on the users hard
drive. When the first one is quitting and the second is starting up, the
second one can (and usually will) encounter problems trying to write its
temp files, while the other projected has completed its clean up. (There are
tech notes about this on the Macromedia site somewhere). What I've done in
the past was utilize a little VB app that my first projector calls then
quits. The VB app waits 10 or 15 seconds, (depending what I init it to do),
then it launches the second projector. Problem solved.

Since its two separate run-time experiences I'd write out a text file or
setprefs to store variables or necessary data to be retrieved by the second
projector.

L8R,
John

===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 

[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 [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Opening one projector from another projector

2004-04-09 Thread Tab Julius
At 01:43 PM 4/9/04, Mendelsohn, Michael wrote:
Are there any caveats to opening one Director projector from another
Director projector?
Shouldn't be, unless you count things like running out of memory.  If Xtras 
are bundled, you'd have to test to make sure they properly got unpacked and 
deleted afterward, but that's about all.

 Could anything like global or local variables or
xtras get accidentally cross referenced?
No, they have their own process space.

 And is there a way to have one
executable send another executable a sendSprite or other command?  I
know about buddyAPI's baSendKeys but the parameters seem to be just
integers, where I'd ideally like to send another projector a string.  Is
this possible?
There are lots of different ways, depending on how often they need to 
communicate.  You can use files to pass info back and forth, you can 
probably find some Xtra somewhere - depends whether you're talking multiple 
times a second or only once in a great while.

- Tab

[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 [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]