![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Senior Member Join Date: Jan 2008
Posts: 1,244
Reputation: 29 ![]() | I have a couple questions abuot AHK, Hope someone here can help me =P 1: Let's say i wanna make a bot that start at a specific time at a day. Know theres a clock at bottom right corner system tray, Do i have to take screenshot of the time and make it start when it matches? How do i do that? (Doing such action when this picture/icon shows up) 2: How do i make a bot for all different screen res? 3: How do i make a bot that will enter the numbers at a line in a txt file? Thanks for reading =P |
| | |
| | #2 (permalink) |
| Senior Member | 1: Let's say i wanna make a bot that start at a specific time at a day. Know theres a clock at bottom right corner system tray, Do i have to take screenshot of the time and make it start when it matches? How do i do that? (Doing such action when this picture/icon shows up) That would work I think, just do a loop for imagesearch? Not sure though. another way would be to have an input box at the start and have it ask for how many minutes until you want it to start, then use that as the variable for a sleep. Other than that I am not 100% sure. I am going to do it for a bot soon I think though so I'll let you know if/when I figure it out. 2: How do i make a bot for all different screen res? Depends on what the bot is doing. For some I use a GetMousePos to find the x/y pos which would then work regardless of screen res. 3: How do i make a bot that will enter the numbers at a line in a txt file? I don't understand exactly what you are looking for here. Please elaborate.
__________________ |
| | |
| | #6 (permalink) |
| Senior Member | for imagesearch just look it up in the AHK help file. It explains it way better than I could. If you still can't get it then post your code here and I'll take a look. For the reading ID/PW... FileReadLine, Variable, Document.txt, 1 This will store the entire first line of that txt file on that variable. Do the same only ,2 at the end for the 2nd line (which i assume would be password). make sure to change the variable for the 2nd one. Does this answer your questions?
__________________ |
| | |
| | #8 (permalink) | |
| Senior Member Join Date: Jan 2008
Posts: 1,244
Reputation: 29 ![]() | Quote:
| |
| | |