Sign in to follow this  
Followers 0
skjking

AutoIt signing in Scripting problem

4 posts in this topic

Hey I have a question for the AutoIT program

When i try to sign in to an application with my script the "@" gets switched into the number 2 how come??? Meanwhile if i manually type it, then it comes out fine..

Please Respond :(

Share this post


Link to post
Share on other sites



skjking.

Welcome to the AutoIt forum. :)

As a general rule, it is always a good idea to post the code which is giving you the problem - it makes sure we can focus on the correct element of the script and not waste time suggesting impossible solutions. When you post code please use Code tags - put [autoit] before and [/autoit] after your posted code. ;)

In this case, without the code to examine, I can only suggest using the "raw" flag in your Send command (as I imagine that is what you are using) and see if that solves the problem. :)

You see how much easier it would be with some code? ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

@

skjking.

Welcome to the AutoIt forum. :)

As a general rule, it is always a good idea to post the code which is giving you the problem - it makes sure we can focus on the correct element of the script and not waste time suggesting impossible solutions. When you post code please use Code tags - put

before and
after your posted code. ;)

In this case, without the code to examine, I can only suggest using the "raw" flag in your Send command (as I imagine that is what you are using) and see if that solves the problem. :)

You see how much easier it would be with some code? ;)

M23

@Melba23: Thank You for the advice i will be sure to do that :)

As for the script :

Autoit

;Login info;
$Path = "C:Program Files (x86)World of WarcraftWoW.exe";Default path
$Accountname = "Faketestingemail@yahoo.com"; Put your WoW account name there..
$Pass = "password";Put your WoW password there...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Logon()

Func Logon()
If WinExists("World of Warcraft") Then
$hWnd = WinGetHandle("World Of Warcraft");Handle of WoW, for controlsend
Sleep(100)

ControlSend($hWnd, "", "", $Accountname);Sends it to the game, wether your in game or not. Account name.
Sleep(100)

ControlSend($hWnd, "", "", "{TAB}");Moves down to the password field.
Sleep(100)

ControlSend($hWnd, "", "", $Pass);Sends it to the game, wether your in game or not.
Sleep(100)

ControlSend($hWnd, "", "", "{ENTER}");Moves down to the password field.
Sleep(100)

Else
Run($Path, "")
Sleep(8000);25 seconds is a bit much...
$hWnd = WinGetHandle("World Of Warcraft");Handle of WoW, for controlsend
Sleep(100)

ControlSend($hWnd, "", "", "Faketestingemail@yahoo.com");Sends it to the game, wether your in game or not. Account name.
Sleep(100)

ControlSend($hWnd, "", "", "{TAB}");Moves down to the password field.
Sleep(100)

ControlSend($hWnd, "", "", "password");Sends it to the game, wether your in game or not.
Sleep(100)

ControlSend($hWnd, "", "", "{ENTER}");Moves down to the password field.
Sleep(100)
EndIf

EndFunc

Share this post


Link to post
Share on other sites

skjking,

Unfortunately you appear not to have read the Forum Rules yet. Please read them now - particularly the bit about not discussing either game launching or login scripts - and then you will understand why you will get no help and this thread will now be locked. :naughty:

See you soon with a legitimate question I hope. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0