Date add subtract calculator4/20/2024 ![]() ![]() _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.īack up and restore Windows user files _3 - Modified array functions that include support for 2D arrays. I hereby grant any person the right to use any code I post, that I am the original author of, on the forums, unless I've specifically stated otherwise in the code or the thread post. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude ![]() Give a programmer the correct code and he can do his work for a day. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to. ![]() If I posted any code, assume that code was written using the latest release version unless stated otherwise. I have this small script $Date1 = GUICtrlCreateDate ( "9 20:46:39", 60, 10, 200, 25 ) $Calculate = GUICtrlCreateButton ( "Calculate", 120, 60, 75, 25 ) $Label = GUICtrlCreateLabel ( "Three weeks from entered date", 16, 100, 150, 20 ) $Input1 = GUICtrlCreateInput ( "", 180, 100, 130, 21 ) GUICtrlSetState ( - 1, $GUI_DISABLE ) GUISetState ( ) While 1 $nMsg = GUIGetMsg ( ) Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Calculate $InputDate = Int ( GUICtrlRead ( $Date1 ) ) $sNewDate = _DateAdd ( 'd', 5, _NowCalcDate ( ) ) $m圜alc = Stringreplace ( $sNewDate, "/", "-" ) GUICtrlSetData ( $Input1, string ( $m圜alc ) ) EndSwitch WEnd I am new with Autoit, I'm curious if there is a way to read the output of the calendar for a date in the past or the future and add days, weeks, month or/and years to the chosen calender date?įor now I just need to add 5 days to a chosen Date ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |