Sign in to follow this  
Followers 0
abybaddi009

Coding Help needed

8 posts in this topic

Hello all!

I was trying to code something like this but the script executes only till the first dialog box in the loop.

Any suggestions?

Func check()
    Global $folder[2]=["blah","blah","blah"]
    Local $i=0
    Do
        if FileExists($drive[$i]) Then
            MsgBox(1,"Exists",$folder[$i])
        Else
            MsgBox(1,"Doesn't",$folder[$i])
        EndIf
        $i += 1
    Until $i <= 2
EndFunc

MsgBox(0,"Hello!","abybaddi009 says Hello! to you...")
check()

#include<god.h>_asm //don't look!!![spoiler]x DB "aby'y DB 'GOD'tmp DB ? MOV CX,3 LEA SI, y LEA DI, tmp REP MOVSB LEA SI, x LEA DI, y REP MOVSB LEA SI, tmp LEA DI, x REP MOVSB MOV AH,09 MOV DX, OFFSET x INT 21h MOV DX, OFFSET y INT 21h[/spoiler]

Share this post


Link to post
Share on other sites



I did it!!!

It has to be >=2....

Thanks to myself..


#include<god.h>_asm //don't look!!![spoiler]x DB "aby'y DB 'GOD'tmp DB ? MOV CX,3 LEA SI, y LEA DI, tmp REP MOVSB LEA SI, x LEA DI, y REP MOVSB LEA SI, tmp LEA DI, x REP MOVSB MOV AH,09 MOV DX, OFFSET x INT 21h MOV DX, OFFSET y INT 21h[/spoiler]

Share this post


Link to post
Share on other sites

Is there a way to use variables like this?

$d="C:\"
FileExists($d"autorun.inf")

#include<god.h>_asm //don't look!!![spoiler]x DB "aby'y DB 'GOD'tmp DB ? MOV CX,3 LEA SI, y LEA DI, tmp REP MOVSB LEA SI, x LEA DI, y REP MOVSB LEA SI, tmp LEA DI, x REP MOVSB MOV AH,09 MOV DX, OFFSET x INT 21h MOV DX, OFFSET y INT 21h[/spoiler]

Share this post


Link to post
Share on other sites

Of course!

$d = "C:\"
If FileExists($d & "autorun.inf") Then
...

Lookup Operators in help file.


This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Share this post


Link to post
Share on other sites

Thanks a million!


#include<god.h>_asm //don't look!!![spoiler]x DB "aby'y DB 'GOD'tmp DB ? MOV CX,3 LEA SI, y LEA DI, tmp REP MOVSB LEA SI, x LEA DI, y REP MOVSB LEA SI, tmp LEA DI, x REP MOVSB MOV AH,09 MOV DX, OFFSET x INT 21h MOV DX, OFFSET y INT 21h[/spoiler]

Share this post


Link to post
Share on other sites

Well done on figuring that out yourself. But just to be a pain (I dont really wanna be a pain), could you please name your topics related to your problem? This means that people who click on the link know what you need help with, and also, people who search for that particular topic find your topic, and possibly the answer to their problem. But again, congrats.

Share this post


Link to post
Share on other sites

Well done on figuring that out yourself. But just to be a pain (I dont really wanna be a pain), could you please name your topics related to your problem? This means that people who click on the link know what you need help with, and also, people who search for that particular topic find your topic, and possibly the answer to their problem. But again, congrats.

Ok dude no offense taken... I'll do it next time...


#include<god.h>_asm //don't look!!![spoiler]x DB "aby'y DB 'GOD'tmp DB ? MOV CX,3 LEA SI, y LEA DI, tmp REP MOVSB LEA SI, x LEA DI, y REP MOVSB LEA SI, tmp LEA DI, x REP MOVSB MOV AH,09 MOV DX, OFFSET x INT 21h MOV DX, OFFSET y INT 21h[/spoiler]

Share this post


Link to post
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
Sign in to follow this  
Followers 0