aoGetUsername

// 
// aoKit
// Andrew Odendaal's Maya Script Kit
// Software developed by Andrew Odendaal
// Code compatible with versions 7 - 8.5
//
// Author : Andrew Odendaal
// E-mail : [email protected]
// Website: http://www.andrewodendaal.com
// 

// get the username of the current user
global proc aoKitGetUserName()
{
	global string $aoKitUserName;
		$aoKitUserName = `getenv USER`;
	print ("" + $aoKitUserName + " is the name!\n");
}
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments