JoeCool Posted April 27, 2005 Posted April 27, 2005 Is it possible to find 3.1.1.15 somewhere ? One of my script refused to work with 3.1.1.16. :">
GaryFrost Posted April 27, 2005 Posted April 27, 2005 Is it possible to find 3.1.1.15 somewhere ?One of my script refused to work with 3.1.1.16. :"><{POST_SNAPBACK}>I would pm it to you but i'm about out of attachment space. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
JoeCool Posted April 27, 2005 Author Posted April 27, 2005 I would pm it to you but i'm about out of attachment space.<{POST_SNAPBACK}>You will be able to reclaim your space in 10 minutes ;-)
GaryFrost Posted April 27, 2005 Posted April 27, 2005 You will be able to reclaim your space in 10 minutes ;-)<{POST_SNAPBACK}>looking at the size of the file it's too large to pm. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
CyberSlug Posted April 27, 2005 Posted April 27, 2005 See attached Do you think the latest version has a bug that's preventing your script from working? Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
JoeCool Posted April 27, 2005 Author Posted April 27, 2005 (edited) See attached Do you think the latest version has a bug that's preventing your script from working?<{POST_SNAPBACK}>Thanks !Yes my script were working fine just before updating to 3.1.1.16 it crash in Date.au3 now ...Im going to investigate that in few minutes :-) Edited April 27, 2005 by JoeCool
GaryFrost Posted April 27, 2005 Posted April 27, 2005 (edited) from running the _DateAdd/_DateDiff examples C:\Program Files\AutoIt3\Include\Date.au3 (727) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If StringLen($sDateTime[2]) < 8 Then $sDateTime[2] = $sDateTime[2] & ":00" If StringLen(^ ERROR Also _DateDaysInMonth reports back 0 days in this month Edited April 27, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
CyberSlug Posted April 27, 2005 Posted April 27, 2005 (edited) So instead of uploading a 1.37 MB attachment, I just needed to post Date.au3 On a serious note, there have been some date issues...http://www.autoitscript.com/forum/index.php?showtopic=10845What's your AutoIt code? Edited April 27, 2005 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
GaryFrost Posted April 27, 2005 Posted April 27, 2005 3.1.1.16 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
JoeCool Posted April 27, 2005 Author Posted April 27, 2005 (edited) So instead of uploading a 1.37 MB attachment, I just needed to post Date.au3 On a serious note, there have been some date issues...http://www.autoitscript.com/forum/index.php?showtopic=10845What's your AutoIt code?<{POST_SNAPBACK}>lol don't bang your head ;-) I prefer to do a complete rollback to .15 ;-)Well it's work fine with that version and it seems that is the same problem that you point to me ...My script is a task and script scheduler who is running fine now under .15 :-) Edited April 27, 2005 by JoeCool
GaryFrost Posted April 27, 2005 Posted April 27, 2005 it appears the problem stems from line 274, it's passing in a year only for 1st param, the _DateToDayValue function is trying to stringsplit that and it's failing SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
jpm Posted April 27, 2005 Posted April 27, 2005 please use 3.1.1.16 and just update the date.au3 in the include dir with the one i upload with is the one of 3.1.1.15. dont forget to change the name. Thanks for your cooperation
jpm Posted April 27, 2005 Posted April 27, 2005 it appears the problem stems from line 274, it's passing in a year only for 1st param, the _DateToDayValue function is trying to stringsplit that and it's failing<{POST_SNAPBACK}>can you send to JdeB and me the correction so I can merge it in 3.1.1.17Thanks
Developers Jos Posted April 27, 2005 Developers Posted April 27, 2005 from running the _DateAdd/_DateDiff examplesC:\Program Files\AutoIt3\Include\Date.au3 (727) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.: If StringLen($sDateTime[2]) < 8 Then $sDateTime[2] = $sDateTime[2] & ":00" If StringLen(^ ERRORAlso _DateDaysInMonth reports back 0 days in this month<{POST_SNAPBACK}>Just oploaded a Fix for the reported issues Date.au3.The _DateDaysInMonth example has the Month and Year swapped .. Will change the example.@JoeCool,Could you try this version to see if it solves your problems? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
GaryFrost Posted April 27, 2005 Posted April 27, 2005 the first 2 calls from the 1st example return 0 ; Add 5 days to today $sNewDate = _DateAdd( 'd',5, _NowDate()) MsgBox( 4096, "", "Today + 5 days:" & $sNewDate ) ; Subtract 2 weeks from today $sNewDate = _DateAdd( 'w',-2, _NowDate()) MsgBox( 4096, "", "Today minus 2 weeks: " & $sNewDate ) I swapped month and year in the _DateDaysInMonth example and it worked fine. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Developers Jos Posted April 27, 2005 Developers Posted April 27, 2005 the first 2 calls from the 1st example return 0; Add 5 days to today $sNewDate = _DateAdd( 'd',5, _NowDate()) MsgBox( 4096, "", "Today + 5 days:" & $sNewDate ) ; Subtract 2 weeks from today $sNewDate = _DateAdd( 'w',-2, _NowDate()) MsgBox( 4096, "", "Today minus 2 weeks: " & $sNewDate )I swapped month and year in the _DateDaysInMonth example and it worked fine.<{POST_SNAPBACK}>This is what the example looks like for _DateAdd (Notice the difference in red) in the helpfile:; Add 5 days to today$sNewDate = _DateAdd( 'd',5, _NowCalcDate())MsgBox( 4096, "", "Today + 5 days:" & $sNewDate ); Subtract 2 weeks from today$sNewDate = _DateAdd( 'w',-2, _NowCalcDate())MsgBox( 4096, "", "Today minus 2 weeks: " & $sNewDate ); Add 15 minutes to current time$sNewDate = _DateAdd( 'n',15, _NowCalc())MsgBox( 4096, "", "Current time +15 minutes: " & $sNewDate ); Calculated eventlogdate which returns second since 1970/01/01 00:00:00 $sNewDate = _DateAdd( 's',1087497645, "1970/01/01 00:00:00")MsgBox( 4096, "", "Date: " & $sNewDate )Or do you mean other examples ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jpm Posted April 27, 2005 Posted April 27, 2005 is this library working with any window setting as mine date in french dd/mm/yyyy?
Developers Jos Posted April 27, 2005 Developers Posted April 27, 2005 (edited) is this library working with any window setting as mine date in french dd/mm/yyyy?<{POST_SNAPBACK}>_DateTimeFormat() is the only function using the Pc's local settings for formatting the output.All other functions have a fixed format for date/time. "YYYY/MM/DD[ HH:MM:SS]" Edited April 27, 2005 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
GaryFrost Posted April 27, 2005 Posted April 27, 2005 Sorry pulled up the wrong help examples, need to clean up my pc at home. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
jpm Posted April 27, 2005 Posted April 27, 2005 _DateTimeFormat() is the only function using the Pc's local settings for formatting the output.All other functions have a fixed format for date/time. "YYYY/MM/DD[ HH:MM:SS]"<{POST_SNAPBACK}>so the example is not working. But is the correction OK?I wait an confirmation where to find it to include it in 3.1.1.17
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