Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetUserComputer question
#1
I wasn't sure how i could make this code create another function and put the function in every macro to make sure name wasn't changed. Maybe i should use rset and rget. I'm not sure what way would be best I have looked into the shareware but i really don't want to generate a code for everyone.
Code:
Copy      Help
str user computer
GetUserComputer user computer
out "%s\%s" computer user ;instead of out make it put the names in a function so my macros  could check it later before running
#2
str user computer
GetUserComputer user computer
if(user~"userX"=0) ret ;;exit if user is not userX

and put this in every macro
#3
Thank you very much. I have went back to the shareware macro you made and it really isn't what i need cause it can be unlocked and then passed to other computers. So I need to figure out how to run a function that gets the user and PC name and then puts it into each macro so it can not be installed on another PC. Any help in this area would be greatly appreciated.


Forum Jump:


Users browsing this thread: 1 Guest(s)