skjking Posted July 15, 2012 Posted July 15, 2012 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
Moderators Melba23 Posted July 15, 2012 Moderators Posted July 15, 2012 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
skjking Posted July 15, 2012 Author Posted July 15, 2012 @ 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 expandcollapse popup;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
Moderators Melba23 Posted July 15, 2012 Moderators Posted July 15, 2012 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. 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 Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts