Sign in to follow this  
Followers 0
eagle4life69

Need help converting my bat files to autoit

17 posts in this topic

I just want to make sure it can be done, and not spend 6 months creating

here is the basic rundown of what my batch files do

asks user to input a number

confirms number correct

repeats these steps for 3 numbers

asks if more than 3 numbers

if more than 3 repeats first 2 steps

asks if 5 numbers if so repeats 1 and 2 again

then asks user for date (MMDDYY) [would love to have this automatic]

it then ftp files from our server every file we download is set up with a format of ubpbilp_(the number entered above)_dat

it then combines all the files into 1 file renames it to BP(MMDDYY).dat

thats step 1 if it would help I can post most of my batch file so everyone can see if it is possible.

Thanks for your help.

I have created a Streaming internet player for a site I'm part of but its been a while and need to get in the hang of things so any suggestions would be extremely appreciated

Share this post


Link to post
Share on other sites



I've only been using this software for a couple of weeks and it doesn't sound too bad to me. I would set a GUI up with 5 entries for your files and a place for the date. If you only need 3 files then just enter 3; if you need 5 then enter all 5. I whipped a quick GUI up for you, but it really doesn't do anything. You'll most likely keep using your DOS commands to do the FTP and the file concat. Take a look into the help file - it truly is your frend. Here is some code to get you started:

#region --- GuiBuilder code Start ---
; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$File_1 = GuiCtrlCreateInput("", 150, 40, 150, 20)
$File_2 = GuiCtrlCreateInput("", 150, 70, 150, 20)
$File_3 = GuiCtrlCreateInput("", 150, 100, 150, 20)
$File_4 = GuiCtrlCreateInput("", 150, 130, 150, 20)
$File_5 = GuiCtrlCreateInput("", 150, 160, 150, 20)
$Date = GuiCtrlCreateInput(@MON & "/" & @MDAY & "/" & @YEAR , 150, 190, 150, 20)
$OK = GuiCtrlCreateButton("OK", 140, 260, 90, 20)
$Label_8 = GuiCtrlCreateLabel("File1", 50, 40, 91, 20)
$Label_9 = GuiCtrlCreateLabel("File2", 50, 70, 101, 20)
$Label_10 = GuiCtrlCreateLabel("File3", 50, 100, 91, 20)
$Label_11 = GuiCtrlCreateLabel("File4", 50, 130, 91, 20)
$Label_12 = GuiCtrlCreateLabel("File5", 50, 160, 101, 20)
$Label_13 = GuiCtrlCreateLabel("Date", 50, 190, 101, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;
    EndSelect
WEnd
Exit
#endregion --- GuiBuilder generated code End ---

Share this post


Link to post
Share on other sites

Look at the built-in macros - keywords that start w/ @ , like @YEAR , @MON, @MDAY @OSVersion ,all sorts of goodies that are available to the au3 environment for your use.


Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Look at the built-in macros - keywords that start w/ @ , like @YEAR , @MON, @MDAY @OSVersion ,all sorts of goodies that are available to the au3 environment for your use.

though I can't figure out how to use a mmddyy format. it wants me to use a mmddyyyy format which I can't

also I like the basic script from above it makes for a great starting point. here is 1 more little thing. all the numbers are in order (ex. 121310,121311,121312) these would be my 3 numbers. and they are alway in arrow like that

Edited by eagle4life69

Share this post


Link to post
Share on other sites

though I can't figure out how to use a mmddyy format. it wants me to use a mmddyyyy format which I can't

@MON & @MDAY & StringRight(@YEAR,2)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I've only been using this software for a couple of weeks and it doesn't sound too bad to me. I would set a GUI up with 5 entries for your files and a place for the date. If you only need 3 files then just enter 3; if you need 5 then enter all 5. I whipped a quick GUI up for you, but it really doesn't do anything. You'll most likely keep using your DOS commands to do the FTP and the file concat. Take a look into the help file - it truly is your frend. Here is some code to get you started:

CODE

#region --- GuiBuilder code Start ---

; Script generated by AutoBuilder 0.6 Prototype

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 316,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$File_1 = GuiCtrlCreateInput("", 150, 40, 150, 20)

$File_2 = GuiCtrlCreateInput("", 150, 70, 150, 20)

$File_3 = GuiCtrlCreateInput("", 150, 100, 150, 20)

$File_4 = GuiCtrlCreateInput("", 150, 130, 150, 20)

$File_5 = GuiCtrlCreateInput("", 150, 160, 150, 20)

$Date = GuiCtrlCreateInput(@MON & "/" & @MDAY & "/" & @YEAR , 150, 190, 150, 20)

$OK = GuiCtrlCreateButton("OK", 140, 260, 90, 20)

$Label_8 = GuiCtrlCreateLabel("File1", 50, 40, 91, 20)

$Label_9 = GuiCtrlCreateLabel("File2", 50, 70, 101, 20)

$Label_10 = GuiCtrlCreateLabel("File3", 50, 100, 91, 20)

$Label_11 = GuiCtrlCreateLabel("File4", 50, 130, 91, 20)

$Label_12 = GuiCtrlCreateLabel("File5", 50, 160, 101, 20)

$Label_13 = GuiCtrlCreateLabel("Date", 50, 190, 101, 20)

GuiSetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case Else

;;;

EndSelect

WEnd

Exit

#endregion --- GuiBuilder generated code End ---

The thing I don't see here is any reading of the input controls. This example might help more:

#include <GuiConstants.au3>

GUICreate("Nightly Bill Run", 392, 316, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))

