Sign in to follow this  
Followers 0
hmsSurprise

Get User Id

3 posts in this topic

Hello again folks,

I would like to grab the user ID so I can write a logfile and leave it on the desktop. Desktop path depends on who's logged in and so is of the form

C:\Documents and Settings\NerdBoyUser.SLIDER\Desktop.

Thanks,

jh

BTW, this is the start of my third day with AutoIt (not full days as other tasks take a good bit of my time) and I pleased with my progress, though slow; and I am very much pleased with the helpful folks on this forum. It's only about 80-90 lines of scripts so far but it is taking the tediosity out of server setups.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Did you try:

MsgBox(0,"",@Username)oÝ÷ ÚÛzÛ^¯'­ü¨º;¬·§¶Ø^¥«a¶azë®Ç^²Kh¦Ø^«­¢+Ù5Í    ½à À°ÅÕ½ÐìÅÕ½Ðì±Í­Ñ½Á¥È¤
Edited by SolidSnake

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

Did you try:

MsgBox(0,"",@Username)oÝ÷ ÚÛzÛ^¯'­ü¨º;¬·§¶Ø^¥«a¶azë®Ç^²Kh¦Ø^«­¢+Ù5Í    ½à À°ÅÕ½ÐìÅÕ½Ðì±Í­Ñ½Á¥È¤
Nope, sure didn't. I was looking for a get type function. There are so many features and my osmosis is so slow.

But thank you, this is a great help.

jh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0