Jump to content

help with INetSmtpMail


Recommended Posts

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

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

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

  • Moderators

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. :naughty:

See you soon with a legitimate question I hope. :)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...