Jump to content

Help with a noobie


Recommended Posts

hmmm off the top of my head for and IE example. There are better ways but...

while 1
if Winactive("AutoIt Forums","") then
send("^f")
winwaitactive("Find")
send("v3 Support{enter}")
sleep(1000)
send("{esc 2}")
sleep(1000)
send("^c")
  if clipget()="v3 Support" then
  send("+{tab}{enter}")
  exitloop
  endif
endif
sleep(1000)
wend

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

I don't use AoL Instant Messenger. Might be able to use a WindowGetText() and search that string for the name. Not sure if you would click it, or if you would be better off with a key sending approach.

Someone else who uses Aim might be better.

besides it is a bit late for me to think :)

edit. dang tired and seem to misstype more often

Edited by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

Something like this might work for you....

1) Create a file names "C:\AimAutoIt.html" that contains the following text

<HTML>
<BODY>
<META HTTP-EQUIV="refresh"
CONTENT=4;URL=aim:goim?screenname=mybuddy&message=buch_of_stuff_here>
</BODY>
</HTML>

2) Create an AutoIt script that contains the following:

Run("C:\Program Files\Internet Explorer\iexplore.exe C:\AimAutoIt.html", "", @SW_MINIMIZE)
Opt("WinTitleMatchMode", 2);match any partial title text
WinWait("Instant Message");should be in title of AIM window
WinClose("C:\AimAutoIt.html - Microsoft Internet Explorer");close that IE window

You could even write an AutoIt script to generate the HTML file for you....

Information based on

http://jessicarae.tripod.com/comp/aimlinks.html

http://www.imhut.com/aimtricks/aimcodes.php

http://www.securityfocus.com/archive/1/282443

Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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...