
Atoxis
Members-
Posts
17 -
Joined
-
Last visited
Atoxis's Achievements

Seeker (1/7)
2
Reputation
-
Atoxis reacted to a post in a topic: Tab background color
-
Atoxis reacted to a post in a topic: Tab background color
-
Atoxis reacted to a post in a topic: Working ImageSearch - (Moved)
-
I'm fine on that front. Just waiting for others to reply with working code. If anyone is experienced enough I can dump the folder that I have that used to be my old working image search.
- 8 replies
-
- imagesearch
- image
-
(and 2 more)
Tagged with:
-
Howdy, I've gone through a lot of au3 forums, and I once had a working Imagesearch script that I got from here. However, and i'm just totally not sure how but my imagesearch scripts aren't working anymore. I'm not new to au3 but i'm not the most experienced with it's syntax/commands. Anyways, I've looked over the big threads involving imagesearch. Does anyone have a working Imagesearch x64 for win10 that is currently working as of the date with the post. Dll's and what not is fine, just when I tell the script to run, I want to be able to find the image on the screen! Can't find a working copy so if anyone has one please send it my way lol. I've taken all the imagesearch downloads and what not and have played with them but I can't get any of them working on my end, despite others saying they're working. Thanks.
- 8 replies
-
- imagesearch
- image
-
(and 2 more)
Tagged with:
-
Earthshine reacted to a post in a topic: Time Keeping Func Stops working
-
Earthshine reacted to a post in a topic: Time Keeping Func Stops working
-
My Script is now counting time correctly, and i can keep that code and inject it into any other script i make. Very happy i can keep time now hahah.
-
Thanks everyone! I've gotten some improvements cooked up and i think I've actually got something working. I appreciate the time you all took to reply.
-
To how i understand it, it's working very simply off of being called every one second as an adlib, and just upping the number by one. TimerDiff confuses me, but i'll start playing with it more intensely if you believe that's where i should be at, thanks. :-3
-
It's the only way i could think of how, i'm okay with autoit but no where what some other people are, it's my first language. I've googled and looked at other scripts but i don't understand how they are keeping time. Please by all means offer whatever you can. This is just the only and working way i found to have something even keep a somewhat track of time, by just counting a variable up.
-
Howdy friends, within the main script, which i hope doesn't matter too much, is a small function that counts a variable and marks it into the GUI. Overall the time keeping function looks like this, excluding #includes. I added that Sleep(100) to see if that helped but i'll remove it cause i don't think it did... Anyways, the script continues to run, the gui continues to get updated with other data that is getting filed into it, the problem is randomly the time function stops counting, or stops updating the GUI. As of writing this i just had the idea to have it write to a log so i can trace it down... But i'm wondering does anyone have any idea as to why this function would stop working i suppose, when the main Function launches, it does an Adlibregister("TimeUpdate",1000). Sometimes it counts correctly for 32Hours, sometimes it stops at 1hour. Then it will just stop working, or just stop updating the GUI. Thoughts?... Seconds, Minutes, Hours are declared as: global $Var = 0, FYI. Func TimeUpdate() $seconds+=1 GUICtrlSetData($labelTimeSeconds, ""&$Seconds) If $seconds = 60 Then Global $seconds = 0 GUICtrlSetData($labelTimeSeconds, ""&$Seconds) $Minutes+=1 ; 1 GUICtrlSetData($labelTimeMinutes, ""&$Minutes) EndIf Sleep(100) If $Minutes = 60 Then Global $Minutes = 0 GUICtrlSetData($labelTimeMinutes, ""&$Minutes) $Hours+=1 GUICtrlSetData($labelTimeHours, ""&$Hours) EndIf EndFunc
-
Addition:: Instead of using that website, i'm seeing if using Runescapes Own page works easier, it shows the price in the center.
-
Hello all! I'd like anyone who thinks they have something to add that can help me understand how this can work, to please reply! What i'm trying to do is, there is a website that updates everyday i believe with a new number. The number represents a price of a item in a game. The website can be found here: http://runescape.wikia.com/wiki/Granite_(500g) On the right side, you will see a table, within that table is a cell labeled Exchange, and across from it, will have a 3 digit number that represents the current market price of this item. What i'm trying to do, is have autoit open IE without a gui, (I have that down already) and somehow pull out whatever number is in that spot. I can open the debugger console, and see the specific line of code that contains that number, however i have no idea how to have autoit read it, search for it, etc.. I've spent a good 3 hours trying to understand the functions within the help me, and reviewing other post. The script just needs to read that one line. Here's a photo of what i think it needs to look for. Right clicking on the number, in this case 549, and clicking Inspect element, it shows me this. Thanks for reading, and again i appreciate anyone who can help me understand how to do things like this!
-
Ultimately I don't think it can be done using Sleeps in script, because you're calling out of the function to another function. Unless there's a way to call to a sleep func, and then return back to the exact line where you were at in the script before you called to sleep. I gave up around 3am. Maybe in future releases they'll let you tap into it.
-
That's neat, i'll play with that some and see if I can make that work. > I tested it, resulted in starting back at 0 in the counter. This is starting to make my head hurt. I just want to use something that's already built in lol. I also know if I store the number 0 , in the line for $start = 0 to 100 step +1 as a variable above the function, and in within the for/next, write a +1 to that variable, it would continue on. But this still wouldn't work in my real scenario that I need. So final thing is, does anyone know a way to access the global pause that is built into the traymenuPause. And write it as a hotkey.
-
Atoxis reacted to a post in a topic: Autoit Perform Variable
-
HotKeySet ("{F1}", "Sleeper") HotKeySet ("{F2}", "start") start() Func start() WinActivate("New Text Document - Notepad", "") for $start = 0 to 100 Step +1 Send($start) Sleep(500) Next EndFunc Sleeper() Func Sleeper() While 1 Sleep(999999) WEnd EndFunc Here I actually test it. Open up a new note pad, and press F2. The counter starts. Pause it by pressing F1. Test it by either pressing F2, resulting in counting at 0 again; or by pressing F1 to sleep, and pressing F2. The same resulted is achieved for both. However_____ starting over. Start the counter, then go and pause the script from the tray icon. Wait 3 seconds for testing purposes. now on the tray icon, unpause the script and quickly click in the text box field. The counter resumes it's number as if it hadn't stopped. This would be helpful to hotkey toggle that pause in the traymenu.
-
Keep In mind what i'm trying to make this for is something more complicated than sending numbers that can be stored as a var. Ultimately I want to remote into the computer running the script, and be able to press a hotkey that globally pauses the script in its currently running line. And be able to unpause it. Same as traymenu pause. And the script carries on as if it had never skipped a line. I can't find a way to access the traymenu pause outside of actually using the menu.
-
Let's apply it here. A text file would be open, and the script would start by writing/sending the number 1, and then incrementing up by 1. 1,2,3,4,5,etc while the script is doing this, i'd like to be able to press a hotkey that would work not by sleeping, and then ultimately needing me to restart the function again, resulting in starting back at 1. I'd like to be able to run the above script, and then pause it in place as if I had clicked on the traymenu pause. so when i'd unpause it via tray menu, the script would continue right where it had left off as if nothing else had happened. I have school and work tomorrow starting at 8am my time (currently 2:03AM). But i'll keep trying to come up with something or else i'll just sleep and try to code it in my head lol.
-
That'll work, appreciate it very much! Now I'm working on pauses. If you open the tray icon it'll pause the script universally (wherever the script is currently at in its run). << Which is utterly amazing. Looking for a way to tap into that because it's exactly that, a universal pause/sleep that i'd like to bind to a hotkey. Again, thank you!