FireFox Posted June 16, 2013 Share Posted June 16, 2013 (edited) The numbers i posted are not the same as the ones in the website. I just made those to illustrate. The one in the website is a flash file.And what's the problem with that? Make the images with the digits yourself.I've done the job for you, WHATEVER. Edited June 16, 2013 by FireFox Link to comment Share on other sites More sharing options...
istorage Posted June 16, 2013 Author Share Posted June 16, 2013 And what's the problem with that? Make the images with the digits yourself. I've done the job for you, WHATEVER. Thanks for the script. It does work but not to a flash file image. Link to comment Share on other sites More sharing options...
istorage Posted June 16, 2013 Author Share Posted June 16, 2013 I had this problem when I tried to use imagesearch on window related mode, and the target control were the flash frame itself. Try searching the whole screen instead, and see if that works. Thanks for pointing that out. I tried your suggestion but still does not work. Link to comment Share on other sites More sharing options...
FireFox Posted June 16, 2013 Share Posted June 16, 2013 We can't help you further in that case. You are giving something similar that might do the trick, and here it's not working.It's like asking how to make a car but in the end you want a motorbike. Link to comment Share on other sites More sharing options...
istorage Posted June 16, 2013 Author Share Posted June 16, 2013 (edited) We can't help you further in that case. You are giving something similar that might do the trick, and here it's not working. It's like asking how to make a car but in the end you want a motorbike. Sorry if i have confused you with my questions but i did tell in my first post till my last one that it is for a flash file or image and not a static jpeg, png or bmp image. Edited June 16, 2013 by istorage Link to comment Share on other sites More sharing options...
Aarstad Posted June 16, 2013 Share Posted June 16, 2013 (edited) This may or may not be allowed to discuss, so please delete my post if its against the forum rules. I however, have tried a software called macro generator over at the autohotkey forum. With that software you have the ability to easily capture images and make screenshots that you want it to search for, by pressing f6 to load the image search window. The code output is designed for autohotkey and it looks like complete rubbish compared to autoit, but it will get the job done. I tried it myself on a flash file, following this rotation on the script: 1. launch browser from script (internet explorer). 2. imagesearch, right click the frame of the internet explorer window the script opened, then make a screenshot of the flash window. It is very easy to set up, and the work flow is great. However, since the button change as you hover over it in the flash file, you will have to set the options in the configuration to not capture input on release of the right mouse button, but for when you press enter. When you have marked the button, move your mouse away and press enter. Now it has stored a picture of the button to search for. Now if someone could create a similar application for autoit, I would send a personal letter with hugs and kisses. Edited June 16, 2013 by Aarstad Link to comment Share on other sites More sharing options...
michaelslamet Posted June 16, 2013 Share Posted June 16, 2013 This may or may not be allowed to discuss, so please delete my post if its against the forum rules. I however, have tried a software called macro generator over at the autohotkey forum. With that software you have the ability to easily capture images and make screenshots that you want it to search for, by pressing f6 to load the image search window. The code output is designed for autohotkey and it looks like complete rubbish compared to autoit, but it will get the job done. I tried it myself on a flash file, following this rotation on the script: 1. launch browser from script (internet explorer). 2. imagesearch, right click the frame of the internet explorer window the script opened, then make a screenshot of the flash window. It is very easy to set up, and the work flow is great. However, since the button change as you hover over it in the flash file, you will have to set the options in the configuration to not capture input on release of the right mouse button, but for when you press enter. When you have marked the button, move your mouse away and press enter. Now it has stored a picture of the button to search for. Now if someone could create a similar application for autoit, I would send a personal letter with hugs and kisses. Aarstad, Is it "macro generator" or "macro creator"? Link to comment Share on other sites More sharing options...
FireFox Posted June 16, 2013 Share Posted June 16, 2013 that it is for a flash file or image and not a static jpeg, png or bmp image.How do you think I made the images? Make a screenshot and cut each digit to make static images.Or you are telling us that there is an effect on the numbers so it's not possible to make a static image of them?Br, FireFox. ssnake 1 Link to comment Share on other sites More sharing options...
istorage Posted June 17, 2013 Author Share Posted June 17, 2013 How do you think I made the images? Make a screenshot and cut each digit to make static images. Or you are telling us that there is an effect on the numbers so it's not possible to make a static image of them? Br, FireFox. I made a screenshot so i can make static images then cut the numbers but when i run the script and the flash file is open it can not detect the numbers. Thats why i ask how will i make a script which captures the screen first (in my case the flash file) and the script will use the static image captured not the flash file so it can detect where the numbers are located. This process is done every number input since the flash file randomizes where the numbers are. Plus the numbers may have some effect on it (glossy effect). Link to comment Share on other sites More sharing options...
FireFox Posted June 17, 2013 Share Posted June 17, 2013 (edited) You can not generate the digits with a screenshot, otherwise you will need an OCR (which never works).The example I provided automatically clicks on the digits regardless their position on the screen.Br, FireFox. Edited June 17, 2013 by FireFox Link to comment Share on other sites More sharing options...
istorage Posted June 17, 2013 Author Share Posted June 17, 2013 This may or may not be allowed to discuss, so please delete my post if its against the forum rules. I however, have tried a software called macro generator over at the autohotkey forum. With that software you have the ability to easily capture images and make screenshots that you want it to search for, by pressing f6 to load the image search window. The code output is designed for autohotkey and it looks like complete rubbish compared to autoit, but it will get the job done. I tried it myself on a flash file, following this rotation on the script: 1. launch browser from script (internet explorer). 2. imagesearch, right click the frame of the internet explorer window the script opened, then make a screenshot of the flash window. It is very easy to set up, and the work flow is great. However, since the button change as you hover over it in the flash file, you will have to set the options in the configuration to not capture input on release of the right mouse button, but for when you press enter. When you have marked the button, move your mouse away and press enter. Now it has stored a picture of the button to search for. Now if someone could create a similar application for autoit, I would send a personal letter with hugs and kisses. Thanks for the info it is much appreciated but as much as possible i want the script to be done with autoit because aside from automating my work i do learn at the same time. Link to comment Share on other sites More sharing options...
Aarstad Posted June 18, 2013 Share Posted June 18, 2013 Aarstad, Is it "macro generator" or "macro creator"? My apologies. It is Pulovers Macro Creator, not generator. Thanks for the info it is much appreciated but as much as possible i want the script to be done with autoit because aside from automating my work i do learn at the same time. Sure thing. I was just letting you know that there is alternatives that does work. But I can totally see why you wouldn't want to use it, it's just that some of us aren't that strict on how to accomplish our goals through strict code. Programmers tend to dislike us. Now I am waiting for someone to create a functional macro creator like the one autohotkey has, so I may never have to look at ahk code again! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now