@@laigrimmie6610 Well I use my Window Snipping tool a lot however it isn't for icons. for Icons I either use HellBent's Quick icon maker the-Automator.com/QuickIconsv2 or irfanview (a free program that can rip the icons from programs. My window snipping tool is the-Automator.com/Snip
1:34 Here I really don't know what you did. Where did you get this script from? Is it a new one? How do I make it apply into the script that you made like you did? I am confused
ahk website is it just me or they make it stupid hard to learn by just reading the forum. the example is so simple and doesnt break it down. i always have to go to youtube
ok i want it to search for image 1 then click i did that but can i get it to search for image 2 then click then image 3 and click and wait for image 1 to show? and start again
it seems the file FindText.ahk has the custom functions for left clicking, right clicking, etc but not the F12 hotkey. The file FindText_GetText_JG.ahk has the F12 hotkey and a lot of other things but not the custom functions for use with the hot strings. Which file should I use?
Hi, great Video. is it possible to search and double click multiple images/text lines in one go? And can it be set up to scroll throw a window and search for all text lines? For Context i have a long List, with like 400 text lines / keywords and i need to select some of them with double click. (Its too long for one window size, thats why i need to scroll through it) Should i use V1 or V2 for this?
In programming virtually anything is "possible". The difficulty is every situation is different and what you're describing sounds like it needs customization. You can try and join our Free Friday calls if you don't mind your screen shared on RUclips the-Automator.com/Fridays Otherwise we do have paid consulations the-Automator.com/Consult
Joe, what are the names of the x and y coordinates in this findtext function where the image was found? I want to use controlclick x, y and not "find text" click due to technical reasons
Hi Joe, I have a question, can this script detect text on screen and write that text on other side (automatically)? like a microsoft word page or a text box (like youtube's search box)?
This program does not do OCR, it just finds and image / pixel grouping. my most recent screen clipping tool has OCR built into it which you could automate having it be sent to Ms word
Is "MoveBack:=" an actual thing? I can't find it anywhere on the forums or anything. This is the only place ive ever seen that and it def doesnt work for any of my scripts
The editor featured in this video is SciTE4AutoHotkey the-Automator.com/SciTE However this is an old video. I crecommend going here and looking at stats/watching the video www.the-automator.com/best-autohotkey-editors-ides/
Yes, I'm not in front of the computer right now but it isn't that hard to find. Look for four numbers separated by commas. If you find them, create a backup if to he e values and then change what is there
@@muonline2067 Sorry, I was wrong. IT is just two numbers. On my script ti is line 64. Search for this in the script: The capture range can be changed by adjusting the numbers
Thank you so much, I have already found them,. They are ww and hh variables. and I have another question please answer me when you could. The errors to find the text is a little strange for me, I changed them a little bit and they gave me 100% a different object which is searched. Can you explain a little bit about this?
@@muonline2067 Sorry, I'm not understanding your question. Honestly I've never had a case where it was not able to find the image... I just check to see if "ok" is an object.
First off- you don't "send" a hotkey. YOu're probably wanting to send a key combination. In that case you'll probably use the Send command. Look it up in the AutoHotkey documentation
Hello, just found your awesome channel! really appreciating all the Autohotkey content. i have just one question, the autocompletion at for example 3:46 "ftrc", are all of these self written/defined autocompletion like "::ftrc::FindText_Right..."? best regards from Germany, will watch lots more!! Johannes
Well they all have to be defined at some point. I have a file that is ~4,000 words which is a "spell check" which I didn't write but, yes, there are no "built-in" ones
Did you download some library for AHK? I'm trying to get started with AHK but everytime I write a script and use some object/function/method (I don't know how to call it exactly) it says "Error: This line does not contain a recognized action." E.g. ImageSearch. btw nice videos they are really interesting and well made :)
Check out the 5th video on this page: the-automator.com/autohotkey/autohotkey-functions/ it shows how you can use #Include commands as well as putting them in your library. On this page you can find a reference to my version of the findText function the-automator.com/find-and-click-image-send-text-to-it/
yes cause findtext() is a selfmade function, but the ImageSearch e.g. is even included in helpfile of AHK, that's why I dont get why it doesn't work. Maybe I installed AHK it wrong? I think I didn't install it at all. I just unziped the file which I downloaded from autohotkey.com and started scripting :/ I'm rly confused
oh- sorry, I didn't realized you were asking about ImageSearch (I think of them as the same concept). I don't use ImageSearch but, if it is a built in command, you are correct in that you don't need to reference it. Did you strip out everything else out of your script to make sure it was the issue? You can write me directly at Joe@the-Automator.com and I will review...
Unfortunately I deleted the old script out of frustration. I reinstalled ahk and installed SciTE4AutoHotkey and now it works. but thanks for your offer and fast answers :)
Hi, congratulations for the video, I wanted to ask you a question since you are a master at what you do, do you think it is possible to click a specific position of a window, even if it is minimized? I would like to press a specific key and that key pretends to press the left mouse button to apply a check to a specific program
I don't understand the question. if a window is "minimized" it doesn't actually exist. Windows doesn't track it (to free up memory) so you probalby can't do anything with positions.
hello can you help me The script I want to make is locked to the selected photo when I right click and hold the mouse, and it will be fixed on the photo. can you write this script code to me :)
Sorry, I don't write scripts for people. I teach people how to do the work themselves. If you want someone to write something for you I recommend trying the Facebook group facebook.com/groups/AHK.Automation or AutoHotkey forum
Hey Joe! Is there a way to find and click an image on my other monitor. The ImageSearch/FindText functions work on my primary monitor but not my other monitor. Thanks for your videos!
Hi Joe, I'd consider using FindText() You can see an example how I use it here: the-automator.com/find-and-click-image-send-text-to-it/ Just note that the version I use in that example isn't the most current one. Having said that, I do believe you can force ImageSearch to search across all windows. I don't know how as I don't use it but I'll bet searching the forum will lend something.
Thank you so much !! your videos are so helpful!! Btw, Can I send text once the image found and delay for a few seconds then send enter key? and How can I do that... ;~ SendInput , %Text% SendInput , ^v Sleep 5000 if (Enter=1) SendInput , {Enter} if (Move_Back){ Sleep, 30 MouseMove, %Orig_X%,%Orig_Y% } } Am I correct? Please let me know
I'm pretty swamped right now. I did see some posts on the forum how to use it, have you looked there? Here it has been updated in 5.3 to accommodate multiple images autohotkey.com/boards/viewtopic.php?f=6&t=17834&p=173210&hilit=multiple#p173210
Thnx man! I found it. Another Question: Do you think It's possible to make a GUI that provides the STRING ( image ) ? or is there something Im not aware of? I'm having this Idea for a sweet piece of software where you can activate multiple searches with checkboxes and the Strings placed in Editboxes. If you know what i mean ^^
I haven't studied that part of the code but, since it is shown in the tool, the text of the string should be available from within the function. You'd just have to pipe that to a gui...
Also, your version of 'FindText' is saved in my AutoHotKey folder but will not open with my Scite4. Any ideas why? feiyue's opens though for some reason
Well I'd need to no more about it. Do they work in some programs and not others? Try and launch the script as an admin and see if that fixes things. You can also change the Send Mode autohotkey.com/docs/commands/SendMode.htm
@Joe Glines It's been sorted out my friend! Thanks for all the info! Day 4 of AHK and between yourself and Hellbent I've completed my first decent script. Only 400 lines but it's still going to save me tons of effort! -Do you have any info or videos on Frame.# index/name/id ? I also have Discord and an AutoHotKey forum account if that's easier than YT comments
ImageSearch, x, y, 0, 0, 1920, 1080, *50 C:\Users\gac3689\Pictures\AHK\AHK.png if ErrorLevel = 0 { Click, (%x%), %y% Sleep, 100 Click, %x%, %y% } return Need your help on this, how to make it click on the center of the image? because right now it only click on left top corner...
Is there an option to get this working? start if i find img1 than click it and try to find img2 and click it too if img1 not found, goto start if img2 not found, goto start Everything works fine except for the 2nd image(barrel). Even the img is there, the script wont find it. And yes i tested it, it finds the 2nd image if i start searching the 2nd image first. i dont have any clue where to start. pastebin.com/ibLrryNp
Take a look at the newer version of the function on the AutoHotkey forum. I think they incorporated this. You could simply do what you want by adding logic to your original one using an or statement.
Are you *new to AutoHotkey* and want to learn amazing *tips* & *tricks* ? Check this out: www.the-automator.com/Intro
hi sir joe where did u get tha capture picture or snipping tool.. to capture your icons
@@laigrimmie6610 Well I use my Window Snipping tool a lot however it isn't for icons. for Icons I either use HellBent's Quick icon maker the-Automator.com/QuickIconsv2 or irfanview (a free program that can rip the icons from programs.
My window snipping tool is the-Automator.com/Snip
@@JoeGlines-Automator thanks for the reply buddy i appreciate..
Hi, Joe i searched for that script on the forums... lo and behold i saw your youtube video.. demonstrating this very useful script!! awesome stuff!!
I've been combing through your tutorials and you're a wizard. Thank you sir.
Thanks Kangru! :)
1:34 Here I really don't know what you did. Where did you get this script from? Is it a new one? How do I make it apply into the script that you made like you did? I am confused
This is really cool! Thank you so much for the tutorial, and for making the code available!
You bet! Yes, it can come in really handy!
Thanks Joe, its really useful and worked!
Awesome!
ahk website is it just me or they make it stupid hard to learn by just reading the forum. the example is so simple and doesnt break it down. i always have to go to youtube
ok i want it to search for image 1 then click i did that but
can i get it to search for image 2 then click then image 3 and click and wait for image 1 to show? and start again
did you find out? i need to know that, too.
Is there a way to just do any action you want if image exists rather than clicking the image? Like if I detect an image then shutdown my computer
it seems the file FindText.ahk has the custom functions for left clicking, right clicking, etc but not the F12 hotkey. The file FindText_GetText_JG.ahk has the F12 hotkey and a lot of other things but not the custom functions for use with the hot strings. Which file should I use?
Hi, great Video.
is it possible to search and double click multiple images/text lines in one go?
And can it be set up to scroll throw a window and search for all text lines?
For Context i have a long List, with like 400 text lines / keywords and i need to select some of them with double click. (Its too long for one window size, thats why i need to scroll through it)
Should i use V1 or V2 for this?
In programming virtually anything is "possible". The difficulty is every situation is different and what you're describing sounds like it needs customization. You can try and join our Free Friday calls if you don't mind your screen shared on RUclips the-Automator.com/Fridays Otherwise we do have paid consulations the-Automator.com/Consult
Joe, what are the names of the x and y coordinates in this findtext function where the image was found? I want to use controlclick x, y and not "find text" click due to technical reasons
If you want to use control click, you should look at AutomateMyTask . That's the default behavior.
is it also possible that the program waits until the image appears on screen and then clicks it? the image will appear at a random time
You would just put the searching in a loop and detect when it exists
@@JoeGlines-Automator thx for the quick response ! How can i do that ?
@@Rynzos Something like what I did here the-automator.com/automating-unfriending-on-facebook/
I can try loop to choose a right option according to the text with each image?
Hi Joe, I have a question, can this script detect text on screen and write that text on other side (automatically)? like a microsoft word page or a text box (like youtube's search box)?
This program does not do OCR, it just finds and image / pixel grouping. my most recent screen clipping tool has OCR built into it which you could automate having it be sent to Ms word
Is "MoveBack:=" an actual thing? I can't find it anywhere on the forums or anything. This is the only place ive ever seen that and it def doesnt work for any of my scripts
It's an actual thing inside my function. You need to learn how to use functions if you're going to use this
@@JoeGlines-Automator
Looks like I've got a ways to go then. Thanks for clarifying this. Good work on your videos you really know your stuff
There are two results when I run the script, how do I perform actions on each of the result found ??
Just call them separately changing the index you're clicking on
what is the editor you use?
The editor featured in this video is SciTE4AutoHotkey the-Automator.com/SciTE
However this is an old video. I crecommend going here and looking at stats/watching the video www.the-automator.com/best-autohotkey-editors-ides/
thank you so much bro, please answer me Can we change a size of the rectangular using for capturing objects? if, yes could you tell me please
Yes, I'm not in front of the computer right now but it isn't that hard to find. Look for four numbers separated by commas. If you find them, create a backup if to he e values and then change what is there
@@JoeGlines-Automator thank you so much for your answer. I will try to find them right now
@@muonline2067 Sorry, I was wrong. IT is just two numbers. On my script ti is line 64. Search for this in the script: The capture range can be changed by adjusting the numbers
Thank you so much, I have already found them,. They are ww and hh variables. and I have another question please answer me when you could. The errors to find the text is a little strange for me, I changed them a little bit and they gave me 100% a different object which is searched. Can you explain a little bit about this?
@@muonline2067 Sorry, I'm not understanding your question. Honestly I've never had a case where it was not able to find the image... I just check to see if "ok" is an object.
I want this to send a hotkey when it finds it instead of sending mouse click how I do that
First off- you don't "send" a hotkey. YOu're probably wanting to send a key combination. In that case you'll probably use the Send command. Look it up in the AutoHotkey documentation
Hello, just found your awesome channel! really appreciating all the Autohotkey content. i have just one question, the autocompletion at for example 3:46 "ftrc", are all of these self written/defined autocompletion like "::ftrc::FindText_Right..."?
best regards from Germany, will watch lots more!! Johannes
Well they all have to be defined at some point. I have a file that is ~4,000 words which is a "spell check" which I didn't write but, yes, there are no "built-in" ones
I just realized what video this was tied to. Yes, the text replacement is a HotString which you can see in my other videos
i can try loop to choose a right option according to the text with each image appear on web screen and click ?
Yes. Just use AutomateMyTask For finding an image and clicking. , do the looping in AutoHotkey code
@@JoeGlines-Automator Thanks for responding, is AutomateMytask another program? To make donations to the channel can I use the description link?
Did you download some library for AHK? I'm trying to get started with AHK but everytime I write a script and use some object/function/method (I don't know how to call it exactly) it says "Error: This line does not contain a recognized action." E.g. ImageSearch.
btw nice videos they are really interesting and well made :)
Check out the 5th video on this page: the-automator.com/autohotkey/autohotkey-functions/ it shows how you can use #Include commands as well as putting them in your library. On this page you can find a reference to my version of the findText function the-automator.com/find-and-click-image-send-text-to-it/
I had put the findtext() function in my default library so I didn't need to use the #Include command.
yes cause findtext() is a selfmade function, but the ImageSearch e.g. is even included in helpfile of AHK, that's why I dont get why it doesn't work. Maybe I installed AHK it wrong? I think I didn't install it at all. I just unziped the file which I downloaded from autohotkey.com and started scripting :/ I'm rly confused
oh- sorry, I didn't realized you were asking about ImageSearch (I think of them as the same concept). I don't use ImageSearch but, if it is a built in command, you are correct in that you don't need to reference it. Did you strip out everything else out of your script to make sure it was the issue? You can write me directly at Joe@the-Automator.com and I will review...
Unfortunately I deleted the old script out of frustration. I reinstalled ahk and installed SciTE4AutoHotkey and now it works. but thanks for your offer and fast answers :)
Hi, congratulations for the video, I wanted to ask you a question since you are a master at what you do, do you think it is possible to click a specific position of a window, even if it is minimized? I would like to press a specific key and that key pretends to press the left mouse button to apply a check to a specific program
I don't understand the question. if a window is "minimized" it doesn't actually exist. Windows doesn't track it (to free up memory) so you probalby can't do anything with positions.
hello can you help me The script I want to make is locked to the selected photo when I right click and hold the mouse, and it will be fixed on the photo. can you write this script code to me :)
and let it be in a continuous loop
Sorry, I don't write scripts for people. I teach people how to do the work themselves. If you want someone to write something for you I recommend trying the Facebook group facebook.com/groups/AHK.Automation or AutoHotkey forum
Hey Joe!
Is there a way to find and click an image on my other monitor. The ImageSearch/FindText functions work on my primary monitor but not my other monitor.
Thanks for your videos!
Hi Joe, I'd consider using FindText() You can see an example how I use it here: the-automator.com/find-and-click-image-send-text-to-it/ Just note that the version I use in that example isn't the most current one. Having said that, I do believe you can force ImageSearch to search across all windows. I don't know how as I don't use it but I'll bet searching the forum will lend something.
Thank you so much !! your videos are so helpful!!
Btw, Can I send text once the image found and delay for a few seconds then send enter key?
and How can I do that...
;~ SendInput , %Text%
SendInput , ^v
Sleep 5000
if (Enter=1)
SendInput , {Enter}
if (Move_Back){
Sleep, 30
MouseMove, %Orig_X%,%Orig_Y%
}
}
Am I correct? Please let me know
I don't use FindText any more. I use Automate my Task : the-automator.com/AmT
@@JoeGlines-Automator awesome! Tysm
Great video like always!! maybe in the next tutorial you can show me how to make a loop that will search for multiple?
I'm pretty swamped right now. I did see some posts on the forum how to use it, have you looked there? Here it has been updated in 5.3 to accommodate multiple images autohotkey.com/boards/viewtopic.php?f=6&t=17834&p=173210&hilit=multiple#p173210
Thnx man! I found it.
Another Question: Do you think It's possible to make a GUI that provides the STRING ( image ) ?
or is there something Im not aware of?
I'm having this Idea for a sweet piece of software where you can activate multiple searches with checkboxes and the Strings placed in Editboxes.
If you know what i mean ^^
I haven't studied that part of the code but, since it is shown in the tool, the text of the string should be available from within the function. You'd just have to pipe that to a gui...
I'm having issues with the hotstrings not populating. Any ideas?
Also, your version of 'FindText' is saved in my AutoHotKey folder but will not open with my Scite4. Any ideas why? feiyue's opens though for some reason
Well I'd need to no more about it. Do they work in some programs and not others? Try and launch the script as an admin and see if that fixes things. You can also change the Send Mode autohotkey.com/docs/commands/SendMode.htm
@Joe Glines It's been sorted out my friend! Thanks for all the info! Day 4 of AHK and between yourself and Hellbent I've completed my first decent script. Only 400 lines but it's still going to save me tons of effort!
-Do you have any info or videos on Frame.# index/name/id ?
I also have Discord and an AutoHotKey forum account if that's easier than YT comments
This post talks about frames the-automator.com/web-scraping-with-autohotkey-104-frames/
I don't use Discord. emailing me at Joe@the-Automator.com is easiest
why my cursor is not moving?
I give up? Why isn't it moving?
ImageSearch, x, y, 0, 0, 1920, 1080, *50 C:\Users\gac3689\Pictures\AHK\AHK.png
if ErrorLevel = 0
{
Click, (%x%), %y%
Sleep, 100
Click, %x%, %y%
}
return
Need your help on this, how to make it click on the center of the image? because right now it only click on left top corner...
Just do some math... I don't use ImageSearch. I'd use AutomateMyTask instead the-automator.com/AmT
Just do some math. offset the x/y . Or use a tool like FindText or AutomateMyTask the-automator.com/AmT
Is there an option to get this working?
start
if i find img1 than click it and try to find img2 and click it too
if img1 not found, goto start
if img2 not found, goto start
Everything works fine except for the 2nd image(barrel). Even the img is there, the script wont find it. And yes i tested it, it finds the 2nd image if i start searching the 2nd image first.
i dont have any clue where to start.
pastebin.com/ibLrryNp
Take a look at the newer version of the function on the AutoHotkey forum. I think they incorporated this. You could simply do what you want by adding logic to your original one using an or statement.
Learning to work with the software to automatically click on images.Learning to work with the software to automatically click on images
Link to vid goes to edit video feature
Thanks for letting me know. I've updated it.