Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all 12506 articles
Browse latest View live

Can't Found sqlite3.exe

$
0
0
AutoIt         
Func _SQLite_SQLiteExe($sDatabaseFile, $sInput, ByRef $sOutput, $sSQLiteExeFilename = -1, $bDebug = False)     If $sSQLiteExeFilename = -1 Or $sSQLiteExeFilename = Default Then         $sSQLiteExeFilename = "sqlite3.exe"         If Not FileExists($sSQLiteExeFilename) Then             Local $sInlineVersion = "_" & Call('__SQLite_Inline_Version')             If @error Then $sInlineVersion = "" ; no valid SQLite version define so use any version             Local $sSQLiteExe_FilePath = @TempDir & "\"             $sSQLiteExeFilename = __SQLite_Download_SQLite3File($sSQLiteExe_FilePath, "sqlite3", $sInlineVersion, ".exe", True)             MsgBox(0,"","download")             If @error Then Return SetError(2, 0, $SQLITE_MISUSE) ; Can't Found sqlite3.exe             $sSQLiteExeFilename = $sSQLiteExe_FilePath & $sSQLiteExeFilename                   EndIf             EndIf     If Not FileExists($sDatabaseFile) Then         Local $hNewFile = FileOpen($sDatabaseFile, $FO_OVERWRITE + $FO_CREATEPATH)         If $hNewFile = -1 Then             Return SetError(1, 0, $SQLITE_CANTOPEN) ; Can't Create new Database         EndIf         FileClose($hNewFile)     EndIf     Local $sInputFile = _TempFile(), $sOutputFile = _TempFile(), $iRval = $SQLITE_OK     Local $hInputFile = FileOpen($sInputFile, $FO_OVERWRITE)     If $hInputFile > -1 Then         $sInput = ".output stdout" & @CRLF & $sInput         FileWrite($hInputFile, $sInput)         FileClose($hInputFile)         Local $sCmd = @ComSpec & " /c " & FileGetShortName($sSQLiteExeFilename) & '  "' _                  & FileGetShortName($sDatabaseFile) _                  & '" > "' & FileGetShortName($sOutputFile) _                  & '" < "' & FileGetShortName($sInputFile) & '"'                         Local $nErrorLevel = RunWait($sCmd, @WorkingDir,@SW_HIDE)         MsgBox(0,"",@error) ;error=0 $nErrorLevel=1         If $bDebug = True Then             Local $nErrorTemp = @error             If @error Then __SQLite_Print('@@ Debug(_SQLite_SQLiteExe) : $sCmd = ' & $sCmd & @CRLF & '>ErrorLevel: ' & $nErrorLevel & @CRLF)             SetError($nErrorTemp)         EndIf         MsgBox(0,"",$nErrorLevel)         If @error = 1 Or $nErrorLevel = 1 Then             $iRval = $SQLITE_MISUSE ; SQLite.exe not found         Else             $sOutput = FileRead($sOutputFile, FileGetSize($sOutputFile))             If StringInStr($sOutput, "SQL error:", 1) > 0 Or StringInStr($sOutput, "Incomplete SQL:", 1) > 0 Then                 $iRval = $SQLITE_ERROR                 ;MsgBox(0,"",$iRval); SQL error / Incomplete SQL             EndIf             EndIf     Else         $iRval = $SQLITE_CANTOPEN ; Can't open Input File     EndIf     If FileExists($sInputFile) Then FileDelete($sInputFile)     Switch $iRval         Case $SQLITE_MISUSE             SetError(2)             ;MsgBox(0,"",$sSQLiteExeFilename)         Case $SQLITE_ERROR             SetError(3)         Case $SQLITE_CANTOPEN             SetError(4)     EndSwitch     Return $iRval EndFunc   ;==>_SQLite_SQLiteExe

I test the UDF _SQLite_SQLiteExe in  help file the result is" Can't Found sqlite3.exe" .  I find the reason is @error=0  but $nErrorLevel=1which return from RunWait(). why??


Mouse doesn't interact with window (send command either)

$
0
0

G'Day,

 

