bwestlake Posted January 16, 2012 Posted January 16, 2012 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
X-13 Posted January 16, 2012 Posted January 16, 2012 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.]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now