Jump to content

Finding the size today's and previous day file (with specific format school_logs 20151017,txt/school_logs 20151016.txt)


Recommended Posts

  • Moderators
Posted

RANA,

Oh dear, I was hoping that you had an older version which would explain why _FileListToArray did not read a into a 2D array.

Let us try again to read the file into an array - please run this and let me know what you get displayed:

#include <File.au3>
#include <Array.au3>

$sConfigFile = "C:\Users\Anirban patra\Desktop\New folder\config.txt"

Global $aFolderList

; Read as a 1D array
_FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT)

_ArrayDisplay($aFolderList, "", Default, 8)

; Read as a 2D array
_FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT, "|")

_ArrayDisplay($aFolderList, "", Default, 8)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Moderators
Posted

RANA,

That gives me the answer - you have blank lines in the file which do not contain the "|" delimiter. Hence the function does not read the delimited lines  into a 2D array as explained n the Help file.

Open the config file, remove the blank lines at the end and all should be well.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

I salute to your patience but it is not working .

After the array msg that i posted earlier just now it gives the same error that "array is not passed to a function " and at the end again the same error

 

"C:\Users\Anirban patra\Desktop\New folder\Autoit1_script.au3" (101) : ==> Subscript used on non-accessible variable.:
For $i = 1 To $aFolderList[0][0]
For $i = 1 To $aFolderList^ ERROR

 

And the config.txt files doesnot contain any spaces nor in the file names

  • Moderators
Posted

RANA,

And the config.txt files doesnot contain any spaces nor in the file names

What is all this about spaces? I said to remove the blank lines at the end of the config file - you can see that the _ArrayDisplay dialog is showing lines 3-5 which are empty, these are what is causing the problem.

M23

 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

I don't know how can i convey my thanks to you.it works now.What if any spaces are there between file name and date stamp 
say : email 20151017.txt and email 20151016.txt

  • Moderators
Posted

RANA,

it works now

Hurrah!! Delighted we got there in the end.

Spaces in either the filename or path should not matter - as long Windows will accept them so will AutoIt.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

Thanks a lot Melba.These were the daily files ,now there is another case where monthly files will be  there in different folders .I am planning to write Daily files for daily ones and Monthly files for monthly ones in the config.txt file and will then set a cond in the file to check daily or monthly .Let see if it works .Happy to know you are there for help . 

  • Moderators
Posted

RANA,

.Happy to know you are there for help .

As always.

M23 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted (edited)

Hello Melba ,

I have the following folder paths in the config file.

C:\Users\Anirban patra\Documents\AdaptivApmsExtract|supriya's_Email|.txt
C:\Users\Anirban patra\Documents\counterpartymapping|Email|.txt
C:\Users\Anirban patra\Documents\country_exposure_extract|Requirements|.xlsx
C:\Users\Anirban patra\Documents\AdaptivApmsExtract|Users|.csv

But our code is reading only the .txt files and and it is Requirements file.

I was wandering if i can do like ".txt|.xlsx|.csv". but it is not working

For $i = 1 To $aFolderList[0][0] ; Note new limits here <<<<<<<<<<<


    $iSizeToday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssDateToday & ".txt|.xlsx|.csv")
    $iSizeYesterday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssYesterdayDate & ".txt|.xlsx|.csv")
    ; Showing what is produced
    MsgBox($MB_SYSTEMMODAL, "Checking", $aFolderList[$i][0] & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssDateToday & ".txt|.xlsx|.csv" & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssYesterdayDate & ".txt|.xlsx|.csv")

    ; Now do your comparison and whatever comes next
    $CompareS = Round(((($iSizeToday - $iSizeYesterday) / $iSizeYesterday) * 100), 2)
    MsgBox($MB_OK, "Example", "My variable is " & $CompareS)

 

Edited by Melba23
Added code tags
  • Moderators
Posted

RANA,

Adding the file extension as you have makes life very easy:

$iSizeToday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssDateToday & $aFolderList[$i][2])
$iSizeYesterday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssYesterdayDate & $aFolderList[$i][2])

The file will be read into an array with 3 columns (because there are now 2 delimiters) and so all you need to so is use the content of that additional column to define the required extension.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted (edited)

Hello Melba it works now.But any idea how to print those results in excel

I wrote three lines .Please see the bold lines .But that is not generating the result

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=FileArchival_v3_32.exe
#AutoIt3Wrapper_Outfile_x64=FileArchival_v3_64.exe
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****