$File_1 = GUICtrlCreateInput("", 150, 40, 80, 20)
$File_2 = GUICtrlCreateInput("", 150, 70, 150, 20)
$File_3 = GUICtrlCreateInput("", 150, 100, 150, 20)
$File_4 = GUICtrlCreateInput("", 150, 130, 150, 20)
$File_5 = GUICtrlCreateInput("", 150, 160, 150, 20)
$Date = GUICtrlCreateLabel(@MON & @MDAY & StringRight(@YEAR, 2), 150, 190, 150, 20)
$OK = GUICtrlCreateButton("OK", 140, 260, 90, 20)
$Label_8 = GUICtrlCreateLabel("File1", 50, 40, 91, 20)
$Label_9 = GUICtrlCreateLabel("File2", 50, 70, 101, 20)
$Label_10 = GUICtrlCreateLabel("File3", 50, 100, 91, 20)
$Label_11 = GUICtrlCreateLabel("File4", 50, 130, 91, 20)
$Label_12 = GUICtrlCreateLabel("File5", 50, 160, 101, 20)
$Label_13 = GUICtrlCreateLabel("Date", 50, 190, 101, 20)

GUISetState()
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
        Case $msg = $OK
            $InputFile_1 = GUICtrlRead($File_1)
            $InputFile_2 = GUICtrlRead($File_2)
            $InputFile_3 = GUICtrlRead($File_3)
            $InputFile_4 = GUICtrlRead($File_4)
            $InputFile_5 = GUICtrlRead($File_5)
            MsgBox(64, "Results", "You entered the following:" & @CRLF & _
                    @TAB & "File1: " & $InputFile_1 & @CRLF & _
                    @TAB & "File2: " & $InputFile_2 & @CRLF & _
                    @TAB & "File3: " & $InputFile_3 & @CRLF & _
                    @TAB & "File4: " & $InputFile_4 & @CRLF & _
                    @TAB & "File5: " & $InputFile_5)
            ExitLoop
    EndSelect
WEnd

I took out the file and ftp activity to make it safer to play with on someone else's machine... :o


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

I took out the file and ftp activity to make it safer to play with on someone else's machine... :o

I would like to know how I can ftp using autoit ( I can do it in dos but I would like to get away from that)

I use the ftp command in dos then I copy a+b+c+d e and all the files now rest in e. I checked the help file I see I can only ise a ftpproxy but I need no proxy to log into my server just a username password and the server I want to connect to

Share this post


Link to post
Share on other sites

