alex123 Posted July 18, 2013 Share Posted July 18, 2013 hi guys Noob here so take me easy , I have a script which searches for a certain colour at certain coordinates and I want to get an email when this happens. Problem is I don't know how to do it , I have gmail and yahoo accounts. Here's the important part in the script. While 1 Sleep(100) $coord = PixelSearch( 165, 167, 169, 171, 0x952b2c ) ;Alb If Not @error Then Sleep(100) $coord = PixelSearch( 165, 167, 169, 171, 0x952b2c ) ;Alb If Not @error Then SoundPlay(@WindowsDir & "\media\notify1.wav", 0) Sleep(500) SoundPlay(@WindowsDir & "\media\tada1.wav", 0) Sleep(1000) EndIf EndIf Link to comment Share on other sites More sharing options...
PhoenixXL Posted July 18, 2013 Share Posted July 18, 2013 Welcome to the Forum Alex, I have a script which searches for a certain colour at certain coordinates and I want to get an email when this happens. What is the relation b/w the color and the e-mail address that you are trying to receive? Please be little more specific for getting more and more help Regards My code: PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners. MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression. Link to comment Share on other sites More sharing options...
alex123 Posted July 18, 2013 Author Share Posted July 18, 2013 Thanks for answering. Basically this script is an alert of an incoming attack for a online game me and some friends are playing . It searches for that colour code at those coordinates and for the moment it's only an alarm with sound but it would be useful to get emailed when I am AFK because I have mail2sms from my carrier , I think you get the picture. So what do you think , can you help me out? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 18, 2013 Moderators Share Posted July 18, 2013 alex123,Unfortunately you appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts