Contents
Articles
Behaviors
Books
Director News
Director Web Sites
FAQ
Games
Mailing Lists
News Groups
Project Examples
Reviews
Software
Tools
Useful Web Sites
Utilities
Xtras

Don't miss these
Internet Explorer 5 - PC
Get Least Common Denominator
Interface Colors in all palettes
Set WarpMode of a QTVR Sprite
DirectTransition3D Xtra Set II.
Ceiling and floor math functions
Link Email
Orbital Slave
Interactivity by Design
Reshacker
 

 

 

Behavior Get the computer name of user

Added on 4/6/2003

 

Compatibilities:

Required Xtras:
Buddy API

This item has not yet been rated

Author: marcelaal

Use this behaviour to get the username of your viewer and let it be placed into a field.

property pTextComp, UserField

on beginsprite me
  set name = pTextComp&&baUserName( )
  put name into member UserField
end beginsprite me

on getPropertyDescriptionList me
  p_list = [:]
  addProp p_list, #pTextComp, [#format:#string,#default:"Computer name is:",#comment:"The line that is placed before the computer name"]
  addProp p_list, #UserField, [#format:#member,#default:0,#comment:"Select the member field to put the username into"]
  return p_list
end

 


Contact

MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA

Send e-mail