RE: lingo-l How to open Message window by Lingo?

2003-02-05 Thread Sathya Murthy

  Placed At :


Hi,
open Message window using lingo instead of going thru the menus
window - Message
in the same way, is there any method to open cast windows ...
say if we have to open a miaw ...we can say ,
open window MIAW name
is there any way to open :
open castlib1 or something like tht ?

Regards,
Sathya.


[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!]



[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 How to open Message window by Lingo?

2003-02-05 Thread Alex da Franca
At 14:20 Uhr +0530 05.02.2003, Sathya Murthy wrote:


open castlib1 or something like tht ?


AFAIK you need the UIHelper Xtra for this kind of lingo control over 
the authoring environment.
You didn't tell us which version of director you use nor on which 
platform. in this case this information would have helped and I 
wouldn't need to cover all different environments...

the UIHelper Xtra was part of the save as java set of xtras and 
therefore was built into the standard install up to version 7 of 
director (I think). In D8 it is on the CD, but doesn't get installed 
by default. In D8.5 iot lacks completely. In DMX it was 
re-introduced, since it is used for the Object Inspector (I think), 
but has a different name.
on windows the xtra isn't named UIHelper Xtra, but rather JavaUiHelper.x32.
In DMX it its name is WatcherHelper PPC Xtra on the mac and 
WatcherHelper.x32 on the PC.

there are two methods provided by this xtra to accomplish the task, 
you're looking for:

setCurrentCast int castLibNum

and

activateWindow int windowid

the windowid of the cast window is 3.
this will open the current cast, which you can set with the 
setCurrentCast method.
the setCurrentCast method requires an integer which is the position 
of the cast in your movie.

so if you have four castlibs and want to open castlib 2 you would 
write the following:

setCurrentCast 2
activateWindow 3

hth

--

  |||
a¿ex
 --
[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!]