UncleLouie909 Posted October 14, 2018 Share Posted October 14, 2018 (edited) <snip> When I run this function on Computer #1 it works flawlessly. However when I run the exact code on Computer #2 It is not finding the color even though it is defiantly there. I used Computer #1, #2 as names for my two computers. #1 is a laptop, #2 is an all-in-one desktop computer. Both run windows 10 x64 I am wondering why this code is not executing correctly on Comp #2. I already re-installed autoit, so I know that is not the problem. Do you think it has something to do with my computers settings? Thanks in advance for the help! Edited October 15, 2018 by JLogan3o13 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 14, 2018 Moderators Share Posted October 14, 2018 How is this any different than your previous post that was locked? --In case you didn't realize, this is a Mod stepping in to a thread-- UncleLouie909 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
UncleLouie909 Posted October 14, 2018 Author Share Posted October 14, 2018 (edited) I am not posting about a game this time. I am posting about a function I have a question on. This program is being used to open a browser and google something. I just like to learn man. On top of that, although I received replies last time, none of them helped me fix my problem. I appreciate your concern. Edited October 14, 2018 by UncleLouie909 Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 14, 2018 Moderators Share Posted October 14, 2018 (edited) It's funny how your code to "googling something" is the exact same as your code for the java game. If you are googling something, why not just use the IE functions or the Chrome UDF? Why on earth would you do something as silly as PixelSearch to Google something?* *Might I suggest making your next excuse at least somewhat plausible? Edited October 14, 2018 by JLogan3o13 UncleLouie909 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
UncleLouie909 Posted October 15, 2018 Author Share Posted October 15, 2018 The Fire Fox logo at the bottom of my Task bar needs to be clicked, The location of it is not always the same. If you don't want to help then fine. I find your accusations very unprofessional. I am still working to find myself a solution. Just to reiterate this is NOT for a game it is for my learning experience. Also I will look into those IE functions, I have never heard of them. I hope they don't only apply to Internet explorer because that is by far my least favorite browser. Link to comment Share on other sites More sharing options...
IAMK Posted October 15, 2018 Share Posted October 15, 2018 (edited) The FF or IE UDF can be used for opening a browser. Edited October 15, 2018 by IAMK Removed extra information. UncleLouie909 1 Link to comment Share on other sites More sharing options...
Developers Jos Posted October 15, 2018 Developers Share Posted October 15, 2018 (edited) @IAMK, Which part is unclear in this statement? 16 hours ago, JLogan3o13 said: -In case you didn't realize, this is a Mod stepping in to a thread-- So ..STAY OUT until the "All Clear" is given. Edited October 15, 2018 by Jos UncleLouie909 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 15, 2018 Moderators Share Posted October 15, 2018 @UncleLouie909, while @IAMK is extremely fortunate that Jos saw his intrusion before I did, he has a point. We have UDFs for IE, Chrome and FireFox, all of which are better suited to your needs than using PixelSearch - especially a PixelSearch which, coincidentally, works just the same on a Java game. I would suggest looking at those to accomplish what you're after. @IAMK as I stated, if Jos had not seen your response before I you would have earned a holiday from posting. We have said it numerous times, stay out of a thread in which a Moderator is determining legitimacy. We even put a tag in now when we respond to let people know we are involved; not sure what else we can do to help people engage the grey matter before posting. btw this is rhetorical, I have no desire to see you pollute the thread further with explanations. @All if you with to help the OP regarding the use of the FF UDF, or other means, please feel free. I have stripped what is obviously the same code as his attempt at game automation from the initial post. UncleLouie909, we are not going down that road. Accept help on automating the browser correctly if that is what you are truly after, or abandon the pretense; your choice. UncleLouie909 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
junkew Posted October 15, 2018 Share Posted October 15, 2018 First step is to read frequently asked questions from top to bottom although what you are looking for is in last 15 questions. UncleLouie909 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
UncleLouie909 Posted October 15, 2018 Author Share Posted October 15, 2018 Thank you for the help everyone, sorry for making such a commotion. I researched the FF commands and they are extremely useful! I no longer need the pixel search. Just to be clear with Mr. Moderator, I am just learning new languages. This is one of many. I started using it on games because I felt that is where other people used it. After realizing I was breaking the rule I had no problem moving away from games. I just like to code pointless programs while learning. Games, no games, I don't care. You can Lock this topic. Just here to learn o.O Link to comment Share on other sites More sharing options...
caramen Posted October 16, 2018 Share Posted October 16, 2018 I learned AutoIT on game when it was not forbiden yet. But....I understand the community. When you say Mr. Moderator. You hit us all; AutoIT + game automation = False positive virus. Even with good script. Anyway..AutoIT is far from the best way to automate video games. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki 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