I needed to automate one of those 'problem' applications. I guess it is similar to that which is mentioned by OP here (mouse doesn't work).

Even custom mouse functions by Zedna didn't help me. I was ready to give up on automating app with Autoit but then i found some kind of workaround on Stackoverflow - run Autoit script with admin privileges.

 

And that is a solution (it is strange because UAC is disabled here). Nevertheless, i wanted to underline possible solution with "mouse problems" and send key problems, too:

 

1. Run script as admin

2. Use Zedna's custom functions (for mouse events):

 

Try these my functions (instead of MouseClick/MouseMove):
 

Func _MouseClickFast($x, $y)
    $x = $x*65535/@DesktopWidth
    $y = $y*65535/@DesktopHeight

    _WinAPI_Mouse_Event(BitOR($MOUSEEVENTF_ABSOLUTE, $MOUSEEVENTF_MOVE), $x, $y)
    _WinAPI_Mouse_Event(BitOR($MOUSEEVENTF_ABSOLUTE, $MOUSEEVENTF_LEFTDOWN), $x, $y)
    _WinAPI_Mouse_Event(BitOR($MOUSEEVENTF_ABSOLUTE, $MOUSEEVENTF_LEFTUP), $x, $y)
EndFunc

Func _MouseMoveFast($x, $y)
    $x = $x*65535/@DesktopWidth
    $y = $y*65535/@DesktopHeight

    _WinAPI_Mouse_Event(BitOR($MOUSEEVENTF_ABSOLUTE, $MOUSEEVENTF_MOVE), $x, $y)
EndFunc

 

 

May be of some help for those who will struggle for days to make mouse or keyboard work in some applications.

 

PS: Thanks to Zedna for his custom mouse functions, without this code i was not able to make it work.

about dialog (modle)

$
0
0

how to create a about modle dialog like FileOpenDialog that have parent and  can not be shown on taskbar ,or please look SciTe->Help->about scite lite as attach file thanks!

 

Attached Thumbnails

  • 20150420043123.png

ebay developer is possible connect with autoit ?

$
0
0

hi  guy 

 

i watch  ebay developer  ,i want  create  a littel program for  add  multi item  in ebay , i look is possible  add item  with ebay developer , but  is not  supported  autoit 

i look  this  page in forum 

 

http://www.autoitscript.com/forum/topic/114801-ebay-udf/

 

very interesting  but  is only for read , if  you have  just additem.

 

is  possible add item ???

 

i look this in php  

 

http://stackoverflow.com/questions/23402304/ebay-trading-api-additem-call

 

is possible translate in autoit ??

 

 

thankz  at   all

 

StringExplode behavior after upgrading from 3.3.10.2 to 3.3.12.0

$
0
0

Hello, have only just upgraded Autoit from 3.3.10.2 to 3.3.12.0 & now my scripts that use _StringExplode on a delimiter = @CRLF insert the delimiter as an element in the array, the script below demonstrates this.

 

Text file is

1,2
3,4
4,5
6,7
8,9
9,0

 

The _ArrayDisplay (3.3.12.0) is:

[0] 1,2
[1]
[2] 3,4
[3]
[4] 4,5
[5]
[6] 6,7
[7]
[8] 8,9
[9]
[10] 9,0
[11]
[12]

 

The _ArrayDisplay (3.3.10.2) is:

[0] 1,2
[1] 3,4
[2] 4,5
[3] 6,7
[4] 8,9
[5] 9,0
[6]

  1. #Include <File.au3>
  2. #Include <Array.au3>
  3. #include <String.au3>
  4. $h = FileOpen("c:\test\stringexplode.txt",$FO_READ)
  5.  
  6. ;stringexplode.txt - below
  7. #cs CRLF at end of eachline
  8. 1,2
  9. 3,4
  10. 4,5
  11. 6,7
  12. 8,9
  13. 9,0
  14.  
  15. #ce
  16.  
  17. $sTest = FileRead($h)
  18. $aTest = _StringExplode($sTest,@CRLF)
  19. _ArrayDisplay($aTest);The array includes the delimiter as an element, this behavior is different to autoit 3.3.10.2, what am I missing??

I did check "Array UDF - Script Breaking Changes" but didn't find a reference to this.

I have attached the original text file for convenience

Appreciate any insight, thank you

Attached Files

about pixelsearch and array

$
0
0
      Func IMR11()       Do       sleep(100)       $pix11 = PixelSearch(127, 538, 127, 538, 0xE4925F);           $pix111 = PixelSearch(127, 538, 127, 538, 0xAB623E);         Until IsArray ($pix11) or IsArray ($pix111)       sleep(100)       MouseClick("left",127, 538,1,10)       sleep(150)       IMR12()    EndFunc

question about stuff in the red, is that the best way to do it?

or is possible for me to write do until isarray and it search one of those values or increase if have more?

 

instead of writing

until isarray ($pix11) or isarray($pix111)

and write

until isarray ($pix11)  ; and $pix11 as all the other pixel values? or do have to seperate it like i just did in my code?

TCP reconnect ?

$
0
0

hi

i have this code

TCPStartup() $TCPL = TCPListen(@IPAddress1, 1234) Do     $TCPA = TCPAccept($TCPL) Until $TCPA <> -1 While 1     $TCPR = TCPRecv($TCPA, 9999999)     If $TCPR <> "" Then         ConsoleWrite($TCPR)     EndIf WEnd

it is working great , but when the client disconnected then reconnect to my server (autoit) i will not receive the string anymore

how could i make my autoit server code always receive data even if the clinet reconnected ?

or maybe detect that client is disconnected and automatically reestablish the connection , any ideas ?

_ArrayDisplay function, finding "logic loop which reopens arraydisplay"

$
0
0

Hello guys!

 

I have a little problem in one of my function/functions. Here is my code:

AutoIt         
  1. Func IsVisible($handle)
  2.  
  3.     If BitAND(WinGetState($handle), 4) Then
  4.         ;If Not BitAND(WinGetState($handle), 16) Then
  5.         If BitAND(WinGetState($handle), 2) Then
  6.             Return 1
  7.         Else
  8.             Return 0
  9.         EndIf
  10.     EndIf
  11.  
  12. EndFunc   ;==>IsVisible
  13.  
  14. Func _GetWindows()
  15. ; Global $i = 12
  16.  
  17.     ;Local $anumber = 0 / or use &i?
  18.     Dim $VisibleWindows[1][2] = [["0", ""]]
  19.     $AllWindows = WinList()
  20.     For $i = 1 To $AllWindows[0][0]
  21.         If IsVisible($AllWindows[$i][1]) Then
  22.             If $AllWindows[$i][0] <> "" And $AllWindows[$i][0] <> "Program Manager" Then
  23.                 ReDim $VisibleWindows[UBound($VisibleWindows) + 1][2]
  24.                 $VisibleWindows[0][0] = $VisibleWindows[0][0] + 1
  25.                 $VisibleWindows[($VisibleWindows[0][0])][0] = $AllWindows[$i][0]
  26.                 $VisibleWindows[($VisibleWindows[0][0])][1] = $AllWindows[$i][1]
  27.             EndIf
  28.          Else
  29.         EndIf
  30.     Next
  31.     _ArrayDisplay($VisibleWindows, "Visible Windows")
  32.  
  33.     ;If WinClose("Visible Windows", "") = 1 Then Idle()
  34.  
  35. EndFunc   ;==>_GetWindows

This should display all windows and their respective handels that WinList function can find, and display it in a "Visible Windows" titled arraydisplay. All good there, script runs as expected. I copied the code for the _GetWindows() from here, and implemented it with minimal changes as I recall (sorry I found it more then a month ago).

 

My problem is that If I try to close the "Visible Windows" Window, the script just reopens anotherone, basicly the only thing I can do is terminate the script somehow after I started to display this. I'm pretty sure that there is something small that I miss, but since I can't really bend my mind around the _GetWindows array creation, I can't really pinpoint why it opens it again when I close it.

 

(I try to used WinClose but thats just stupid since there is noproblem with closing, the problem is the reopening, realized that while I was writing it)

 

Thank you for your help!


Modify HTML element

$
0
0

For example, this is the HTML of a textbox on a website.

<input type="text" name="username" class="form-control" autocorrect="off" autocapitalize="off" value="" data-fv-field="username">

I want to go ahead and add in, 

style="display: hidden;"

From what I understand, I'm only able to add in HTML via _IEDocInsertHTML, but I'm not sure how to go about adding inside a specific tag.

Help to make an auto login bot for gmail

$
0
0

Hello I am fairly new to AutoIT, but i have begun experimenting with IE functions and FF functions.

I have made an IE gmail login bot for gmail successfully, but i am stuck on which functions to use for Firefox.

I have added MozRepl and FF.au3 to my include folder and have downloaded and tried to use the FF_AutoLogin.au3 function but with no luck.

 

Could somebody please help me?

 

Regards

read text in text area character by character and display character

$
0
0

Hello,

I am trying to read text that has been previously entered into a text area.

I can do it by storing all text into a variable (like shown below), but I want to read the text now character by character.

That is, read the first character and do something with it. Then read the second character and so on. Untill the text in the text area ends...

 

How can I do this?

 

;Read text from input box
                Local $readedText = GUICtrlRead($idEditText)

issue with _Excel_RangeFind ?

$
0
0

I am trying to find a way to _Excel_RangeFind a cell format but I don't succeed in finding a proper way.

Please run the example script first, columns B and C are relevant for the test case. Disregard columns D to G.

AutoIt         
#include <Excel.au3> #include <Array.au3> Global $sTimeLocale = RegRead("HKCU\Control Panel\International", "sShortTime") ConsoleWrite("Locale time format on this PC: " & $sTimeLocale & @CRLF) Global $oExcel = _Excel_Open();$bVisible = Default, $bDisplayAlerts = Default, $bScreenUpdating = Default, $bInteractive = Default, $bForceNew = Default) Global $oWorkbook = _Excel_BookNew($oExcel) ; *************************************************************** ; Example - Format Numbers ; ***************************************************************** Global $sTimeformat = "[u]:mm" Global $aFormatExamples[1][7] = [["Format Examples", $sTimeformat, $sTimeformat, "###0,00", "$#.##0,00", "€ #.##0,00;[Red]€ -#.##0,00", "General"]];Array to Create Headers, European format example _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet,  $aFormatExamples, "A1") ; Fill-up some cells with random Numbers Global $iRows= 15 Global $aArray2D[$iRows +6][UBound($aFormatExamples, 2) + 1] For $i = 4 To $iRows - 2     $aArray2D[$i][0] = Random(0, 1000) Next For $i = 1 To $iRows + 5     $aArray2D[$i][1] = Random(0, 1000) Next For $j = 2 To UBound($aFormatExamples, 2) - 2     For $i = 2 To $iRows + 5         $aArray2D[$i][$j] = Random(-1000, 1000);this time allow negative numbers     Next Next _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet,  $aArray2D, "B2") MsgBox(0, "Formating example", "Applying format in the green area only") $oExcel.Activesheet.Range("B4:G16").Interior.Color = 0x3AFF00 ; color range green ; Set each column to its type of Format $oExcel.ActiveSheet.Range("B4:B15").NumberFormat = $aFormatExamples[0][1] $oExcel.ActiveSheet.Range("C4:C15").NumberFormat = $aFormatExamples[0][2] $oExcel.ActiveSheet.Range("D4:D15").NumberFormat = $aFormatExamples[0][3] $oExcel.ActiveSheet.Range("E4:E15").NumberFormat = $aFormatExamples[0][4] $oExcel.ActiveSheet.Range("F4:F15").NumberFormat = $aFormatExamples[0][5] $oExcel.ActiveSheet.Range("G4:G15").NumberFormat = $aFormatExamples[0][6] ;AutoFits $oExcel.Columns.AutoFit $oExcel.Rows.AutoFit MsgBox(0, "Formating example", "Set sums") Global $aSums[1][7] = [["Range starting  Row 3","=SUM(B3:B23)", "=SUM(C3:C23)", "=SUM(D3:D23)", "=SUM(E3:E23)", "=SUM(F3:F23)", "=SUM(G3:G23)"]] _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet,  $aSums, "A24") Global $aSums[1][7] = [["range starting  Row 4","=SUM(B4:B23)", "=SUM(C4:C23)", "=SUM(D3:D23)", "=SUM(E3:E23)", "=SUM(F3:F23)", "=SUM(G3:G23)"]] _Excel_RangeWrite($oWorkbook, $oWorkbook.Activesheet,  $aSums, "A25") ;AutoFits $oExcel.Columns.AutoFit $oExcel.Rows.AutoFit MsgBox(0, "test", "RangeFind format?") ; full match $aResult =_Excel_RangeFind($oWorkbook, $sTimeformat, "B3:B23", $xlFormulas, $xlPart); , $iLookAt = Default, $bMatchcase = Default) ConsoleWrite(@ScriptLineNumber & " " & @error & @CR) _ArrayDisplay($aResult, @ScriptLineNumber) ; partial match $aResult =_Excel_RangeFind($oWorkbook, ":mm", "B3:B23", $xlFormulas, $xlPart); , $iLookAt = Default, $bMatchcase = Default) ConsoleWrite(@ScriptLineNumber & " " & @error & @CR) _ArrayDisplay($aResult, @ScriptLineNumber) If MsgBox(4 + 0, "Formating example", "Done, close without save ") = 6 Then     _Excel_BookClose($oWorkbook, False)      _Excel_Close($oExcel) EndIf

The format is put to '[u]:mm' in the green area only
Please check if this format is appropriate for your system, might need to change this to '[h]:mm' as pr your Locale Excel settings (line 16)

Case 1: when summing up the columns as from row 3, Excel considers the sum for the range B3:B23/C3:C23 to be in format 'General'
Case 2: when summing up the columns as from row 4, Excel considers the sum for the range B4:B23/C4:C23  to be in format '[u]:mm'

This is an expected behavior of Excel, although one might think that at least for column B, there is no ambiguity, the sum should be in [u]:mm, but OK...

I now want to search for the column range if I can find cells in [u]:mm format, and according to the result, I can reformat the sum in the appropriate number format.

In VB:

Sub FindNumberFormat() ' '  FindNumberFormat '  run multiple times to find the next cell in the format... '     Application.FindFormat.NumberFormat = "[h]:mm"     Cells.Find(What:="", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _         xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _         , SearchFormat:=True).Activate End Sub

In AutoIt however, nothing is found and

$aResult =_Excel_RangeFind($oWorkbook, $sTimeformat, "B3:B23", $xlFormulas, $xlPart)

returns an empty array.

I am confused with the VB statement 'Application.FindFormat.NumberFormat = "[h]:mm"' that I find nowhere in the  _Excel_RangeFind() function.

Has anyone tested the function already?

Thank you (...water ;) )

 

