• Welcome to Valhalla Legends Archive.
 

AIM Api calls

Started by CrAz3D, October 21, 2003, 11:25 PM

Previous topic - Next topic

CrAz3D

I cannot seem to be able to get the correct id for opening a blank IM window.  Can anyone help?

(I can place info into the username box, the content box & hit send I just need to open the window to begin with.)
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

CupHead

AppActivate "ScreenName's Buddy List Window"
SendKeys "{ALT}+I"

CrAz3D

I'm trying to figure out how to window a specific user's IM Window.  So far I can only get their handle #, not the text of it.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

CupHead

Why are you even doing this to begin with?

CrAz3D

I'm trying to make a command for my bot, i.e. `aim {person} {message}

I don't want to make an entire AIM client, just be able to send messages to AIM like Winamp.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

CupHead

It's not API, but it works.

To open a new IM window:

AppActivate "ScreenName's Buddy List Window"
SendKeys "%i", True
SendKeys "+{TAB}ScreenName{TAB}", True
SendKeys "Text To Send~", True


To send a message in an existing window:

AppActivate "Screen Name - Instant Message"
SendKeys "Text To Send~", True


To get someone's info:

AppActivate "Screen Name's Buddy List Window"
SendKeys "%o"
SendKeys "+{TAB}Screen Name~"

CrAz3D

It works!
http://crazedmind.net/doombot/1.gif
http://crazedmind.net/doombot/2.gif

Case "newaim"
           msg = Split(pA(1), " ", 2)
               AppActivate frmOptions.txtAIMName.text & "'s Buddy List Window", False
               SendKeys "%i" & msg(0), False
               SendKeys "{TAB}", False
               SendKeys msg(1), False
               SendKeys "%s", False
       Case "aim"
           msg = Split(pA(1), " ", 2)
           'AddChat vbRed, MSG(0)
               AppActivate msg(0) & " - Instant Message", False
           'AddChat vbRed, MSG(1)
               SendKeys msg(1), False
               SendKeys "%s", False



EXTREME Thanks to CupHead for learnin me them SendKeys functions.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Tuberload

QuoteEXTREME Thanks to CupHead for learnin me them SendKeys functions.

you mean, for teaching you those SendKey functions?
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

CrAz3D

Yes, I was just in my native language mode, I am a hickonite.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

SiMi

ahaha on the second picture you can see that the aim sn is o0oForgeDo0o. It says it where it says o0oForgeDo0o's Warning Level :0% .

CrAz3D

Oops?  Oh well, I at least tried, can't blame me for being tired & excited & 'minimalistic' all at the same time.

Minimalistic is a word a friend changed the meaning of, it now replaces rebundancy.
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...