IsmokeIdrank Posted August 11, 2012 Share Posted August 11, 2012 As I'm getting more use to using autoit and enjoying practicing and learning new things I thought I'd ask friends to give me some ideas for things they could possibly need automated but then I realized that I'm unsure if that would even work. At this time I seem to use a lot of pixelsearch to make sure the program isn't just wildly clicking with random timers and it works out great, but if I was to make something for someone else and they had a different resolution or possibly because I have adblock then some websites may be positioned slightly different to me such as hotmail, forums, etc. So I'm curious if there is some kind of work-around to all this or if there's a command that would be much more accurate than pixelsearch, or if I'm just going to have to ask for their monitor resolution and use it while I make their script. Of course this is only a problem if mouseclicks are involved but I am curious none the less. Link to comment Share on other sites More sharing options...
water Posted August 11, 2012 Share Posted August 11, 2012 Try to write scripts independant of monitor resolutions! How to do this depends on the task you try to automate. There are many UDFs (User Defined Functions) available with AutoIt or on the forum which will help you. Give us an example on what you try to do and we can point you into the right direction. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
GEOSoft Posted August 11, 2012 Share Posted August 11, 2012 Hint: See @DesktopWidth & @DesktopHeight in the help file under Macros. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
IsmokeIdrank Posted August 11, 2012 Author Share Posted August 11, 2012 Well my friend is a sales manager at a store and is constantly receiving sales reports so he asked me if I could do something along of lines of, watching his hotmail account and any time it spots an email with his work's name (I guess they all have the subject as the name of the store?) that it would take that email and push it into a folder for him so he can easily get to them when he's away from his computer/phone. The idea is to keep this running constantly at home because he never turns his computer off anyways and apparently he gets quite a bit of emails and would rather not sift through it all. Link to comment Share on other sites More sharing options...
water Posted August 11, 2012 Share Posted August 11, 2012 Is he using the Internet Explorer to access his hotmail account or a mail client like Outlook? My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
IsmokeIdrank Posted August 11, 2012 Author Share Posted August 11, 2012 Is he using the Internet Explorer to access his hotmail account or a mail client like Outlook?most likely firefox or google chrome but I'm sure I can get him to just use IE for this, regardless, not using outlook. Link to comment Share on other sites More sharing options...
water Posted August 11, 2012 Share Posted August 11, 2012 Use the "Advanced Search" feature of this forum and search for "hotmail" in the thread title only. You will get a lot of hits that should you get started.Here is a link to the Haven't used it myself but maybe it gives you an idea how to do it for hotmail. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - 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