StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
adyy  
#1 Posted : Monday, October 28, 2019 1:28:57 PM(UTC)
adyy

Rank: Member

Reputation:

Groups: Approved
Joined: 8/25/2019(UTC)
Posts: 20
China

Was thanked: 1 time(s) in 1 post(s)
How to implement the same gesture to perform different actions when different users are on the same computer?
Thanks!
thanks 1 user thanked adyy for this useful post.
dosealas on 12/5/2019(UTC)
Rob  
#2 Posted : Monday, October 28, 2019 1:56:37 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
If they're logging into Windows as a different user, the should get the default settings configuration under their profile.

This is assuming you're just using the standard installer, and the users are running under different account.

Otherwise, I'd need to know some specifics regarding the setup of the users, S+ install type/location, how S+ is being started, etc.
adyy  
#3 Posted : Monday, October 28, 2019 2:48:08 PM(UTC)
adyy

Rank: Member

Reputation:

Groups: Approved
Joined: 8/25/2019(UTC)
Posts: 20
China

Was thanked: 1 time(s) in 1 post(s)
I use"one to two software"(like BeTwin app) and log in to user1 and user2 accounts at the same time.

S +. Net is installed in the D: \ program files folder and logged in with the same account.

Now I want to use the same gesture to run apps under different folders under different windows accounts. For example, user1 uses the gesture "C" to run "D: \ program files \ chrome-user1 \ chrome.exe", user2 uses the gesture "C" to run "D: \ program files \ chrome-user2 \ chrome.exe".

Can s +. Net do it?
Rob  
#4 Posted : Monday, October 28, 2019 2:54:32 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
There would need to be some way for S+ to see the difference between two users, but I'm not familiar with that software.

How do you know which user is active?
adyy  
#5 Posted : Tuesday, October 29, 2019 3:29:10 AM(UTC)
adyy

Rank: Member

Reputation:

Groups: Approved
Joined: 8/25/2019(UTC)
Posts: 20
China

Was thanked: 1 time(s) in 1 post(s)
Most of the time, two accounts log in at the same time.

If S +. Net can detect the login account name, it can be realized by performing different actions with the same gesture.
Rob  
#6 Posted : Tuesday, October 29, 2019 3:34:00 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,349
United States
Location: Tampa, FL

Thanks: 28 times
Was thanked: 416 time(s) in 354 post(s)
You can try these scripts to see if they shows different user names:
Code:
sp.MessageBox(sp.ExpandEnvironmentVariables("%username%"), "UserName");

sp.MessageBox(clr.System.Security.Principal.WindowsIdentity.GetCurrent().Name, 'name');


If they do, it should be pretty easy to check in the script.
If they do not, I'm afraid it will again come back to the implementation of how the multiple account software works and you may need to reach out to them.
adyy  
#7 Posted : Wednesday, October 30, 2019 12:33:36 AM(UTC)
adyy

Rank: Member

Reputation:

Groups: Approved
Joined: 8/25/2019(UTC)
Posts: 20
China

Was thanked: 1 time(s) in 1 post(s)
I tested the code in win7 and win10. It works very well. Thank you very much.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.