Jump to content

MSN auto msg


James
 Share

Recommended Posts

Im making an auto replier, but for some reason it doesnt want to activate a minimized window.

;--------------------------------------
;
; Name: MSN Reply
; Author: Touch en Stride
;
;--------------------------------------

$away = "I am away at the moment, I will be back shortly." ; What to Send

WinActivate("- Conversation")
Send($away)

It doesnt want to work though ;)

Link to comment
Share on other sites

  • Developers

Im making an auto replier, but for some reason it doesnt want to activate a minimized window.

;--------------------------------------
;
; Name: MSN Reply
; Author: Touch en Stride
;
;--------------------------------------

$away = "I am away at the moment, I will be back shortly." ; What to Send

WinActivate("- Conversation")
Send($away)

It doesnt want to work though ;)

Opt("WinTitleMatchMode", 2) ;1=start, 2=subStr, 3=exact, 4=advanced

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

  • Developers

JdeB: I don't know where I put that one.

Have you even tried to look it up before typing your reply ?

... But let me ask the question anyways... : What do you think: Before or After the WinActivate? ;)

Edited by JdeB

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

i fixed the code for you

While 1
$Gesprek = "hi iam not there"
Opt("WinTitleMatchMode", 2)
If WinExists("- Gesprek")Then
    WinActivate("- Conversation")
    ControlSend("- Conversation", "", "DirectUIHWND1", $Gesprek&"{ENTER}{ESC}")
EndIf
WEnd
Edited by realkiller
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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