Posted 12 years ago
·
Author
The IML scripts were my way of beginning to learn the AutoIt scripting language. Simply put, they automatically open the Imvu Client, type in your username and password and hit login for you. This way, you can quickly log into the client with a simple click of the left mouse button.
When you run them for the first time, it will ask you for your Avatar Name and password. It does this because it's going to create a new registry key where it will store your Avatar name and password so it can type them for you.
These keys can be found here (Note: They won't be created till you run the script(s). However, you can create them manually):
V1:
V2:
V3:
Imvu Login Macro v1:
Version 1 is for people who only have 1 IMVU account and already have their username saved in IMVU.
Click here to download a pre-compiled exe
Imvu Login Macro v2:
Version 2 is for people who have more than 1 IMVU Account and don't have their Avatar name stored in IMVU already.
Click here to download a pre-compiled exe
Imvu Login Macro v3:
This is for people who are having issue with IMVU storing your avatar name even though it shouldn't be. I've looked though all the files and registry keys and can't figure out why IMVU is storing an avatar name to an alt account of mine and causing the script to put the avatar name in the password box. So, if you're having this issue as well, then download this version.
Click here to download a pre-compiled exe
All the scripts should work on Windows XP/Vista and 7. If you encounter any problems, let me know.
To-Do List:
When you run them for the first time, it will ask you for your Avatar Name and password. It does this because it's going to create a new registry key where it will store your Avatar name and password so it can type them for you.
These keys can be found here (Note: They won't be created till you run the script(s). However, you can create them manually):
V1:
V2:
V3:
Imvu Login Macro v1:
Version 1 is for people who only have 1 IMVU account and already have their username saved in IMVU.
Click here to download a pre-compiled exe
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#comments-start
Note, This Script Only Works If You Have Your Account Name Already
Saved In The Registry
#comments-end
;Check For The IMVU Client
If FileExists (@AppDataDir & "\IMVUClient\IMVUClient.exe") Then
If RegRead ( "HKEY_CURRENT_USER\Software\ILM1", "Password" ) = "" Then
;If Reg Key Not Found, Create It And Prompt For Password Creation
Dim $pass = InputBox("Avatar Name", "This Apears To Be The First Time You've Run ILM. Please Type In Your Password & Click OK")
;Set The Pass In The Ini File
RegWrite("HKEY_CURRENT_USER\Software\ILM1", "Username", "REG_SZ", $pass)
Else
;If Ini Found, Read Password From It And Store It In A Variable
Dim $pass = RegRead ( "HKEY_CURRENT_USER\Software\ILM1", "Password", "", "*")
EndIf
;Run The Imvu Client
Run (@AppDataDir & "\IMVUClient\IMVUClient.exe")
;Pause And Wait For The Login Dialog To Load
WinWaitActive("IMVU Login")
AutoItSetOption("SendKeyDelay", 1)
;Type In The Password
Send($pass)
;Tab Twice To Get To The Login Button
Send(@tab)
Send(@tab)
;Click The Login Button
Send("{ENTER}")
Else
;If Imvu Not Found, Alert The User
MsgBox(0,"Not Found", "Imvu Was Not Found On This Computer")
EndIf
Imvu Login Macro v2:
Version 2 is for people who have more than 1 IMVU Account and don't have their Avatar name stored in IMVU already.
Click here to download a pre-compiled exe
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#comments-start
Note, This Script Only Works If You DON'T Have Your Account Name Already
Saved In The Registry
#comments-end
;Check for the Imvu client
If FileExists (@AppDataDir & "\IMVUClient\IMVUClient.exe") Then
;If Imvu is found, check for the ILM reg key. If not found or avi name field is blank, prompt to create it
If RegRead ( "HKEY_CURRENT_USER\Software\ILM2", "Username" ) = "" Then
;Prompt for the avi name
Dim $aviname = InputBox("Avatar Name", "This Apears To Be The First Time You've Run ILM. Please Type In Your Avatar Name & Click OK")
;Prompt for the password
Dim $pass = InputBox("Password", "This Apears To Be The First Time You've Run ILM. Please Type In Your Password & Click OK", "", "*")
;Write the avi name and password to the registry
RegWrite("HKEY_CURRENT_USER\Software\ILM2", "Username", "REG_SZ", $aviname)
RegWrite("HKEY_CURRENT_USER\Software\ILM2", "Password", "REG_SZ", $pass)
Else
;If the reg key is found and not empty, read the avi name and pass from it
Dim $aviname = RegRead ( "HKEY_CURRENT_USER\Software\ILM2", "Username" )
Dim $pass = RegRead ( "HKEY_CURRENT_USER\Software\ILM2", "Password" )
EndIf
;Delete the Imvu avi name key to prevent the login dialog from starting on the password input box
RegDelete("HKCU\Software\IMVU\username")
;Run Imvu
Run (@AppDataDir & "\IMVUClient\IMVUClient.exe")
;Wait for the Imvu login dialog to load befor continuing
WinWaitActive("IMVU Login")
AutoItSetOption("SendKeyDelay", 0)
;Type in the avi name
Send($aviname)
;Tab down to the password box
Send(@tab)
;Type in the password
Send($pass)
;hit enter to login
Send("{ENTER}")
EndIf
Imvu Login Macro v3:
This is for people who are having issue with IMVU storing your avatar name even though it shouldn't be. I've looked though all the files and registry keys and can't figure out why IMVU is storing an avatar name to an alt account of mine and causing the script to put the avatar name in the password box. So, if you're having this issue as well, then download this version.
Click here to download a pre-compiled exe
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#comments-start
Note, This Script Only Works If You DON'T Have Your Account Name Already
Saved In The Registry
#comments-end
;Check for the Imvu client
If FileExists (@AppDataDir & "\IMVUClient\IMVUClient.exe") Then
;If Imvu is found, check for the ILM reg key. If not found or avi name field is blank, prompt to create it
If RegRead ( "HKEY_CURRENT_USER\Software\ILM3", "Username" ) = "" Then
;Prompt for the avi name
Dim $aviname = InputBox("Avatar Name", "This Apears To Be The First Time You've Run ILM. Please Type In Your Avatar Name & Click OK")
;Prompt for the password
Dim $pass = InputBox("Password", "This Apears To Be The First Time You've Run ILM. Please Type In Your Password & Click OK", "", "*")
;Write the avi name and password to the registry
RegWrite("HKEY_CURRENT_USER\Software\ILM3", "Username", "REG_SZ", $aviname)
RegWrite("HKEY_CURRENT_USER\Software\ILM3", "Password", "REG_SZ", $pass)
Else
;If the reg key is found and not empty, read the avi name and pass from it
Dim $aviname = RegRead ( "HKEY_CURRENT_USER\Software\ILM3", "Username" )
Dim $pass = RegRead ( "HKEY_CURRENT_USER\Software\ILM3", "Password" )
EndIf
;Delete the Imvu avi name key to prevent the login dialog from starting on the password input box
RegDelete("HKCU\Software\IMVU\username")
;Run Imvu
Run (@AppDataDir & "\IMVUClient\IMVUClient.exe")
;Wait for the Imvu login dialog to load befor continuing
WinWaitActive("IMVU Login")
AutoItSetOption("SendKeyDelay", 0)
Dim $count = 0
Do
$count = $count + 1
Send("{TAB}")
Until $count = 15
;Type in the avi name
Send($aviname)
;Tab down to the password box
Send(@tab)
;Type in the password
Send($pass)
;hit enter to login
Send("{ENTER}")
EndIf
All the scripts should work on Windows XP/Vista and 7. If you encounter any problems, let me know.
To-Do List:
- -Find a way to encrypt the avatar name and password in the registry
-Add some sort of support for multiple accounts
-Find a way to re write the scripts so I can manually select the avatar name box