
RichardT
Active Members-
Posts
35 -
Joined
-
Last visited
Profile Information
-
Location
Which Day?
-
WWW
http://www.richtechgrp.com
-
Interests
Picture books, crayons, making money, and did I mention picture books?
RichardT's Achievements

Seeker (1/7)
0
Reputation
-
Thanks DaleHohm for your reply! I am getting a wierd error though, have you seen this before: M:\Scripts\EC4Marquee without SENDs.au3(290,55) : ERROR: syntax error $oFinish = _IETagnameGetCollection($oIE, "input", zero- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ M:\Scripts\EC4Marquee without SENDs.au3 - 1 error(s), 0 warning(s) I do not know how to look for the answer?
-
Hey everyone, I think I have a hard question for you. I have a web page that belongs to a pocket AP. To get it to change automatically when a user requests a new SSID (done with code by JCHD (thanks buddy), it needs to get the "FINISH" button on the bottom of the page clicked. Unfortunatley, there are two other buttons that are called NAME: action. When the "finish" button is clicked, it runs a CGI script that is named the same as the other buttons. I tried to bring focus on the button (_IELinkClickByText), but it won't find it. I have included a copy of the webpage for your reading pleasure. How can I make this work? Thanks WL-330gE Web Manager.htm
-
All, I am trying to pass credentials to an IE window. But when I hit the web site, I get a windows popup. It then takes focus off the IE site so I cannot use IE to send the credentials. I tried making the window accept input, but it will not allow me to even call it. I have included the AUTOIT window info, and a picture of the popup. When I try to enter data in a field, the script stops. I am using the WinActivate( "Connect to 223.223.223.1", "") Once I can get it so I can put the data in, I would like to do it minimized from the Taskbar or hidden. Thoughts Oh' masters of AutoIT Richard Doc1.doc Doc2.doc
-
Thanks! That did it!
-
Thanks guys for your help! But when I tried it, it still didn't work? I added a msgbox to see if it was even getting that far, but it is. Ideas? Example: MsgBox(36, "Congratulations", "System is Installed. Would you like to run the ECSystem now?") If 1 Then msgbox(0, "", "good so far") Else exit EndIf Exit
-
Hello everyone. I have a simple question I know, but I cannot find out how to do it? I have a message box at the end of a script that asks if you want to run the program. but I need the script to exit if the program is called? I tried using the "EXIT" command, but it doesn't work. Please help me see what I am doing wrong? I have attached my script. Thanks! installWithMarquee_cleaned_home.au3
-
Read Random Text into a Gui Label
RichardT replied to RichardT's topic in AutoIt General Help and Support
Thanks for your reply. I guess I don't understand how to select and show more lines? What do I need to change? -
Hello everyone! I have a new task that I would like help with. I would like to read random text into a GUI lable that scrolls and repeats with a different line from the text. It does grab different lines from the file, but only one and replays it. I have picked and gleened information from other people's posts. Thnaks everyone for unknowingly helping me so far! Please let me know how to fix this... #include <windowsconstants.au3> #include <StaticConstants.au3> #include <SendMessage.au3> ;Needed for _SendMessage function. #include <ProgressConstants.au3> #Include <File.au3> global $Count = _FileCountLines(@scriptdir & "\randomText.txt") global $file = FileOpen(@scriptdir & "\randomText.txt") global $line = FileReadLine($file, int(random(1, $count))) $gui = GUICreate("demo ") $ch = GUICreate("",100,30,20,80,$WS_CHILD,-1,$gui) GUICtrlCreateProgress(15, 15, 400, 20, $PBM_SETMARQUEE) _SendMessage(GUICtrlGetHandle(-1), $PBM_SETMARQUEE, True, 50) ; final parameter is update time in ms $lbl = GUICtrlCreateLabel($line,0,0) GUISetState(@SW_SHOW,$gui) GUISetState(@SW_SHOW,$CH) AdlibRegister("slide",50) Global $px = 0 while 1 if GUIGetMsg() = -3 then Exit WEnd func slide() $px -= 1 GUICtrlSetPos($lbl,$px,0) if $px < -250 then $px = 400 EndFunc
-
I failed to tell who helped me the most with the code. I was JCHD. That guy can code! So if it looks professional, he did it!
-
Here is the GUI program. It is large. It programs a Access point at then end, that is why there are so many "Send" commands. As a side note, I do not know why that after I engage the connect function, why does it run the entire function over again, even though it was successful?
-
AlmarM Thanks for the reply. Unfortunately, I cannot get it to work. Maybe I am puting it into the wrong spot. I use the $sCapture as the variable I assign to the GUICTRLInput. So I have two questions, 1: How whould I use the first suggestion 2: How whould I format the If statement you specified based on the code I posted? Will it use the StringFormat command also? Thanks RichardT
-
Sorry, I thought is was a seperate forum. I did the first for general help and the other for GUI.
-
All, I have a simple question (I think). I have a input field that captures a users input ($sInput). I want to make sure that the user inputs only numbers not letters. Here is my code: $pic = "c:\EngineConnect\TempBlank.bmp" SplashImageOn("Engine System", $pic, @DesktopWidth, @DesktopHeight, "", "", 1) $sInput = GUICtrlRead($sCapture) ;Checks to see if $sInput is a valid String IsString($sInput) $sX = StringFormat( "%.0d", 2 ) If $sX = @error =1 Then _FileWriteLog($sLogfile, "") _FileWriteLog($sLogfile, "Error - Engine Number Format is not Correct") SplashOff() MsgBox(0, "Error", "Engine Number Format is not Correct") GUICtrlSetState($sCapture, $GUI_FOCUS) EndIf I want it to return to the input field to try again (thus the GUICtrlSetState($sCapture, $GUI_FOCUS) but it doesn't do anything? Please help... RichardT
-
All, I have a simple question (I think). I have a input field that captures a users input ($sInput). I want to make sure that the user inputs only numbers not letters. Here is my code: $sInput = GUICtrlRead($sCapture) ;Checks to see if $sInput is a valid String IsString($sInput) $sX = StringFormat( "%.0d", 2 ) If $sX = @error =1 Then _FileWriteLog($sLogfile, "") _FileWriteLog($sLogfile, "Error - Engine Number Format is not Correct") SplashOff() MsgBox(0, "Error", "Engine Number Format is not Correct") GUICtrlSetState($sCapture, $GUI_FOCUS) EndIf I want it to return to the input field to try again (thus the GUICtrlSetState($sCapture, $GUI_FOCUS) but it doesn't do anything? Please help... RichardT
-
niubbone, Well I feel stupid! Thanks for helping me untuck my head... RichardT