PS. I mostly try to find a solution myself, but sometimes, I have to look at the real specialists...

An other nooby question :D

$
0
0

These line are in my script

 

 

Variable declaration :

$Picture = @ScriptDir & "\spyfurryMINI.jpg"

Gui Creation :

       Global $Picture1 = GUICtrlCreatePic ( $Picture , 190, 10, 250, 376 )

One condition :

If $Debutscan100=100 Then EndIf

My Question :

How can i change the picture of this gui ? "after GUI creation ... "

I mean witch line of code can i add into the condition to change the picture

 

wtf is this noob question :D

 

 

Convert 2bytes to 4bytes - BitShift problem

$
0
0

Hi, I'm having a one question

 

Is there a way to conver 2bytes data to 4bytes data?

 

I'm using BitShift($data, -16)

 

And for example for number 98 (in 2 bytes)

BitShift(98, -16) it gives 6422528, but it should give 6422676.

What i'm doing wrong? Thank you for your help!

Walrus.

Equivalent SetItemParam

$
0
0

I am tinkering with TreeView ideas and I am stumped. Is there a method I can use to set the Param value of a tree items when the tree is populated using: GUICtrlCreateTreeViewItem. 

 

Or

 

Is there a method that I can use to get GUICtrlSetOnEvent to work when creating items using _GUICtrlTreeView_AddChild.

 

