need help w/ autoit

Anything else. Post a funny site or tell us about yourself. Discuss current events or whatever else you want. Post off topic threads here.
Post Reply
User avatar
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

Post by user »

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?
Last edited by user on Sat Nov 01, 2008 6:37 am, edited 5 times in total.

User avatar
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

Post by iGod »

How pointless is that? :S like something will happen if you pull it out

User avatar
-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

Post by -Evan »

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

User avatar
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

Post by user »

bump

User avatar
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

Post by NuclearSilo »

not useful at all, i just have to click the icon in the tray bar... :D
Playing Age of Wushu, dota IMBA

User avatar
CloudStrider
Advanced Member
Posts: 2125
Joined: Tue Jul 15, 2008 2:45 pm
Quick Reply: Yes
Location: Away

Re: [AutoIT] user's AutoIT thread

Post by CloudStrider »

Good AIT scripts are awesome.
penfold1992 wrote:durka durka muhammad gihad allah 10k plys. thats all i hear :S

Image Image
Mad props to Verfo for the sig, ty!

User avatar
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

Post by user »

NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar... :D

what the, i gotta like press stop, select the usb, press ok, [usb stops] close the menu

User avatar
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

Post by NuclearSilo »

user wrote:
NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar... :D

what the, i gotta like press stop, select the usb, press ok, [usb stops] close the menu

Hehe, then u are nub :P
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 avatar
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

Post by user »

NuclearSilo wrote:Hehe, then u are nub :P
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

Image

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.

User avatar
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

Post by NuclearSilo »

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

Post by user »

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

User avatar
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

Post by NuclearSilo »

what da ya mean "half" the usb? -_-
Playing Age of Wushu, dota IMBA

User avatar
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

Post by tedtwilliger »

NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar... :D


Task bar is disabled and the eject option isn't working. What are you gonna do then?

User avatar
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

Post by NuclearSilo »

tedtwilliger wrote:
NuclearSilo wrote:not useful at all, i just have to click the icon in the tray bar... :D


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

User avatar
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

Post by tedtwilliger »

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.

User avatar
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

Post by NuclearSilo »

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

User avatar
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

Post by user »

Image

User avatar
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

Post by NuclearSilo »

user wrote:Image

So how about whoever post a virus?
Playing Age of Wushu, dota IMBA

User avatar
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

Post by user »

NuclearSilo wrote:
user wrote:Image

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!?

User avatar
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

Post by NuclearSilo »

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.
Playing Age of Wushu, dota IMBA

User avatar
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

Post by XemnasXD »

i pull out while still in use all the time...no problems so far
Image Image
signatures by Hostage Co. <3
~PoP is DEAD! My sTyLe is Supa-Flat!!~

User avatar
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

Post by user »

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?

User avatar
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

Post by NuclearSilo »

Avast is the shitest. AVG > Avast
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 avatar
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

Post by user »

this is what i use to compile

SciTE4AutoIt3
Version 1.76
Jun 12 2008 09:52:15
by Neil Hodgson.
Updated: Valik & Jos

User avatar
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

Post by NuclearSilo »

Playing Age of Wushu, dota IMBA

User avatar
user
Veteran Member
Posts: 3053
Joined: Sun Dec 03, 2006 11:28 pm
Quick Reply: Yes
Location: A place far far away

Re: need help w/ autoit

Post by user »

bump

Post Reply

Return to “Off Topic Lounge”