-
Posts
29 -
Joined
-
Last visited
Everything posted by kingjacob90
-
Program user usage tracking - (Moved)
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
I have found a way lol I used https://grabify.link/ and the INETread command with option 3. -
Hi I have a script that I would like to know how many people are using it. I was thinking of an idea where, when the program is opened, it contacts a website link and the website counts the amount of connections, but I am unsure on how to do this. Any ideas? Thanks Jacob
-
Hi I have a command: Run('"' & @ComSpec & '" /k ' &'robocopy "'&$DirFromFolder&'" "'&$DirToFolder&'" /E /Z /ZB /R:2 /W:1 /V /XD appdata',@WindowsDir,@SW_SHOW) Now I would like to change the @sw_show to @sw_hide and get autoit to tell me how the progress is going (without the script pausing, I.E not runwait) I have looked around for showing progress for the Windows robocopy command and it is not strait forward. I this possible. I feel like I don't have the understanding of opt_flag's and this might be a answer. Also just knowing when the "run command" has finished would help (I.E msgBox when run command ends).
-
Click a button with a changing position
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
Yes, I guess you could call it that...- 4 replies
-
- help
- button click
-
(and 2 more)
Tagged with:
-
Hi So I am trying to click the green button, this button is not always in the same place. So fare I am trying to click it by finding the color but there is also something else with the same color on the screen (circled in yellow) that is causing issues. Is there a way to use the Title and Class of the window (can't be just the window as there are more than one with the same name). How does AutoIt Info get this information?
- 4 replies
-
- help
- button click
-
(and 2 more)
Tagged with:
-
Hi I have found that if I run a TCP server on port 22 and connect to the IP using the Windows PowerShell command "ssh -l *any-user* *ip-address* the server (my script) will receive the msg "SSH-2.0-OpenSSH_for_Windows_7.7" from the client (Windows PowerShell), but that is it... I would like to be able to "talk" to my server using the Windows PowerShell, send commands/msg's, and for my server to reply and them to be displayed in the shell. When I send a msg to the Windows PowerShell ssh connection (using my script TCPsend) nothing happens, but there are no errors. I think the Windows PowerShell SSH client is looking for some type of msg back. Does anyone know more about the SSH handshake? What I would have to do to make the two (Shell and Script) "talk" with each other?
-
Website screenshot / information
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
Thanks @Danp2 and @caramen for your input. I will definitely have a look at the webDriver UDF; it also sounds really good for other things I have in mind Thanks again, Jacob- 14 replies
-
Website screenshot / information
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
@caramen That would work but would involve opening the website, while this could be automatic it would be cool to be able to do it without having anything physically open. I had thought about using a website downloader but again they have tocbe opened to work (the ones I know about). This very well might not be possible.- 14 replies
-
Hay guys Just had an idea and wanted to know where to start. I want to download a screenshot of a website automatically into a .png .jpg ect format so I can then set it as my desktop background. This might be for for news: When the latest news is added to a website a screenshot of that website is saved and added to my desktop background. I have tried using website that already do the screenshot but you have to open the website and click the button for it to generate one and thus InetGet does not help. Any Ideas?
- 14 replies
-
Word Searching (Fun Little program)
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
@Skeletor Problem is this code does not actually work, it takes to long for it to do anything. And yeah thats weird must have been from years ago.- 6 replies
-
- searching
- word shearching
-
(and 2 more)
Tagged with:
-
Word Searching (Fun Little program)
kingjacob90 replied to kingjacob90's topic in AutoIt General Help and Support
@FrancescoDiMuro The goal is to be able to put in a whole lot of random letters and the program will see if it can make a work out of them like the game scrabble.- 6 replies
-
- searching
- word shearching
-
(and 2 more)
Tagged with:
-
I have this very simple but possibly quite complicated idea for a program. It is kind of a rip of the "Find" function used in many programs and really is in a way a re-create. The problem is it take ages for the program to process the information and that is on a good PC (i5-6600, 16GB DDR4, SSD). The question, why? Why cant it work just like the find function, and how does the find function in many programs work so efficiently? Website for the words file as only allowed 4MB and it is 5MB : https://raw.githubusercontent.com/dwyl/english-words/master/words.txt Code: #include <File.au3> $Letters = InputBox("Letters","Input the letters you have.","","") If @error Then Exit $File_Words = @ScriptDir&"\words.txt" $Words = "Words:" $Amount = StringLen($Letters) $lines = _FileCountLines($File_Words) ProgressOn("Searching...","","") ProgressSet(0) For $i = 0 To $Amount $string = StringTrimRight($Letters,$i) For $j = 1 To $lines ProgressSet($lines/$j) If FileReadLine($File_Words,$j) = $string Then $Words = $Words&@CRLF&$string EndIf Next Next MsgBox(0,'',$Words)
- 6 replies
-
- searching
- word shearching
-
(and 2 more)
Tagged with:
-
Is there anyway to break things up into packets? Is there anyway to break things up into packets so they don't exceed said size?
-
Hi I am trying to send a file over TCP from a TCP client to server. If I run the server and client on the same computer the file is send fine, but if the server is on one computer on the network and the client on another the file is sent in what looks like more than one packet. In other words the server receives 4 msg from the client. Why is this, how do I make it send in one go, or what is a way around it? Side Note: TCP server has a max of 999999999
-
HI I am wanting to know what my CPU temp is but don't know what object to use. I don't relay know how objget works so would not know where to start. I have seen people integrate things like windows speech to text into their scripts but don't know how they know what object to use! How do I find the right object? And how dose it work? Thanks Jacob
-
4 - Unable to create socket. The SMTP server xtra.co.nz used to work but they mad a change and I started getting this error, your UDF gave an error too. I am wondering if there is a way to connect to a more simpler SMTP server, one that will work with the autoit smtp function.
-
Yes I have tried this UDF but have not been able to get it to work
-
Hi I used to be able to send emails using auoit's INetSmtpMail function using my ISP's smtp server smtp.xtra.co.nz but they have changed it and now it dose not work because it needs to have authentication or somthing like that. Is there a way around this. Another smtp server i can direct emails to? Thanks for any help.
-
GUI input data into log form.
kingjacob90 replied to kingjacob90's topic in AutoIt GUI Help and Support
I see thanks I have not used the forums much. Very helpful! Thanks again. -
GUI input data into log form.
kingjacob90 replied to kingjacob90's topic in AutoIt GUI Help and Support
Thanks Melba23 Just what I wanted! -
Hi. I am wanting to have a script that when you push a button it will put data from an input box into a list (like data log) but the list must also have the previous data as well. I have code that dose this but I have the problem of it not been able to scroll as I am using an input box to store my data. Any ideas? Thanks. Global $top = 0 GUICreate("...",200,300) $top=$top+10 GUICtrlCreateLabel("-- input hear --",2,$top,150,20) $top=$top+20 $Input = GUICtrlCreateInput("",2,$top,100,20) $Button = GUICtrlCreateButton("Submit",105,$top-1.5,90,23) $top=$top+25 $View = GUICtrlCreateInput("-- data under hear --",2,$top,196,100,0x0004,0x0800) GUISetState() While 1 $GUI_MSG = GUIGetMsg() Select Case $GUI_MSG = -3 Exit Case $GUI_MSG = $Button GUICtrlSetData($View,GUICtrlRead($View)&@CRLF&"data: "&GUICtrlRead($Input)) GUICtrlSetData($Input,"") EndSelect WEnd
-
Yes but this would be hard as I do not know how to make the TCP server look for an IP outside my home router e.g LAN IP is easy 192.168.1.## (# = computer port) because to make the server look for 112.238.72.34 + 192.168.1.## (so looking for the router IP then the LAN IP) is hard and I dont know how to do it, so any one with the knowledge pleas shear.
-
Hi I have been making a program (See forum HEAR) that will let people on your Local network chat. I am wondering if there is a way to join two networks together, maybe with Hamachi (Just thought of it). Fell free to leave comments and ideas on the topic. >