Jump to content

Automate Trillian Message Sending


Recommended Posts

Hi!

After several months while I've not been online here but on http://www.autoit.de I have now a problem, I would like to look you at.

I have now two monitors. When I play on the first one, I put my ICQ conversions on the other one using Trililan. The problem is that the games are minimized as soon as the mouse is clicked to send a message. My idea was to set a hotkey for starting to write in Trillian. The problem is that I cannot access the Area where to write in.

Can you help?

My overall idea for the script:

; ICQInGame von peethebee 2006


; Start- und Endhotkey
HotKeySet("^f", "onoff")

Global $active = 0

While 1
    Sleep(20)
WEnd

Func onoff()
    If $active = 0 Then
        $active = 1
        HotKeySet("a", "write")
        HotKeySet("b", "write")
        HotKeySet("c", "write")
        HotKeySet("d", "write")
    Else
        $active = 0
        HotKeySet("a")
        HotKeySet("b")
        HotKeySet("c")
        HotKeySet("d")
    EndIf
EndFunc

Func write()
    $key = @HotKeyPressed   
    ControlSend("Friends", "", 5001, $key)
EndFunc

I already read this topic (http://www.autoitscript.com/forum/index.php?showtopic=14345) but it did not help me...

Thanks in advance,

peethebee

Edited by peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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