The thing I don't see here is any reading of the input controls. This example might help more:

That's why I said in my post that the GUI didn't really do anything. I wasn't sure if eagle4life69 wanted this done for him or just wanted a push in the right direction. The GUI stuff was one of the hardest things for me to grasp

Share this post


Link to post
Share on other sites

That's why I said in my post that the GUI didn't really do anything. I wasn't sure if eagle4life69 wanted this done for him or just wanted a push in the right direction. The GUI stuff was one of the hardest things for me to grasp

Yeah thanks for your help. I am now at work so I can begin testing all of my ideas. Still looking on how to ftp I just might have to run the ftp part as a small batch program

Share this post


Link to post
Share on other sites

how do you ftp with autoit? can anyone tell me how to ftp i can't figure it out. it is on a local server no web address and can't figure out how to do it. Do i have to use dos to do this? once i download the file i need to combine them is any of this possible

Share this post


Link to post
Share on other sites

how do you ftp with autoit? can anyone tell me how to ftp i can't figure it out. it is on a local server no web address and can't figure out how to do it. Do i have to use dos to do this? once i download the file i need to combine them is any of this possible

You should be able to use the local server name or IP address. Search the help file for InetGet and you will see the ftp option.

Share this post


Link to post
Share on other sites

I was thinking the InetGet I'll get working on it thanks

Share this post


Link to post
Share on other sites

I was thinking the InetGet I'll get working on it thanks

If it is a local server you are getting the files from, why not just copy the files rather than FTP them?

Copy from //server/path/filename.ext to c:\whatever\filename.ext or map a drive and copy from that. Batch or AutoIT commands should achieve the same end results, but you should find that using AutoIT to drive the underlying batch commands will give you a lot more flexibility and control over such things as file naming, date extraction, etc.

Hint: The DOS command to concatenate multiple files while doing a COPY can save a lot of time (COPY +). Beware of single and double quotes when building your command line to pass to batch files (always a gotcha for beginners) - the help file is worth reading closely.

Comment on your day/month/year routines - YYYYMMDD always sorts better...

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

thanks for your help the reason I can't do the \\server is because of how our Unix machine doesn't talk with out windows machine

I decided to just use the FTP comands through dos so far so good. Here is the code so far

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        Andrew Rhynes <arhynes@arhynes.org>
;
; Script Function:
;   Run Billing Process
;
; ----------------------------------------------------------------------------

#include <GuiConstants.au3>
While 1
FileDelete ( "ftp2.ftp" )
FileCopy("ftp.ftp","ftp2.ftp", 1)
$File_1 = InputBox("Oneup #", "First Oneup #", "")
$Date = @MON & @MDAY & StringRight(@YEAR,2)

$BP = "BP" & $Date & ".dat"
    $file = FileOpen("ftp2.ftp", 1)
        $IF_1 = $File_1
            $IF_2 = $IF_1+1
            $IF_3 = $IF_1+2
            $IF_4 = $IF_1+3
            $IF_5 = $IF_1+4
            $IF_6 = $IF_1+5
            $IF_7 = $IF_1+6

$er =   MsgBox(32+4, "Results", "Your Oneups are:" & @CRLF & _
                    @TAB & "Oneup 1: " & $IF_1 & @CRLF & _
                    @TAB & "Oneup 2: " & $IF_2 & @CRLF & _
                    @TAB & "Oneup 3: " & $IF_3 & @CRLF & _
                    @TAB & "Oneup 4: " & $IF_4 & @CRLF & _
                    @TAB & "Oneup 5: " & $IF_5 & @CRLF & _
                    @TAB & "Oneup 6: " & $IF_6 & @CRLF & _
                    @TAB & "Oneup 7: " & $IF_7)