#include <Date.au3>
#include <File.au3>
#include <FileConstants.au3>
#include <MsgBoxConstants.au3>
#include <ProgressConstants.au3>
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
Main()
Func Main()
    Local $tCur, $datePart, $timePart, $yyyy, $mm, $dd, $rc, $sYDate, $YdatePart, $Nyyyy, $Nmm, $Ndd,$ssDateToday,$ssYesterdayDate

    Local $origName, $newName, $folder, $localFilePath, $localFilePath1, $serverFilePath, $serverFilePath13
    Global $Ycnt, $Tcnt, $Comperc

    Global $aFolderList

        Local $iWeekday = _DateToDayOfWeek(@YEAR, @MON, @MDAY)
    ; Should be equal to @WDAY

    $tCur = _NowCalcDate()
    MsgBox($MB_SYSTEMMODAL,"CurrentDate",$tCur)
    _DateTimeSplit($tCur, $datePart, $timePart)
    $yyyy = $datePart[1]
    $mm = $datePart[2]
    If ($mm < 10) Then $mm = "0" & $mm
    $dd = $datePart[3]
    If ($dd < 10) Then $dd = "0" & $dd

    $ssDateToday = $yyyy & $mm & $dd

        MsgBox($MB_SYSTEMMODAL,"CurrentDate",$ssDateToday)

    ;* new date required to fetch Previous Day file
    If ($iWeekday == 2) Then
        $sYDate = _DateAdd('d', -3, $tCur)
        _DateTimeSplit($sYDate, $YdatePart, $timePart)
        $Nyyyy = $YdatePart[1]
        $Nmm = $YdatePart[2]
        If ($Nmm < 10) Then $Nmm = "0" & $Nmm

        $Ndd = $YdatePart[3]
        If ($Ndd < 10) Then $Ndd = "0" & $Ndd

    MsgBox($MB_SYSTEMMODAL,"Y_Date",$sYDate)
    $ssYesterdayDate = $Nyyyy & $Nmm  & $Ndd

    MsgBox($MB_SYSTEMMODAL,"CurrentDate",$ssYesterdayDate)
    Else
        $sYDate = _DateAdd('d', -1, $tCur)
        _DateTimeSplit($sYDate, $YdatePart, $timePart)
        $Nyyyy = $YdatePart[1]
        $Nmm = $YdatePart[2]
        If ($Nmm < 10) Then $Nmm = "0" & $Nmm

        $Ndd = $YdatePart[3]
        If ($Ndd < 10) Then $Ndd = "0" & $Ndd



        MsgBox($MB_SYSTEMMODAL,"Yesterday's NDDDate",$Ndd)
        $ssYesterdayDate = $Nyyyy & $Nmm  & $Ndd

        MsgBox($MB_SYSTEMMODAL,"YDate",$ssYesterdayDate)
    EndIf



    $sConfigFile = "C:\Users\Anirban patra\Desktop\New folder\config.txt"
    
     $csv = "file name;Size in byte;difference" & @crlf

     

     _FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT)
     _ArrayDisplay($aFolderList, "", Default, 8)
     ; Read as a 2D array
    _FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT, "|")
    _ArrayDisplay($aFolderList, "", Default, 8)


   ; Get todays date
   $sDateToday = _NowCalcDate()
   ; Get yesterday's date
   $sDateYesterday = _DateAdd("D", -1, $sDateToday)
   ; Format both correctly
   $sDateToday = StringReplace($ssDateToday, "/","")
   $sDateYesterday = StringReplace($ssYesterdayDate, "/", "")
   MsgBox($MB_SYSTEMMODAL,"...",$sDateToday)
    ; Loop through folders

    For $i = 1 To $aFolderList[0][0] ; Note new limits here <<<<<<<<<<<

     $iSizeToday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssDateToday & $aFolderList[$i][2])
     $iSizeYesterday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssYesterdayDate & $aFolderList[$i][2])

    ; Showing what is produced
    MsgBox($MB_SYSTEMMODAL, "Checking", $aFolderList[$i][0] & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssDateToday & $aFolderList[$i][2] & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $ssYesterdayDate & $aFolderList[$i][2])

    ; Now do your comparison and whatever comes next
      $CompareS = Round(((($iSizeToday - $iSizeYesterday) / $iSizeYesterday) * 100), 2)
      MsgBox($MB_OK, "Example", "My variable is " & $CompareS)

      $csv &= $iSizeToday & ";" & $iSizeYesterday & ";" & $CompareS & @crlf





 Next
      FileWrite(@scriptdir & "\mycsv.csv", $csv)

