Getting the currently logged in user under Windows

Bob Sneidar bobs at twft.com
Mon May 17 18:15:31 EDT 2010


How odd they are different between Windows and Mac!

Bob


On May 17, 2010, at 3:12 PM, J. Landman Gay wrote:

> Bob Sneidar wrote:
>> I would use a lineoffset with "USERNAME=" as opposed to a repeat
>> loop, but as another post pointed out $username is much better.
> 
> In case anyone's keeping score, on OS X it's $USER. There is also $LOGNAME. At least here, they're both the same thing.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list