I searched the help file and I may be off on my search terms or it is not possible. What I hope to do is set the parameters of the treeview items to the value of a sql db record ID (key).

 

Thanks...


pixel detection help/gui making.

$
0
0

i wanna "make/have made" a fishing macro for "Trove" 

My idea is this.

iVfGzIp.png

red square is for detecting the red bobber..... the Blue box is just for a guide to tell u where to put ur curser in so the  bobber will line up with the red box. 

when the red bobber gets out of the red box Press F wait 4-5 seconds then f again so it will recast the thing wait 2-3 seconds then see if the red bobber is in place... if so then it waits for it to not be there and so on so forth.

how do we do all this?

Not sure where to begin, how would you do it?

$
0
0

Hi Guys,

 

Before i start trying to write this i thought i would ask how you would do it to make it as simple as possible. I am struggling with the logic so thought i would ask first.

 

What i want is to read a file/ini-file/database (or something else) and retrieve a list of names in a list view with scroll bars as i expect this list to contain at least 50 items. The from the Gui i want a button to begin action, the action will read the selected name in the list view and match that to a 3 parameters in the file e.g.

 

Name1 | Param2 | Param3 (the name in the list view will be the first parameter - It can be duplicated if its easier).

 

After matching the name to the parameters it will pass the 3 parameters to another execuatable which should be easy using shellexecute.

 

