Search the Community
Showing results for tags 'pound sign'.
-
Hello Everyone, I am having a bit of trouble getting my FileReadLine function to read all the characters in a specific text file. Here is my code. Func PastePassword() ;Paste Password $file = ('C:\Text\Logins\MacroPWList.txt') FileOpen($file, 0) For $i = 2 to _FileCountLines($file) $line = FileReadLine($File, 2) GUISetState(@SW_HIDE, $wsi_form) Sleep(350) Send($line) Sleep(150) Send("{Enter}") ExitLoop Next EndFunc $line should return the following string "EY@RdJ5S}#<r8rh" However, instead $line is returning "EY@RdJ5S}<r8rh" For some reason it is leaving out the # sign in the string. Does anyone know why that is? Thanks for all your help!
- 2 replies
-
- hashtag
- pound sign
-
(and 1 more)
Tagged with:
-
Can someone explane the following: Missing chars when using code? ps - looks like you can no longer paste your code with TIDY??? #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example1() MsgBox('', '', 'Why is the ampersand sign missing? & DEC 38') Example2() MsgBox('', '', 'Why is the Plus, Exclamation Mark, and Pound Sign missing? + DEC 43, # DEC 35, ! DEC 33') ; example 1 Func Example1() ; In this example the & is missing? Local $msg, $Left = 10, $Down = 0 GUICreate("My GUI", 100, 960) ; will create a dialog box that when displayed is centered For $x = 32 To 64 GUICtrlCreateLabel(Chr($x), $Left, $Down) $Down += 30 Next GUISetState(@SW_SHOW) ; will display an empty dialog box ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() EndFunc ;==>Example1 ; example 2 Func Example2() ; In this example the # and + and ! signs are missing? Run('notepad.exe') Sleep(1000) For $x = 32 To 64 Send(' ' & Chr($x)) Send("{Enter}") Next EndFunc ;==>Example2