+ Post New Thread
Results 1 to 2 of 2
Windows Thread, Auto Hot Key -Concatenate in Technical; Username scheam is firstintial.lastname.33161 (eg. b.westlake.33161) using auto hotkey to change the mouse sensitivity user specific: ################################################# Script ################################################# #NoTrayIcon ...
  1. #1

    Join Date
    Nov 2011
    Location
    Gloucester
    Posts
    315
    Thank Post
    12
    Thanked 26 Times in 25 Posts
    Rep Power
    15

    Auto Hot Key -Concatenate

    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

  2. #2

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    8,862
    Thank Post
    589
    Thanked 1,903 Times in 1,316 Posts
    Blog Entries
    19
    Rep Power
    805
    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.]

SHARE:
+ Post New Thread

Similar Threads

  1. How do you like to keep cool during these hot spells?
    By ninjabeaver in forum General Chat
    Replies: 19
    Last Post: 28th July 2013, 10:03 PM
  2. [MS Office - 2010] Auto-Insert Product Key office 2010 CD
    By itgeek in forum Office Software
    Replies: 1
    Last Post: 24th November 2010, 10:35 AM
  3. [MS Office - 2007] Auto insert product key during installation
    By Trapper in forum Office Software
    Replies: 2
    Last Post: 30th September 2008, 09:24 AM
  4. Hot Keys
    By scotty in forum Windows
    Replies: 1
    Last Post: 3rd October 2007, 08:37 AM
  5. Hot, so very hot....
    By Dos_Box in forum General Chat
    Replies: 15
    Last Post: 12th July 2005, 07:27 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •