Sign in to follow this  
Followers 0
James

MSN auto msg

12 posts in this topic

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 ;)

Share this post


Link to post
Share on other sites



You could use WinSetState with @SW_RESTORE.

Share this post


Link to post
Share on other sites

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hmm,

Joon: That doesnt activate the right window.

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

Typically, Opt goes on the top of your script.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

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

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

If WinExists("- Conversation") Then ...


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
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
Sign in to follow this  
Followers 0