need help w/ autoit
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
need help w/ autoit
autopot for ecsro is not working for my laptop, it just doesn't pot me not matter what i do
so i down to writting my own autopot, this is what i got so far
$demo=1
While $demo=1
WinWaitActive("SRO_Client")
$coor=PixelSearch(175, 35, 179, 42, 0xFC001C, 0, 1)
If @error=0 Then
Sleep(500)
TrayTip("HP", "good", 5000, 3)
Else
Send("9")
TrayTip("HP", "bad", 5000, 3)
EndIf
$coor=PixelSearch(175, 52, 179, 59, 0x1F3A99, 0, 1)
If @error=0 Then
Sleep(500)
TrayTip("MP", "good", 5000, 3)
Else
Send("0")
TrayTip("MP", "bad", 5000, 3)
EndIf
WEnd
it detects whether i need mp or hp, but it doesn't press the shortcut keys (0 or 9 in this case)
why is this?
so i down to writting my own autopot, this is what i got so far
$demo=1
While $demo=1
WinWaitActive("SRO_Client")
$coor=PixelSearch(175, 35, 179, 42, 0xFC001C, 0, 1)
If @error=0 Then
Sleep(500)
TrayTip("HP", "good", 5000, 3)
Else
Send("9")
TrayTip("HP", "bad", 5000, 3)
EndIf
$coor=PixelSearch(175, 52, 179, 59, 0x1F3A99, 0, 1)
If @error=0 Then
Sleep(500)
TrayTip("MP", "good", 5000, 3)
Else
Send("0")
TrayTip("MP", "bad", 5000, 3)
EndIf
WEnd
it detects whether i need mp or hp, but it doesn't press the shortcut keys (0 or 9 in this case)
why is this?
Last edited by user on Sat Nov 01, 2008 6:37 am, edited 5 times in total.
- iGod
- Veteran Member
- Posts: 3728
- Joined: Wed Oct 11, 2006 11:22 pm
- Quick Reply: Yes
- Location: Off Topic
Re: [AutoIT] user's AutoIT thread
How pointless is that? :S like something will happen if you pull it out
- -Evan
- Frequent Member
- Posts: 1415
- Joined: Sat Aug 04, 2007 5:43 am
- Quick Reply: Yes
- Location: Off-Topic
Re: [AutoIT] user's AutoIT thread
I made one which handles my rapidshare/megaupload downloads while I'm on school... but now I clueless on how to make a basic script. lol
hurr durr
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
not useful at all, i just have to click the icon in the tray bar... 
Playing Age of Wushu, dota IMBA
- CloudStrider
- Advanced Member
- Posts: 2125
- Joined: Tue Jul 15, 2008 2:45 pm
- Quick Reply: Yes
- Location: Away
Re: [AutoIT] user's AutoIT thread
Good AIT scripts are awesome.
penfold1992 wrote:durka durka muhammad gihad allah 10k plys. thats all i hear :S

Mad props to Verfo for the sig, ty!
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar...
what the, i gotta like press stop, select the usb, press ok, [usb stops] close the menu
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
user wrote:NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar...
what the, i gotta like press stop, select the usb, press ok, [usb stops] close the menu
Hehe, then u are nub
U just have to left-click the usb icon in tray bar, and left click again.
Take only 2 clicks and 1 sec.
Playing Age of Wushu, dota IMBA
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
NuclearSilo wrote:Hehe, then u are nub![]()
U just have to left-click the usb icon in tray bar, and left click again.
Take only 2 clicks and 1 sec.
what os you using? here is what i get if i left clicks on the usb tray icon