EndFunc

 

Edited by Melba23
Added code tags - again
  • Moderators
Posted

RANA,

To use Excel, take a look at the Excel UDF. I do not use it so I cannot help directly.

And after 29 posts, I really must demand that you please start using the editor correctly - code tags make it much easier for everyone.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • Moderators
Posted

RANA,

Thanks - if you only knew the trouble Jon has had getting the tags to work correctly you would understand why we get annoyed when people do not use them.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

  • 1 month later...
Posted

You guys are great .This forum is awesome.Will follow the rules hence forth

Hi all,

First of all hope i am posting in correct portion .Last time i messed it up .Below is my code.i am checking the monthly file size for current month and prev month.

However i am not getting the size in this variable : $iSizeToday.Can anybody help me out please

#include <Date.au3>
#include <File.au3>
#include <FileConstants.au3>
#include <MsgBoxConstants.au3>
#include <ProgressConstants.au3>
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>
Main()
Func Main()
    Local $tCur, $datePart, $timePart, $yyyy, $mm, $dd, $rc, $sYDate, $YdatePart, $Nyyyy, $Nmm, $Ndd,$ssDateToday,$ssYesterdayDate
    Local $origName, $newName, $folder, $localFilePath, $localFilePath1, $serverFilePath, $serverFilePath13
    Global $Ycnt, $Tcnt, $Comperc
    Global $aFolderList
    Global $sLongMonthName,$lastMonth,$currentMonth,$prevMonth

    Local $iWeekday = _DateToDayOfWeek(@YEAR, @MON, @MDAY)
    ; Should be equal to @WDAY

    $tCur = _NowCalcDate()
    ;MsgBox($MB_SYSTEMMODAL,"CurrentDate",$tCur)
    _DateTimeSplit($tCur, $datePart, $timePart)
    $yyyy = $datePart[1]
    $mm = $datePart[2]
    If ($mm < 10) Then $mm = "0" & $mm
    $dd = $datePart[3]
    If ($dd < 10) Then $dd = "0" & $dd
    $ssDateToday = $yyyy & $mm & $dd




    $sConfigFile = "C:\Users\Anirban patra\Desktop\New folder\monthlyconfig.txt"

     $csv = "file name;Size in byte;difference" & @crlf

     _FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT)
     _ArrayDisplay($aFolderList, "", Default, 8)
     ; Read as a 2D array
    _FileReadToArray($sConfigFile, $aFolderList, $FRTA_COUNT, "|")
    _ArrayDisplay($aFolderList, "", Default, 8)


     For $i = 1 To $aFolderList[0][0] ; Note new limits here <<<<<<<<<<<

     $iSizeToday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $currentMonth & $aFolderList[$i][2])
     $iSizeYesterday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $prevMonth & $aFolderList[$i][2])

     MsgBox($MB_SYSTEMMODAL,"today's size",$iSizeToday)
     MsgBox($MB_SYSTEMMODAL, "Checking", $aFolderList[$i][0] & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $currentMonth & $aFolderList[$i][2] & @CRLF & _
                            $aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $prevMonth & $aFolderList[$i][2])

                            $CompareS = Round(((($iSizeToday - $iSizeYesterday) / $iSizeYesterday) * 100), 2)
      MsgBox($MB_OK, "Example", "My variable is " & $CompareS)

      MsgBox($MB_OK, "Folder", "My variable is " & $aFolderList[$i][0] & $aFolderList[$i][1])

      $csv &= $aFolderList[$i][0] & $aFolderList[$i][1] & "Today's File Size : " & $iSizeToday & ";" & $iSizeYesterday & ";" & $CompareS & @crlf


Next
      FileWrite(@scriptdir & "\mycsv.csv", $csv)
EndFunc

 

  • Moderators
Posted

RANA,

You try to read the file sizes using this code:

$iSizeToday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $currentMonth & $aFolderList[$i][2])
$iSizeYesterday = FileGetSize($aFolderList[$i][0] & "\" & $aFolderList[$i][1] & $prevMonth & $aFolderList[$i][2])

but nowhere in your script do you define values for $currentMonth & $prevMonth - so the paths are certainly not valid and you will therefore not get a return - as checking @error after each of those calls would probably tell you.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

Hello Melba i tried like this ,but the size is  coming as 0

 

 

$sLongMonthName = @MON
    $lastMonth = @MON -1
    $currentMonth = $yyyy & $sLongMonthName
    $prevMonth = $yyyy & $lastMonth

 

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
×
×
  • Create New...