The second executable i will tackle separately to this thread as i am pretty settled on that idea already.

 

Looking forward to see some ideas,

 

Thanks guys,

Dan

_CommGetLineStates() , RS232 DCD line read ,

$
0
0

I`m doing school project about flowmeter connected to computer.

 

The main idea is: Read DCD status from  RS232(com1) port. 

 

If DCD = 1 than

$myexample = $myexample + 1

endif

 

Next> i will show "myexample" in msgbox.

 

The problem is that i get no read from _CommGetLineStates().

AutoIt         
#include 'CommMG.au3' ;Internal for the Serial UDF Global $sportSetError = '' ;COM Vars Global $CMPort = 1               ; Port Global $CmBoBaud = 9600            ; Baud Global $CmboDataBits =  8        ; Data Bits Global $CmBoParity = "none"        ; Parity Global $CmBoStop = 1            ; Stop Global $setflow = 2                ; Flow ;Start up communication with the device ;$DTRMode 0 = turns on the DTR line when the port is opened and leaves it on ; 1 = enables DTR handshaking ; 2 = disables the DTR line when the device is opened and leaves it disabled. _CommSetPort($CMPort, $sportSetError, $CmBoBaud, $CmboDataBits, $CmBoParity, $CmBoStop, $setflow) _CommSetDTR(1) ;that work nice sleep(1000) _CommSetDTR(0) sleep(1000) _CommGetLineStates()

>Exit code: 0    Time: 2.462

 

 

circuit.gif

 

http://www.linuxfocus.org/English/January2001/article186.shtml  <<using this setup.

I`ve checked that i got read in REALTERM and green light on DCD(1) line  when i push the button.

 

