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:28:22 EDT 2012


On Mon, Jul 9, 2012 at 8:20 PM, Roger Eller wrote:

> 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
>

Actually, it is only the $ character that the dictionary indicates is for
all platforms.  $LOGNAME >may< work on mobile, but I have not verified it.

~Roger



More information about the use-livecode mailing list