Jump to content

Recommended Posts

Posted

Username scheam is firstintial.lastname.33161 (eg. b.westlake.33161) using auto hotkey to change the mouse sensitivity user specific:

 

#################################################

Script

#################################################

#NoTrayIcon

SetEnv User=%username%

goto "%User%"

 

"%b.westlake.33161%":

DllCall("SystemParametersInfo", Int,113, Int,0, UInt,1, Int,2)

exit

 

"%b.westlake.s%":

DllCall("SystemParametersInfo", Int,113, Int,0, UInt,20, Int,2)

exit

 

#################################################

 

script is stopped due to "Error: The following variable name contains an illegal charater:

"User=b.westlake.33161""

 

The dots in the username are the illegal character(s), this is called Concatenate, i cant work out / find how to over rule this feature.

 

Help Anyone :)

Posted

Couldn't you change the script to only take parts, then change the variable to %first% %last% %extension% with "." as a delimiter?

 

[Also, I see that you are a Westlake... I too, am a Westlake.]

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



×
×
  • Create New...