If $er == 6 Then

        $BP1 = "ubpbilp_" & $IF_1 & "_dat"
        $BP2 = "ubpbilp_" & $IF_2 & "_dat"
        $BP3 = "ubpbilp_" & $IF_3 & "_dat"
        $BP4 = "ubpbilp_" & $IF_4 & "_dat"
        $BP5 = "ubpbilp_" & $IF_5 & "_dat"
        $BP6 = "ubpbilp_" & $IF_6 & "_dat"
        $BP7 = "ubpbilp_" & $IF_7 & "_dat"

        FileWriteLine($file, "get " & $BP1 & @CRLF)
        FileWriteLine($file, "get " & $BP2 & @CRLF)
        FileWriteLine($file, "get " & $BP3 & @CRLF)
        FileWriteLine($file, "get " & $BP4 & @CRLF)
        FileWriteLine($file, "get " & $BP5 & @CRLF)
        FileWriteLine($file, "get " & $BP6 & @CRLF)
        FileWriteLine($file, "get " & $BP7 & @CRLF)
        FileWriteLine($file, "bye" & @CRLF)
    FileClose($file)
RunWait(@ComSpec & " /c " & "FTP -i -n -v -s:ftp2.ftp >> test.log")
FileDelete ( "ftp2.ftp" )

$file2 = FileOpen("run.bat", 1)

        FileWriteLine($file2, "print /D:lpt1 test.log")
        FileWriteLine($file2, "copy " & $BP1 & "+" & $BP2 & "+" & $BP3 & "+" & $BP4 & "+" & $BP5 & "+" & $BP6 & "+" & $BP7 & @CRLF)
        FileWriteLine($file2, "rename " & $BP1 & " " & $BP)
        FileWriteLine($file2, "del ftp2.ftp")   
FileClose($file2)
RunWait("run.bat")
FileDelete("*_dat")
FileDelete ("run.bat")
FileDelete ("test.log")
FileDelete ("ftp2.ftp")
Exit
Else
FileDelete ( "ftp2.ftp" )

EndIf
Wend
Exit

