Is there a "User Name" that can be obtained and put into a LC script

Roger Eller roger.e.eller at sealedair.com
Mon Jul 9 20:20:29 EDT 2012


On Mon, Jul 9, 2012 at 8:11 PM, Mark Rauterkus wrote:

> Hi,
>
> A while ago, Mark Schonewille offered this great advice:
>
> Try $USER on Mac and $USERNAME on Windows. Both are global variables.
>
> Does this work on Android or iOS?
>
> Furthermore, I don't find any mention of $USER nor $USERNAME in the
> documentation nor dictionary.
>
> What's up with that?
>
>
> Mark Rauterkus
> Mark at Rauterkus.com


See the second entry in the dictionary ($).  It appears that $LOGNAME is
supposed to work for all platforms, including mobile.

~Roger



More information about the use-livecode mailing list