legend 16 Posted February 14, 2014 Share Posted February 14, 2014 Does someone know how I would get this: _ArrayDisplay($FileList, UBound($FileList)&' - '&$timer&' - RegExp (?????)') to show the result as a msgbox full script: #include <Array.au3> #include <FileOperations.au3> $timer = TimerInit() $FileList=_FO_FileSearch(@UserProfileDir, '*', True, 125, 1, 0) $FileList=StringRegExp($FileList, '(?mi)^(.*\.(?:xdata))(?:\r|\z)', 3) $timer = Round(TimerDiff($timer) / 1000, 2) & ' sec' _ArrayDisplay($FileList, UBound($FileList)&' - '&$timer&' - RegExp (?????)') Link to post Share on other sites
JohnOne 1,625 Posted February 14, 2014 Share Posted February 14, 2014 #include <Array.au3> #include <FileOperations.au3> $timer = TimerInit() $FileList = _FO_FileSearch(@UserProfileDir, '*', True, 125, 1, 0) $FileList = StringRegExp($FileList, '(?mi)^(.*\.(?:xdata))(?:\r|\z)', 3) $timer = Round(TimerDiff($timer) / 1000, 2) & ' sec' $Msg = '' For $i = 0 To UBound($FileList) - 1 $Msg &= $FileList[$i] Next MsgBox(0, 0, $Msg) ;_ArrayDisplay($FileList, UBound($FileList) & ' - ' & $timer & ' - RegExp (?????)') AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to post Share on other sites
AdamUL 102 Posted February 14, 2014 Share Posted February 14, 2014 You can also use _ArrayToString in the MsgBox. MsgBox(0, UBound($FileList)&' - '&$timer&' - RegExp (?????)', _ArrayToString($FileList, @CRLF)) Adam Link to post Share on other sites
AZJIO 168 Posted February 14, 2014 Share Posted February 14, 2014 @legend #include <Array.au3> #include <FileOperations.au3> $timer = TimerInit() $FileList = _FO_FileSearch(@UserProfileDir, '*', True, 125, 1, 0) $FileList = StringRegExp($FileList, '(?mi)^(.*\.(?:xdata))(?:\r|\z)', 3) If @error Then MsgBox(0, 'Error', 'Not xdata') ; !!!!! $timer = Round(TimerDiff($timer) / 1000, 2) & ' sec' _ArrayDisplay($FileList, UBound($FileList) & ' - ' & $timer & ' - RegExp (?????)') My other projects or all Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now