Page 1 of 1

need help w/ autoit

Posted: Mon Sep 08, 2008 3:40 am
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?

Re: [AutoIT] user's AutoIT thread

Posted: Mon Sep 08, 2008 10:45 am
by iGod
How pointless is that? :S like something will happen if you pull it out

Re: [AutoIT] user's AutoIT thread

Posted: Mon Sep 08, 2008 11:55 am
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

Re: [AutoIT] user's AutoIT thread

Posted: Tue Sep 09, 2008 1:09 am
by user
bump

Re: [AutoIT] user's AutoIT thread

Posted: Tue Sep 09, 2008 11:12 am
by NuclearSilo
not useful at all, i just have to click the icon in the tray bar... :D

Re: [AutoIT] user's AutoIT thread

Posted: Tue Sep 09, 2008 11:16 am
by CloudStrider
Good AIT scripts are awesome.

Re: [AutoIT] user's AutoIT thread

Posted: Wed Sep 10, 2008 2:32 am
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

Re: [AutoIT] user's AutoIT thread

Posted: Thu Sep 11, 2008 12:01 pm
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.

Re: [AutoIT] user's AutoIT thread

Posted: Thu Sep 11, 2008 4:49 pm
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

Re: [AutoIT] user's AutoIT thread

Posted: Thu Sep 11, 2008 10:26 pm
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

Re: [AutoIT] user's AutoIT thread

Posted: Thu Sep 11, 2008 10:56 pm
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

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 7:58 am
by NuclearSilo
what da ya mean "half" the usb? -_-

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 9:04 am
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?

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 9:08 am
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?

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 9:12 am
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.

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 10:18 am
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?

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 2:16 pm
by user
Image

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 2:49 pm
by NuclearSilo
user wrote:Image

So how about whoever post a virus?

Re: [AutoIT] user's AutoIT thread

Posted: Fri Sep 12, 2008 11:32 pm
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!?

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 3:13 pm
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.

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 3:14 pm
by XemnasXD
i pull out while still in use all the time...no problems so far

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 3:57 pm
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?

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 4:17 pm
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.

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 6:12 pm
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

Re: [AutoIT] user's AutoIT thread

Posted: Sat Sep 13, 2008 6:34 pm
by NuclearSilo

Re: need help w/ autoit

Posted: Sat Nov 01, 2008 6:50 am
by user
bump