Jump to content

Recommended Posts

Posted

I tried moving the mouse to where the nudger was and making it click, but it moves the mouse away from it when it clicks on it. Is there like a command for the nudge? or another way, please help.

Posted

I tried moving the mouse to where the nudger was and making it click, but it moves the mouse away from it when it clicks on it. Is there like a command for the nudge? or another way, please help.

Instead of moving the mouse then clicking you could just use MouseClick


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Posted (edited)

I haven't used MSN Messenger in ages. Is this "nudger" a built-in, clickable feature, or are you coding a nudger? If you're coding it, why not use WinGetPos for it's width/height, and WinMove?

$win = WinGetPos( "MSN Messenger" ); Enter real values!
WinMove( "MSN Messenger", "", @DesktopWidth-$win[2]-10, @DesktopHeight-$win[3]-10-30 )
(The -30 is for the Windows Taskbar)

Edited by c0deWorm

My UDFs: ExitCodes

Posted

BigDod - I did use MouseClick, it goes and clicks first time and then moves way down.. it's weird.

c0deWorm - It's a new feature on MSN, came out in 7.0 I think.

Posted (edited)

You just need to set yourself to busy and then sent the nudge all you want. why do you need a script for that?....

1. Open msn

2. left click on location 15, 30 (in relation to your msn window)

3. move mouse to location 60, 100 (in relation to your msn window)

4. left click on location 250, 130 (in relation to your msn window)

there you go simple instruction to set yourself to buzy and to set back to normal on step 4

4. left click on location 250, 110 (in relation to your msn window)

Open chat window and spam nudge as much as you like.

WinMenuSelectItem <-- this command will help too (save up on mouse click)

Edited by BabyBeast
Posted

I know how to set to busy, I want it to auto send nudhe without clicking a bunch, my brother always sends me nudges and very annoying. I want to annoy him =)

  • Moderators
Posted (edited)

Opt("WintitleMatchMode", 4)
Opt("MouseCoordMode", 2)

Global $PAUSE
HotKeySet("{PAUSE}", "PAUSE"); USE THE PAUSE BUTTON TO STOP / PAUSE THE NUDGING
$MSN = WinGetTitle("classname=IMWindowClass"); USE THE CLASS TO GET THE WINDOW NAME
;EXAMPLE: (REMOVE THE ";" INFRONT OF MSGBOX TO SEE THE TITLE IT IS GOING TO NUDGE
;MSGBOX(0, "EXAMPLE TITLE", $MSN)

While 1
    If WinExists($MSN) Then
        If Not WinActive($MSN) Then WinActivate($MSN)
        WinMove($MSN, "", "", "", 636, 456); RESIZE THE WINDOW TO MATCH THE MOUSECLICK COORDS (WILL PUT MSN WINDOW TOP LEFT OF YOUR SCREEN)
        Sleep(100)
        MouseClick("Left", 381, 252, 1, 1)
    EndIf
    Sleep(1000)
WEnd

Func PAUSE()
    $PAUSE = NOT $PAUSE
    While $PAUSE
        Sleep(100)
        ToolTip("Paused",0,0)
    WEnd
    ToolTip("")
EndFunc

Edited by ronsrules

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Not sure how to work that? I ran it and didn't do anything. I read the notes but wasn't sure what to change to? Thanks though, and help me more if you can

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
  • Recently Browsing   0 members

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