Now I need it to run a program and click the commands for me (damn I'm lazy)

By me writing this program it will make sure people have to keep me around :o when I get stuck I'll come back and pos another question. If you would like to make comments on my code let me know

oh and the reason we do the MMDDYY is because our files real name is BPMMDDYY.dat

Edited by eagle4life69

Share this post


Link to post
Share on other sites

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        Andrew Rhynes <arhynes@arhynes.org>
;
; Script Function:
;   Run Billing Process
;
; ----------------------------------------------------------------------------

#include <GuiConstants.au3>
HotKeySet("{F8}", "Quit")
While 1
FileDelete ("ftp2.ftp")
$File_1 = InputBox("Oneup #", "First Oneup #", "")
$Date = @MON & @MDAY & StringRight(@YEAR,2)

$BP = "BP" & $Date & ".dat"
$BPOUT = "BP" & $Date & ".out"
    $file = FileOpen("ftp2.ftp", 2)
        $IF_1 = $File_1
            $IF_2 = $IF_1+1
            $IF_3 = $IF_1+2
            $IF_4 = $IF_1+3
            $IF_5 = $IF_1+4
            $IF_6 = $IF_1+5
            $IF_7 = $IF_1+6
            $IF_8 = $IF_1+7
            $IF_9 = $IF_1+8
            $IF_10 = $IF_1+9
            $IF_11 = $IF_1+10
            $IF_12 = $IF_1+11

$er =   MsgBox(32+4, "Results", "Your Oneups are:" & @CRLF & _
                    @TAB & "Oneup 1: " & $IF_1 & @CRLF & _
                    @TAB & "Oneup 2: " & $IF_2 & @CRLF & _
                    @TAB & "Oneup 3: " & $IF_3 & @CRLF & _
                    @TAB & "Oneup 4: " & $IF_4 & @CRLF & _
                    @TAB & "Oneup 5: " & $IF_5 & @CRLF & _
                    @TAB & "Oneup 6: " & $IF_6 & @CRLF & _
                    @TAB & "Oneup 7: " & $IF_7 & @CRLF & _
                    @TAB & "Oneup 8: " & $IF_8 & @CRLF & _
                    @TAB & "Oneup 9: " & $IF_9 & @CRLF & _
                    @TAB & "Oneup 10: " & $IF_10 & @CRLF & _
                    @TAB & "Oneup 11: " & $IF_11 & @CRLF & _
                    @TAB & "Oneup 12: " & $IF_12)
If $er == 6 Then

        $BP1 = "ubpbilp_" & $IF_1 & "_dat"
        $BP2 = "ubpbilp_" & $IF_2 & "_dat"
        $BP3 = "ubpbilp_" & $IF_3 & "_dat"
        $BP4 = "ubpbilp_" & $IF_4 & "_dat"
        $BP5 = "ubpbilp_" & $IF_5 & "_dat"
        $BP6 = "ubpbilp_" & $IF_6 & "_dat"
        $BP7 = "ubpbilp_" & $IF_7 & "_dat"
        $BP8 = "ubpbilp_" & $IF_8 & "_dat"
        $BP9 = "ubpbilp_" & $IF_9 & "_dat"
        $BP10 = "ubpbilp_" & $IF_10 & "_dat"
        $BP11 = "ubpbilp_" & $IF_11 & "_dat"
        $BP12 = "ubpbilp_" & $IF_12 & "_dat"

        FileWriteLine($file, "open cis" & @CRLF)
        FileWriteLine($file, "user username password" & @CRLF)
        FileWriteLine($file, "verbose" & @CRLF)
        FileWriteLine($file, "pwd" & @CRLF)
        FileWriteLine($file, "get " & $BP1 & @CRLF)
        FileWriteLine($file, "get " & $BP2 & @CRLF)
        FileWriteLine($file, "get " & $BP3 & @CRLF)
        FileWriteLine($file, "get " & $BP4 & @CRLF)
        FileWriteLine($file, "get " & $BP5 & @CRLF)
        FileWriteLine($file, "get " & $BP6 & @CRLF)
        FileWriteLine($file, "get " & $BP7 & @CRLF)
        FileWriteLine($file, "get " & $BP8 & @CRLF)
        FileWriteLine($file, "get " & $BP9 & @CRLF)
        FileWriteLine($file, "get " & $BP10 & @CRLF)
        FileWriteLine($file, "get " & $BP11 & @CRLF)
        FileWriteLine($file, "get " & $BP12 & @CRLF)
        FileWriteLine($file, "bye" & @CRLF)
    FileClose($file)
TrayTip("Downloading Billing Files", " NOW...", 50, 1)
RunWait(@ComSpec & " /c " & "FTP -i -n -v -s:ftp2.ftp >> test.log")
TrayTip("Clear", "", 0)
FileDelete ( "ftp2.ftp" )

$file2 = FileOpen("run.bat", 2)

        FileWriteLine($file2, "print /D:lpt1 test.log")
        FileWriteLine($file2, "copy " & $BP1 & "+" & $BP2 & "+" & $BP3 & "+" & $BP4 & "+" & $BP5 & "+" & $BP6 & "+" & $BP7 & "+" & $BP8 & "+" & $BP9 & "+" & $BP10 & "+" & $BP11 & "+" & $BP12 & @CRLF)
        FileWriteLine($file2, "rename " & $BP1 & " " & $BP)
        FileWriteLine($file2, "del ftp2.ftp")   
FileClose($file2)
RunWait("run.bat","",@SW_HIDE)
FileDelete("*_dat")
FileDelete ("run.bat")
FileDelete ("test.log")
FileDelete ("ftp2.ftp")
Sleep(2000)
FileMove ($BP , "c:\d\tram2000\Bill Print\", 1)
FileDelete("c:\PW\pf\out\riverside.355")
FileDelete("c:\PW\pf\out\riverside.pqr")
FileDelete("c:\PW\pf\out\riverside.360")
FileDelete("c:\PW\pf\out\riverside.try")
Sleep(2000)
TrayTip("Warning", "Don't Touch Anything", 9999, 2)
Run("c:\PW\pf\Printform.exe")
WinWaitActive(" - PrintForm")
Send("!f")
Send("^o")
WinWaitActive("PrintForm Job File")
Send("RIVERSIDE.PF")
Send("{ENTER}")
WinWaitActive("RIVERSIDE.PF - PrintForm")
Send("!i")
WinWaitActive("Input Processing")
Send("C:\D\TRAM2000\bill print\" & $BP)
Send("{ENTER}")
WinWaitActive("RIVERSIDE.PF - PrintForm")
Send("!p")
WinWaitActive("Job STATUS")
Send("{ENTER}")
Send("!f")
Send("x")
WinWaitActive("PrintForm")
Send("!y")
Sleep(2000)
$file5 = FileOpen("run.bat", 2)
        FileWriteLine($file5, "print /D:lpt1 c:\PW\pf\out\riverside.355" & @CRLF)
        FileWriteLine($file5, "print /D:lpt1 c:\PW\pf\out\riverside.pqr" & @CRLF)
        FileWriteLine($file5, "print /D:lpt1 c:\PW\pf\out\riverside.360" & @CRLF)
        FileWriteLine($file5, "print /D:lpt1 c:\PW\pf\out\riverside.try" & @CRLF)
FileClose($file5)
RunWait("run.bat")
FileDelete("run.bat")
TrayTip("Warning", "", 0)

FileDelete("c:\D\tram2000\bill print\billprnt.prn")
FileDelete("c:\D\tram2000\bill print\customer")
FileCopy("c:\D\tram2000\bill print\"& $BPOUT, "c:\D\tram2000\bill print\billprnt.prn")
Sleep(2000)
RunWait("c:\D\TRAM2000\APPS\DOCUCORP\RUNTIME\MSTRRES\W32EXE\GEND1.BAT")

$er2 =  MsgBox(32+4, "Results", "Was There and Error?")

If $er2 == 7 Then
RunWait("J:\bill_puller\pull.bat")
RunWait("c:\D\TRAM2000\APPS\DOCUCORP\RUNTIME\MSTRRES\W32EXE\GEND2.BAT")
Run("C:\Program Files\xpps\xds.exe")
WinWaitActive("XDS: DocuPrint 4635 NPS (\\10.191.1.197\Xerixta)")
Send("!b")
WinWaitActive("Open a Document")
Send("C:\D\TRAM2000\bill print\CUSTOMER")
Send("{ENTER}")
WinWaitActive("XDS: DocuPrint 4635 NPS (\\10.191.1.197\Xerixta)")
Send("!l")
WinWaitActive("Load a Job Ticket")
Send("C:\Program Files\xpps\Utility Bills.xjt")
Send("{ENTER}")
WinWaitActive("XDS: DocuPrint 4635 NPS (\\10.191.1.197\Xerixta)")
Send("!p")
WinWaitActive("Sending Document To Printer")
WinWaitActive("XDS: DocuPrint 4635 NPS (\\10.191.1.197\Xerixta)")
Send("!f")
Send("x")
Sleep(2000)
FileMove("c:\D\tram2000\bill print\"& $BP, "J:\Production\" & @YEAR &"\dat\" & $BP)

IF @WDAY == 2 Then
FileDelete("c:\D\tram2000\bill print\*.out")
Else
EndIF
FileDelete("c:\D\tram2000\bill print\billprnt.prn")
FileDelete("c:\D\tram2000\bill print\*.log")
FileDelete("C:\PastDue\Bill Print\ERROR")
Else

Run("Error.exe")
Exit
EndIf

Exit
Else
FileDelete ("ftp2.ftp")

EndIf
Wend
Func Quit()
    Exit
EndFunc
TrayTip("Warning", "", 0)
Exit

Okay All done Though this is really set up just for my job I thought I could share my script. it works and has set so much time in the long run. If anyone has any thoughts about this script.

Share this post


Link to post
Share on other sites

Just a note about your script - you do not allow for a cancel.


All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

Just a note about your script - you do not allow for a cancel.

In the lastest Update I did (which I should really post though I have some Passwords I would have to change) I added a cancel in most parts al else fells you can press f8 to stop. I also put a expiration date in so I can make sure my job isn't replaced with me improvments :o

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