My english is not realy poetic but i hope this Topic will help som1 understand "simple serial comunication".

 

 

 

Search for images on the screen

$
0
0
Wrote a small script.
In an empty folder with the documents is drawing without problem.in window with the game he does not see this section of the picture.
Is it even possible to do this?
#include <ImageSearch.au3> $x = 0 $y = 0 HotKeySet("{PAUSE}","_exit") While 1 $res = _ImageSearch (@Scriptdir &"\df1.bmp",1,$x,$y,1) $res2 = _ImageSearch (@Scriptdir &"\df2.bmp",1,$x,$y,1) $res3 = _ImageSearch (@Scriptdir &"\df3.bmp",1,$x,$y,1) If $res = 1 Or $res2 = 1 Or $res3 = 1 Then Send("{w down}") Sleep(1) Send("{w up}") MsgBox(1,' Внимание ',' П о л у ч и л о с ь  !!! .') EndIf WEnd Func _exit() Exit EndFunc

 

The stringleft stopped working for me

$
0
0

I need to trim the date and accessed times from a file list. It totals 22 spaces need to be trimmed, and I can't seem to get any trimmed.

AutoIt         
#include <FileConstants.au3> #include <File.au3> #include <MsgBoxConstants.au3> Local $iRead ,$s2String IniRead(@ScriptDir & "\Programsettings.ini", "Filepaths", "SetupDir", $s2String) $iRead=IniRead(@ScriptDir & "\Programsettings.ini", "Filepaths", "SetupDir", "") $sString=$iRead ;MsgBox($MB_SYSTEMMODAL, "", $sString) Local Const $sFilePath = $iRead & "\my.log" ;MsgBox($MB_SYSTEMMODAL, "", $sFilePath)   Local $hFileOpen = FileOpen($sFilePath, $FO_READ)     Local $sFileRead = FileRead($hFileOpen)  ; MsgBox($MB_SYSTEMMODAL, "", $sFileRead)   $string_variable = $sFileRead $trimmed = StringTrimLeft ($string_variable, 9) ;Local $sFileRead = StringTrimLeft("",22) MsgBox($MB_SYSTEMMODAL, "", $string_variable) ;;;;;;;;;;;;;;;;;;;;;;;;;("fileList.txt"= $string_variable) ;FileMove ($string_variable,"fileList.txt")  ;  FileClose($hFileOpen) Exit

the file list is attached, 

I guess if i knew out how to make a file list with out time and date stamps would be easier. 

Any advice would be of great help.

Attached Files

  • Attached File  my.7z   558bytes   4 downloads
Viewing all 12506 articles
Browse latest View live