Table of Contents
- Type "mw_help" or "-h" or "?" to get this help message
- Type "clear" to clear the window
- Type "mw_setcolors" to set the colors for the syntax coloring
- Type "mw_setfont" to set the font for the lingo message window
- Type "mw_setfontsize" to set the fontsize for the lingo message window
- Type "mw_alias <aliasname>" to get the value for the specified alias or a …
- Type "mw_setalias <aliasname> = <somestring>" to define an alias
- Type "mw_rescanscripts" to rescan the scripts of the stage movie for the …
- Type "ftp", "sftp" or "ssh"
- Type "http://<webserver>/<file>" to send a GET request to a webserver
- Type "shell" to begin a shell session using Valentin Schmidts shell xtra
- Type "lingo" to return to message window mode
- Use the arrow up and arrow down keys to browse the history of recent …
- Use the option/control key to escape the special keys (return, up-arrow. …
- TAB key for autocompletion of lingo keywords.
- Image object preview
- format list output
- reveal handler
- navigate wordwise
Usage of myMessWin tool xtra for Director
Type "mw_help" or "-h" or "?" to get this help message
Type "clear" to clear the window
Type "mw_setcolors" to set the colors for the syntax coloring
Type "mw_setfont" to set the font for the lingo message window
Type "mw_setfontsize" to set the fontsize for the lingo message window
Type "mw_alias <aliasname>" to get the value for the specified alias or a list of all alias names
Type "mw_setalias <aliasname> = <somestring>" to define an alias
Type "mw_rescanscripts" to rescan the scripts of the stage movie for the autocomplete function
Type "ftp", "sftp" or "ssh"
to start an interactive socket connection to a ftp-/ssh-server using the multiuser xtra
Type "http://<webserver>/<file>" to send a GET request to a webserver
Type "shell" to begin a shell session using Valentin Schmidts shell xtra
Type "lingo" to return to message window mode
Use the arrow up and arrow down keys to browse the history of recent commands
Use the option/control key to escape the special keys (return, up-arrow. down-arrow)
This is useful for multiline lingo like for example:
lingo:> repeat with thing in list put thing end repeat
TAB key for autocompletion of lingo keywords.
- If there are more than one and less than 200 possible autocompletions a menu will appear.
- Use the UP- and DOWN-ARROW keys to browse,
- use the RIGHT-ARROW arrow key to select,
- use the LEFT-ARROW arrow key to discard.
- SPECIAL CASE for autocomplete:
- If there is a dot in the current word, the item before the dot is evaluated with value()
- If it yields an object the handlers and properties for that object are used for autocompletion
That's a handy way to explore objects:<br />instantiate an object and after the dot press the TAB key.
Example:myObj = new(script "myScript")
put myObj.<and now press the TAB key>
Or, in case of using D10 or above, ypou can explore the top level DOM objects:
_system _player _movie _mouse _key _sound
put _<and now press the TAB key to get a list of the above>
select one of them, for example _system, and enter a dot character
put _system.<and now press the TAB key>
Be aware of the fact, that evaluation is done backwards until the next space is found. So if you use functions make sure that there are no spaces surrounding the parentheses.
Try for example to explore the handlers of my utilities script with:xscr().<and now press the TAB key> (note the dot after the xscr() function, which yields a script object -> script "commonMovieScript")
- further if it is a script object and has a handler interface this handler is called to retrieve a string with the public handlers of this script object. This way the tool also can display parameter placeholders, if the handler definition which was yield with interface() also lists the parameters.
here is an example of such a handler in your script:
on interface me str = "" put "on handlerName me, string_parameter1, integer_parameter2" & RETURN after str put "-- a comment for the above handler used in other context" & RETURN after str put RETURN after str put "on handlerName2 me, list_parameter1, proplist_parameter2" & RETURN after str return str end
Image object preview
put an image object to get a preview
format list output
putlist a list in order to output the listcontents as formatted string putlistflat in order to have it formatted flat instead of hierarchical
reveal handler
right click or Shift+Down-arrow to display a list of scriptmembers, where the clicked item appears as handler. Select one scriptmember to open it in the scripteditor and reveal the clicked handler.
navigate wordwise
Use the shiftkey with the left- or right-arrow keys to select the next/previous word. This is useful to jump between parameters of a function after inserting the function with the autocomplete function.