left clicking only focuses that window over and over again
Last edited by user on Thu Sep 11, 2008 10:56 pm, edited 1 time in total.
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
user wrote:[
XP SP2
The first left click poped up a tooltip exact the same as right click. But the second click will close the usb and show the message "safe to remove..." instead of opening the window like yours
Playing Age of Wushu, dota IMBA
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
NuclearSilo wrote:user wrote:[
XP SP2
The first left click poped up a tooltip exact the same as right click. But the second click will close the usb and show the message "safe to remove..." instead of opening the window like yours
i got the safe to remove, but it doesn't half my usb
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
what da ya mean "half" the usb? -_-
Playing Age of Wushu, dota IMBA
- tedtwilliger
- Veteran Member
- Posts: 3657
- Joined: Thu Apr 27, 2006 10:18 pm
- Quick Reply: Yes
- Location: MrTwilligers skin
- Contact:
Re: [AutoIT] user's AutoIT thread
NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar...
Task bar is disabled and the eject option isn't working. What are you gonna do then?
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
tedtwilliger wrote:NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar...
Task bar is disabled and the eject option isn't working. What are you gonna do then?
stupid question, why dont u also ask if the electricity is cut, or keyboard and mouse is disabled?
Playing Age of Wushu, dota IMBA
- tedtwilliger
- Veteran Member
- Posts: 3657
- Joined: Thu Apr 27, 2006 10:18 pm
- Quick Reply: Yes
- Location: MrTwilligers skin
- Contact:
Re: [AutoIT] user's AutoIT thread
Because when on tafe/ some universities / some school computers the task bar is disabled and access to certain drives and devices is restricted. Its a viable situation.
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
tedtwilliger wrote:Because when on tafe/ some universities / some school computers the task bar is disabled and access to certain drives and devices is restricted. Its a viable situation.
The script doesnt use any internal modification. What it does is simply click and enter. So if there is no tray bar, the script is useless.
Moreoever, the script contains trojans and virus. Normally, with only using clicking mouse function, autoit wont generate any false alarm.
http://www.virustotal.com/fr/analisis/9 ... 38a234b022
Mind to post the source code?
Playing Age of Wushu, dota IMBA
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
user wrote:
So how about whoever post a virus?
Playing Age of Wushu, dota IMBA
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
NuclearSilo wrote:user wrote:
So how about whoever post a virus?
how the hell is this:
Source:
;Automated action for disabling USB drive before removal
Sleep(1500) ;allows user to close the USB drive window
$USB=PixelSearch(500, 678, 966, 763, 0x65CB33, 10, 2)
Select
Case @error=0
MouseClick("", $USB[0], $USB[1], 2, 0)
Sleep(100)
WinWaitActive("Safely Remove Hardware")
Sleep(100)
Send("!s")
WinWaitActive("Stop a Hardware device")
Sleep(100)
Send("{ENTER}")
WinWaitActive("Safely Remove Hardware")
Sleep(100)
Send("!c")
Case Else
TrayTip("[TRAP TIP CLEARED]","",0)
TrayTip("Cannot find USB icon", "Try eliminating some icons.", 5000, 3)
Sleep(5000)
EndSelect
a virus!?
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
Compiled, scanned, got a different result: http://www.virustotal.com/fr/analisis/4 ... 9a3eeb2582
Explain?
Unless your pc had virus then infected the one u compiled.
Explain?
Unless your pc had virus then infected the one u compiled.
Playing Age of Wushu, dota IMBA
- XemnasXD
- Chronicle Writer
- Posts: 9841
- Joined: Thu Jan 25, 2007 1:20 am
- Quick Reply: Yes
- Location: US - Illidan
Re: [AutoIT] user's AutoIT thread
i pull out while still in use all the time...no problems so far

signatures by Hostage Co. <3
~PoP is DEAD! My sTyLe is Supa-Flat!!~
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
i compiled a new .exe and scanned
"new" result - http://www.virustotal.com/analisis/9e35 ... e8d4ea6fcd
"old" result - http://www.virustotal.com/analisis/923f ... 38a234b022
both 3/36
oh sht.... is avg better than avast? anyone know? i am using avast right now.
is there a way to compare 2 files' file structure?
"new" result - http://www.virustotal.com/analisis/9e35 ... e8d4ea6fcd
"old" result - http://www.virustotal.com/analisis/923f ... 38a234b022
both 3/36
oh sht.... is avg better than avast? anyone know? i am using avast right now.
is there a way to compare 2 files' file structure?
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
Avast is the shitest. AVG > Avast
Once, i got many viruses with Avast then i changed to Kaspersky
recompiled and scanned again, still different result: http://www.virustotal.com/fr/analisis/f ... b894194a76
There must be smt wrong with your compilation.
MD5 checksum. But it changes everytime u recompile it.
Once, i got many viruses with Avast then i changed to Kaspersky
user wrote:i compiled a new .exe and scanned
"new" result - http://www.virustotal.com/analisis/9e35 ... e8d4ea6fcd
"old" result - http://www.virustotal.com/analisis/923f ... 38a234b022
both 3/36
recompiled and scanned again, still different result: http://www.virustotal.com/fr/analisis/f ... b894194a76
There must be smt wrong with your compilation.
user wrote:is there a way to compare 2 files' file structure?
MD5 checksum. But it changes everytime u recompile it.
Playing Age of Wushu, dota IMBA
- user
- Veteran Member
- Posts: 3053
- Joined: Sun Dec 03, 2006 11:28 pm
- Quick Reply: Yes
- Location: A place far far away
Re: [AutoIT] user's AutoIT thread
this is what i use to compile
SciTE4AutoIt3
Version 1.76
Jun 12 2008 09:52:15
by Neil Hodgson.
Updated: Valik & Jos
SciTE4AutoIt3
Version 1.76
Jun 12 2008 09:52:15
by Neil Hodgson.
Updated: Valik & Jos
- NuclearSilo
- Forum God
- Posts: 8834
- Joined: Mon Aug 21, 2006 12:00 pm
- Quick Reply: Yes
- Location: Age of Wushu
Re: [AutoIT] user's AutoIT thread
That's SCITE not Autoit...
http://www.virustotal.com/fr/analisis/0 ... 7391c714ff
DL safe one here http://www.mediafire.com/?sharekey=e620 ... b9a8902bda
http://www.virustotal.com/fr/analisis/0 ... 7391c714ff
DL safe one here http://www.mediafire.com/?sharekey=e620 ... b9a8902bda
Playing Age of Wushu, dota IMBA
