Art 412 Conceptual/Information Arts
Partial List of Lingo Commands Available in Director


 
fields---------- 

after 
lineCount of member 
alignment of member 
lineHeight 
autoTab of member 
lineHeight of member 
backColor of member 
linePosToLocV 
before 
lineSize of member 
border of member 
lineSize of sprite 
boxDropShadow 
locToCharPos 
boxType of member 
locVToLinePos 
char...of 
margin 
charPosToLoc 
number of chars in 
chars 
number of items in 
charToNum 
number of words in 
contains 
offset 
delete 
pageHeight of member 
dropShadow of member 
put...after 
editable of member 
put...before 
editable of sprite 
put...into 
font of member 
scrollByPage 
fontSize of member 
scrollLine 
fontStyle of member 
scrollTop of member 
foreColor of member 
selEnd 
height of member 
selStart 
hilite 
string 
in 
text of member 
into 
wordWrap of member 
item...of 
word...of 
 

------------sprite 

backColor of sprite 
on beginSprite 
castLibNum of sprite 
on endSprite 
constrainH 
paletteRef 
constraint of sprite 
puppetSprite 
constrainV 
scriptNum of sprite 
cursor of sprite 
sprite 
foreColor of sprite 
sprite...intersects 
height of sprite 
sprite...within 
ink of sprite 
stretch of sprite 
 
 

type of sprite 
left of sprite 
trails of sprite 
loc of sprite 
updateStage 
locH of sprite 
visible of sprite 
locV of sprite 
width of sprite 
memberNum of sprite 
zoomBox 
moveableSprite of sprite 
 
 

---------sprite rectanagles - 
bottom of sprite 
point 
inflate rect 
rect 
inside 
rect of sprite 
intersect 
right of sprite 
map 
source rect 
offset 
top of sprite 
offset rect 
union rect 
 

cast members -------------- 

center of member 
new 
crop 
number of member 
depth of member 
palette of member 
duplicate member 
pasteClipBoardInto 
erase member 
pattern 
fileName of member 
picture of member 
filled of member 
pictureP 
height of member 
rect of member 
hilite of member 
regPoint 
importFileInto 
shapeType 
media of member 
transitionType 
member 
type of member 
modified of member 
URL of member 
name of member 
width of member

text----------- 

BACKSPACE 
keyPressed 
charToNum 
lastKey 
EMPTY 
mouseChar 
ENTER 
numToChar 
hilite 
RETURN 
key 
string 
keyCode 
symbolP

strings---------- 

Click a Lingo element for more information: 

itemDelimiter 
&& 
last 
char...of 
length 
chars 
line...of 
contains 
number of items in 
delete 
number of lines in 
EMPTY 
string 
item...of 
stringP 
word...of

events-------------- 

Click a Lingo element for more information: 
exitFrame 
on moveWindow 
keyDown 
on openWindow 
on activeWindow 
on prepareFrame 
on closeWindow 
on prepareMovie 
on deactivateWindow 
on resizeWindow 
on enterFrame 
on rightMouseDown 
on exitFrame 
on rightMouseUp 
on idle 
on startMovie 
on keyDown 
on stepFrame 
on keyUp 
on stopMovie 
on mouseDown 
on timeOut 
on mouseUp 
on zoomWindow 
 

userinteraction------- 

clickLoc 
mouseItem 
clickOn 
mouseLine 
commandDown 
mouseUp 
controlDown 
mouseH 
cursor 
mouseUpScript 
cursor of sprite 
mouseV 
doubleClick 
mouseWord 
editableText of sprite 
move member 
emulateMultiButtonMouse 
moveableSprite of sprite 
key 
on keyDown 
keyCode 
on keyUp 
keyDown 
on mouseDown 
keyDownScript 
on mouseEnter 
keyPressed 
on mouseLeave 
keyUpScript 
on mouseUp 
lastClick 
on mouseUpOutside 
lastEvent 
on mouseWithin 
lastKey 
on rightMouseDown 
lastRoll 
on rightMouseUp 
loc of sprite 
optionDown 
menuItem 
rollOver 
mouseCast 
shiftDown 
mouseChar 
stillDown 
mouseDown 
mouseDownScript

sound -------------- 

channelCount 
sound of member 
puppetSound 
sound playFile 
sampleRate 
sound stop 
sampleSize of member 
soundBusy 
sound close 
soundEnabled 
sound fadeIn 
volume of sprite 
sound fadeOut

 
Details of font commands
 
 
 
Properties

after
lineCount of member
alignment of member
lineHeight
autoTab of member
lineHeight of member
backColor of member
linePosToLocV
before
lineSize of member
border of member
lineSize of sprite
boxDropShadow
locToCharPos
boxType of member
locVToLinePos
char...of
margin
charPosToLoc
number of chars in
chars
number of items in
charToNum
number of words in
contains
offset
delete
pageHeight of member
dropShadow of member
put...after
editable of member
put...before
editable of sprite
put...into
font of member
scrollByPage
fontSize of member
scrollLine
fontStyle of member
scrollTop of member
foreColor of member
selEnd
height of member
selStart
hilite
string
in
text of member
into
wordWrap of member
item...of
word...of
 

Example use

put "yes" after member sample

set the alignment of member sample to centered

set the lineHeight of member sample to 20
set the backColor of memberof member sample to 15 (out of 255)
put "yes" before member sample

set the border of member sample to 7 
 
 
 
 

set char 4 of member sample to "x"
 

put the number of chars in member sample

(items = comma separated elements)
 

if member sample contains "yes": then 
 
 
 
 
 
 

set the editable of sprite 3 to true
put "yes" into word 4 of member q
set the font of member q to "times"

set the fontsize of member q to 20

set the fountstyle of member q to "bold"

set the foreColor of member sample to 33 (out of 255)
 
 

set the hilite of member q to true
 

set the text of member q to "what is"
 

set item 3 of member q to "no"
 
 

 



More information about the course exploring the artisitic use of these capabilities is available at the description of the Art 412 Conceptual Information Arts: Introduction to Art & Technology.
 
Stephen Wilson, Professor, Art, Conceptual/Information Arts Program, San Francisco State University 
Information about the Conceptual/Information Arts program    (415) 338-2291   swilson@sfsu.edu  Wilson web page 
Copyright, Stephen Wilson, 1999 - You are free to use the text as long as you attribute source and do not use it commercially.