SmartCode Solutions Web Forum




[v5.0] Logged in User - External Tool Variable

Expand / Collapse
Author Message
 Posted Thursday, April 02, 2009
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, April 28, 2010
Posts: 18, Visits: 24
I would like to be able to open up the desktop folder of the currently logged in user. (without using the VNC file transfer dialog, as this isn't always available) I've tried creating my own "External Tool" that opens explorer.exe with " \\($SERVER_IP)\c$\documents and settings\($WINDOWS_USER)\Desktop" as an argument. A couple of problems with that. First, it uses my locally logged on username. Second, it is in domain\SAMAccount format. Is it possible to get a variable that pulls the username (without domain) that is currenly logged on to a machine? That would be so useful to me.

Thanks
Jared
Post #2453
Add to Twitter Add to Facebook
 Posted Thursday, April 02, 2009
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 4:49 PM
Posts: 1,248, Visits: 2,125
Your wish has been granted :) Look for the ($WINDOWS_USERNAME) variable (Windows User Name (Username) menu item) in the v5.0.1 Beta build, which is expected to be released in a few days.



Kindest Regards,
SmartCode Solutions Support
Post #2454
Add to Twitter Add to Facebook
 Posted Friday, April 03, 2009
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, April 28, 2010
Posts: 18, Visits: 24
Fantastic! Can't wait to test it out!

-Jared
Post #2456
Add to Twitter Add to Facebook
 Posted Monday, April 06, 2009
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, April 28, 2010
Posts: 18, Visits: 24
Just tested out the 5.0.1.0 beta and the new ($WINDOWS_USERNAME). The problem is this still gives the username of the remote credentials, not the username of the locally logged in user. Any chance of getting that functionality?

Thanks
Jared
Post #2463
Add to Twitter Add to Facebook
 Posted Monday, April 06, 2009
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 4:49 PM
Posts: 1,248, Visits: 2,125
Hi Jared,
I missed the part about the remote/local user name in your first post. I'm not sure whether or not such feature should be implemented. The immediate problem I can think of is that there are could be more than one user logged into a computer and there is no way for the VM to know which name it should return.

I'll add this feature to the features requests list and we will see what we can do about it.



Kindest Regards,
SmartCode Solutions Support

Post #2464
Add to Twitter Add to Facebook
 Posted Friday, May 01, 2009
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Wednesday, April 28, 2010
Posts: 18, Visits: 24
I've been thinking about this. As more than one user can be logged in how about adding a context menu that shows all currently logged in users that then has submenues under each user to do user specific (that specific logged on user) tasks? Then possibly under that it could have access to the user's desktop, my documents, etc or other scripts could be ran against that specific account?

I personally see value in that. What do you think?

-Jared  
Post #2502
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse