Mcky Posted October 16, 2005 Share Posted October 16, 2005 (edited) It must be executed with the latest beta of AutoIT3.Archive contains script and compiled version.What is it?It is a task scheduler program. You can set up tasks like reminders and open applications to be executed at the time you specifed. Supports unlimited dates and tasks.ScreenshotsMain screen screenshot:Creating new task:Exporting to HTML webpage:Settings:System requirements:Windows 95,98,ME,NT,2000,XP,2003800X600 Screen resolutionAutoIT 3.1.1.60> (To run script)Features* Easily fits on a floppy disk/thumbdrive for portability and syncronize your tasks with the built-in Backup program.* Clean and easy-to-use interface,even a child could use it. Advanced users will appreciate its powerful capabilities.* Backup or restore your calendar data in just one click,on any media* Export your tasks list to 2 different kinds of formats,HTML and CSV* Export to HTML webpage document. Sizzle it up with built-in CSS templates or create your own* Export to CSV (Comma Seperated Value - Similar to spreadsheets) document,importable into Excel,Access or other applications that supports of importing CSV data. Manipulate the data however you want it* Does not write to the registry. Keep own settings in SETTINGS.INI* Create unlimited tasks for days/months/years* Option to start program with Windows startup* Option to automatically delete dates older than today* Use a custom WAV/MP3 alarm sound for alarms* Choose from 4 different types of tasks to executeUsageFirst,launch CalEntry. Select a date to set up a new task. Press the "Create a new task" button. Choose one of 4 tasks type,enter the desired time to execute the task and press "Set new task" button. Back to the main screen,press "Start/Go" button and when the time you set of the task/s are reached,the task is executed. To bring back the main screen,press ALT+BACKSPACE.MiscComments,ideas welcome.You can use/edit the source script as you like.I will add more features as time allows.Download final version 1.6+(all bugs fixed): (Contains script and compiled version)CalEntry.zipToDo:Export to XMLImport CSV+checks whether CSV is validSkinning of buttonsMore... Edited October 29, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 17, 2005 Share Posted October 17, 2005 i just get loads of errormsgs and can't delete the folder i've put your script in any ideas? my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
busysignal Posted October 25, 2005 Share Posted October 25, 2005 @Mcky, nice utility. It works for me. I am running 3.1.1.84. It will be nice to see how this script evolves.. Cheers.. Link to comment Share on other sites More sharing options...
Mcky Posted October 25, 2005 Author Share Posted October 25, 2005 Thank you for the comment,busysignal. I will continue working on CalEntry and adding more features like task repeat,helpfile,etc. My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
poisonkiller Posted October 25, 2005 Share Posted October 25, 2005 (edited) Heh...Im running 3.1.1.84 too, and latest SciTe and SciTe gived me 41 warnings and program ended! And im sure its not Autoit or SciTe fall.Im running Win98. Edited October 25, 2005 by poisonkiller Link to comment Share on other sites More sharing options...
Mcky Posted October 25, 2005 Author Share Posted October 25, 2005 (edited) Heh...Im running 3.1.1.84 too, and latest SciTe and SciTe gived me 41 warnings and program ended! And im sure its not Autoit or SciTe fall.Im running Win98.CalEntry is intended to run on Win95 and above. If it fails to run,try to open the compiled version. I have tested it on my friend's PC with AutoIT 3.1.1.60 and 3.1.1.84 running 98 and XP and it works fine. Edited October 25, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
poisonkiller Posted October 26, 2005 Share Posted October 26, 2005 I tried compiled and uncompiled, but program didnt open... Link to comment Share on other sites More sharing options...
busysignal Posted October 27, 2005 Share Posted October 27, 2005 I tried compiled and uncompiled, but program didnt open...list some of the errors that you are getting.. We are flying blind without them..Cheers.. Link to comment Share on other sites More sharing options...
poisonkiller Posted October 28, 2005 Share Posted October 28, 2005 Scanned with SciTe: expandcollapse popupC:\WINDOWS\Desktop\Calentry\new_calentry.au3(44,19) : WARNING: $start_del_old: possibly used before declaration. If $start_del_old = ~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(272,25) : WARNING: $SAVE_HTML_DOCUMENT: possibly used before declaration. If $SAVE_HTML_DOCUMENT = ~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(303,28) : WARNING: $html_temp1: possibly used before declaration. If GUICtrlRead($html_temp1) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(312,28) : WARNING: $html_temp2: possibly used before declaration. If GUICtrlRead($html_temp2) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(321,28) : WARNING: $html_temp3: possibly used before declaration. If GUICtrlRead($html_temp3) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(330,28) : WARNING: $html_temp4: possibly used before declaration. If GUICtrlRead($html_temp4) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(339,29) : WARNING: $html_custom: possibly used before declaration. If GUICtrlRead($html_custom) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(340,65) : WARNING: $html_css_input: possibly used before declaration. FileWriteLine($SAVE_HTML_DOCUMENT, GUICtrlRead($html_css_input) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(402,33) : WARNING: $html_save_info: possibly used before declaration. GUICtrlSetData($html_save_info, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(449,27) : WARNING: $css_load: possibly used before declaration. GUICtrlSetState($css_load, ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(450,27) : WARNING: $css_save: possibly used before declaration. GUICtrlSetState($css_save, ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(451,28) : WARNING: $css_clear: possibly used before declaration. GUICtrlSetState($css_clear, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(517,33) : WARNING: $backup_settings: possibly used before declaration. If GUICtrlRead($backup_settings) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(518,96) : WARNING: $backup_comment: possibly used before declaration. IniWrite($backup_location & "\CALDATA.DAT", "COMMENTS", "COMMENT", GUICtrlRead($backup_comment) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(659,15) : WARNING: $TYPETASK: possibly used before declaration. If $TYPETASK = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(659,42) : WARNING: $TYPEVALUE: possibly used before declaration. If $TYPETASK = "NOTAVAIL" Or $TYPEVALUE = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(661,21) : WARNING: $DEFAULT_ALARM: possibly used before declaration. If $DEFAULT_ALARM = ~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(662,29) : WARNING: $ALARM_FILE: possibly used before declaration. If FileExists($ALARM_FILE) ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(983,37) : WARNING: $ITEMS: possibly used before declaration. If $adv_tree[0] = $ITEMS[$qqq][1] Then ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1317,28) : WARNING: $open_label: possibly used before declaration. GUICtrlSetData($open_label, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1330,29) : WARNING: $close_label: possibly used before declaration. GUICtrlSetData($close_label, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1338,31) : WARNING: $reminder_task: possibly used before declaration. If GUICtrlRead($reminder_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1340,54) : WARNING: $reminder_edit: possibly used before declaration. $VALUE_WRITE = StringMid(GUICtrlRead($reminder_edit) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1341,39) : WARNING: $time_hour: possibly used before declaration. $TIME_WRITE = GUICtrlRead($time_hour) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1341,71) : WARNING: $time_mins: possibly used before declaration. $TIME_WRITE = GUICtrlRead($time_hour) & ":" & GUICtrlRead($time_mins) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1344,30) : WARNING: $openapp_task: possibly used before declaration. If GUICtrlRead($openapp_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1350,31) : WARNING: $closeapp_task: possibly used before declaration. If GUICtrlRead($closeapp_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1356,31) : WARNING: $shutdown_task: possibly used before declaration. If GUICtrlRead($shutdown_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1358,46) : WARNING: $shutdown_select: possibly used before declaration. $VALUE_WRITE = GUICtrlRead($shutdown_select) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1395,41) : WARNING: $browse_open_app_button: possibly used before declaration. GUICtrlSetState($browse_open_app_button, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1396,42) : WARNING: $browse_close_app_button: possibly used before declaration. GUICtrlSetState($browse_close_app_button, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1477,15) : WARNING: $LOAD_WIN: possibly used before declaration. If $LOAD_WIN = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1479,15) : WARNING: $PRIORITY: possibly used before declaration. If $PRIORITY = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1572,28) : WARNING: $testalarm: possibly used before declaration. GUICtrlSetState($testalarm, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1605,25) : WARNING: $startup: possibly used before declaration. If GUICtrlRead($startup) ~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1612,31) : WARNING: $del_old_check: possibly used before declaration. If GUICtrlRead($del_old_check) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1630,33) : WARNING: $priority_normal: possibly used before declaration. If GUICtrlRead($priority_normal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1634,31) : WARNING: $priority_idle: possibly used before declaration. If GUICtrlRead($priority_idle) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1638,31) : WARNING: $priority_high: possibly used before declaration. If GUICtrlRead($priority_high) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1642,39) : WARNING: $csv_sep: possibly used before declaration. $csv_seperator = GUICtrlRead($csv_sep) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1643,45) : WARNING: $html_title_input: possibly used before declaration. $html_title = GUICtrlRead($html_title_input) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(232,84) : WARNING: $html_temp1: declared global in function only. Prefer top of file. Global $html_temp1 = GUICtrlCreateRadio("White text/Black bkg", 180, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(233,83) : WARNING: $html_temp2: declared global in function only. Prefer top of file. Global $html_temp2 = GUICtrlCreateRadio("Red text/Yellow bkg", 340, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(234,83) : WARNING: $html_temp3: declared global in function only. Prefer top of file. Global $html_temp3 = GUICtrlCreateRadio("Green text/Blue bkg", 500, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(235,84) : WARNING: $html_temp4: declared global in function only. Prefer top of file. Global $html_temp4 = GUICtrlCreateRadio("Aqua text/Maroon bkg", 340, 256, 150, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(236,108) : WARNING: $html_custom: declared global in function only. Prefer top of file. Global $html_custom = GUICtrlCreateRadio("Or create your own template using HTML CSS:", 180, 320, 288, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(240,577) : WARNING: $html_css_input: declared global in function only. Prefer top of file. Global $html_css_input = GUICtrlCreateEdit("<!--These elements are used in the resultant HTML document : body,font,hr,h2. Please feel free to edit to your heart's content-->" & @CRLF & "<!--Please see http://www.w3schools.com/css/css_examples.asp for examples on how to use background images and other HTML enhancements.-->" & @CRLF & @CRLF & "<style>" & @CRLF & @CRLF & @CRLF & "body{background-color:black}" & @CRLF & "font{color:white}" & @CRLF & "font{font-size:large}" & @CRLF & "h2{color:gray}" & @CRLF & "hr{}" & @CRLF & @CRLF & @CRLF & "</style>", 180, 360, 500, 212) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(229,82) : WARNING: $html_save_info: declared global in function only. Prefer top of file. Global $html_save_info = GUICtrlCreateInput("", 288, 140, 400, 24, $ES_READONLY) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(237,90) : WARNING: $css_load: declared global in function only. Prefer top of file. Global $css_load = GUICtrlCreateButton("Load CalEntry Style File...", 180, 580, 160, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(238,90) : WARNING: $css_save: declared global in function only. Prefer top of file. Global $css_save = GUICtrlCreateButton("Save CalEntry Style File...", 520, 580, 160, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(239,78) : WARNING: $css_clear: declared global in function only. Prefer top of file. Global $css_clear = GUICtrlCreateButton("Clear editor...", 384, 580, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(473,100) : WARNING: $backup_settings: declared global in function only. Prefer top of file. Global $backup_settings = GUICtrlCreateCheckbox("Backup/Restore configuration", 180, 220, 195, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(476,68) : WARNING: $backup_comment: declared global in function only. Prefer top of file. Global $backup_comment = GUICtrlCreateInput("", 180, 320, 160, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(606,119) : WARNING: $TYPETASK: declared global in function only. Prefer top of file. Global $TYPETASK = IniRead($POS[1] & "-" & $POS[2] & "-" & $POS[3] & ".ENT", "ITEMS", "TASK" & $rrr, "NOTAVAIL") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(607,121) : WARNING: $TYPEVALUE: declared global in function only. Prefer top of file. Global $TYPEVALUE = IniRead($POS[1] & "-" & $POS[2] & "-" & $POS[3] & ".ENT", "ITEMS", "VALUE" & $rrr, "NOTAVAIL") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(814,66) : WARNING: $ITEMS: declared global in function only. Prefer top of file. Global $ITEMS = IniReadSection($load_date_ini & ".ent", "ITEMS") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1221,64) : WARNING: $open_label: declared global in function only. Prefer top of file. Global $open_label = GUICtrlCreateLabel("", 192, 215, 360, 18) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1222,65) : WARNING: $close_label: declared global in function only. Prefer top of file. Global $close_label = GUICtrlCreateLabel("", 384, 215, 360, 18) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1214,72) : WARNING: $reminder_task: declared global in function only. Prefer top of file. Global $reminder_task = GUICtrlCreateRadio("Reminder", 10, 64, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1219,79) : WARNING: $reminder_edit: declared global in function only. Prefer top of file. Global $reminder_edit = GUICtrlCreateInput("Reminder text", 12, 160, 160, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1231,70) : WARNING: $time_hour: declared global in function only. Prefer top of file. Global $time_hour = GUICtrlCreateCombo("", 12, 316, 48, 128, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1236,86) : WARNING: $time_mins: declared global in function only. Prefer top of file. Global $time_mins = GUICtrlCreateCombo("", 128, 316, 48, 128, BitOR(0x0003, 0x0040)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1216,81) : WARNING: $openapp_task: declared global in function only. Prefer top of file. Global $openapp_task = GUICtrlCreateRadio("Open Application", 192, 64, 134, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1217,83) : WARNING: $closeapp_task: declared global in function only. Prefer top of file. Global $closeapp_task = GUICtrlCreateRadio("Close Application", 384, 64, 134, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1218,73) : WARNING: $shutdown_task: declared global in function only. Prefer top of file. Global $shutdown_task = GUICtrlCreateRadio("Shutdown", 540, 64, 92, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1224,76) : WARNING: $shutdown_select: declared global in function only. Prefer top of file. Global $shutdown_select = GUICtrlCreateCombo("", 535, 160, 96, 80, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1220,85) : WARNING: $browse_open_app_button: declared global in function only. Prefer top of file. Global $browse_open_app_button = GUICtrlCreateButton("Browse...", 192, 160, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1223,86) : WARNING: $browse_close_app_button: declared global in function only. Prefer top of file. Global $browse_close_app_button = GUICtrlCreateButton("Browse...", 384, 160, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1456,82) : WARNING: $testalarm: declared global in function only. Prefer top of file. Global $testalarm = GUICtrlCreateButton("Test alarm sound...", 124, 100, -1, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1450,89) : WARNING: $startup: declared global in function only. Prefer top of file. Global $startup = GUICtrlCreateCheckbox("Load at Windows startup (Recommended)", 8, 14) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1451,92) : WARNING: $del_old_check: declared global in function only. Prefer top of file. Global $del_old_check = GUICtrlCreateCheckbox("Auto delete dates older than today", 8, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1458,73) : WARNING: $priority_normal: declared global in function only. Prefer top of file. Global $priority_normal = GUICtrlCreateRadio("Normal", 80, 158, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1459,69) : WARNING: $priority_idle: declared global in function only. Prefer top of file. Global $priority_idle = GUICtrlCreateRadio("Idle", 80, 174, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1460,69) : WARNING: $priority_high: declared global in function only. Prefer top of file. Global $priority_high = GUICtrlCreateRadio("High", 80, 190, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1463,66) : WARNING: $csv_sep: declared global in function only. Prefer top of file. Global $csv_sep = GUICtrlCreateCombo("", 8, 290, 96, 32, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3(1466,68) : WARNING: $html_title_input: declared global in function only. Prefer top of file. Global $html_title_input = GUICtrlCreateInput("", 8, 340, 224, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\Calentry\new_calentry.au3 - 0 error(s), 41 warning(s) Link to comment Share on other sites More sharing options...
Mcky Posted October 28, 2005 Author Share Posted October 28, 2005 (edited) It's because I developed it with AutoIT 3.1.1.60 and by the time 3.1.1.84 came out,there were a lot of syntax changes,but the script still ran without any problems in 3.1.1.60 and 3.1.1.84. Or it could be due to my bad coding. Nevertheless,it still ran without any errors. Make sure you are running AutoIT Beta 3.1.1.60 or above. It could be Windows 98? Because I only tested it on my Windows XP Pro SP2 but it should be compatible on all Windows 32-bit OS. Edited October 29, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
poisonkiller Posted October 28, 2005 Share Posted October 28, 2005 This one worked, but i checked it out with SciTe and i get 41 warnings: expandcollapse popupC:\WINDOWS\Desktop\New Folder\new_calentry.au3(45,19) : WARNING: $start_del_old: possibly used before declaration. If $start_del_old = ~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(273,25) : WARNING: $SAVE_HTML_DOCUMENT: possibly used before declaration. If $SAVE_HTML_DOCUMENT = ~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(304,28) : WARNING: $html_temp1: possibly used before declaration. If GUICtrlRead($html_temp1) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(313,28) : WARNING: $html_temp2: possibly used before declaration. If GUICtrlRead($html_temp2) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(322,28) : WARNING: $html_temp3: possibly used before declaration. If GUICtrlRead($html_temp3) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(331,28) : WARNING: $html_temp4: possibly used before declaration. If GUICtrlRead($html_temp4) ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(340,29) : WARNING: $html_custom: possibly used before declaration. If GUICtrlRead($html_custom) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(341,65) : WARNING: $html_css_input: possibly used before declaration. FileWriteLine($SAVE_HTML_DOCUMENT, GUICtrlRead($html_css_input) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(403,33) : WARNING: $html_save_info: possibly used before declaration. GUICtrlSetData($html_save_info, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(450,27) : WARNING: $css_load: possibly used before declaration. GUICtrlSetState($css_load, ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(451,27) : WARNING: $css_save: possibly used before declaration. GUICtrlSetState($css_save, ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(452,28) : WARNING: $css_clear: possibly used before declaration. GUICtrlSetState($css_clear, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(518,33) : WARNING: $backup_settings: possibly used before declaration. If GUICtrlRead($backup_settings) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(519,96) : WARNING: $backup_comment: possibly used before declaration. IniWrite($backup_location & "\CALDATA.DAT", "COMMENTS", "COMMENT", GUICtrlRead($backup_comment) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(660,15) : WARNING: $TYPETASK: possibly used before declaration. If $TYPETASK = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(660,42) : WARNING: $TYPEVALUE: possibly used before declaration. If $TYPETASK = "NOTAVAIL" Or $TYPEVALUE = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(662,21) : WARNING: $DEFAULT_ALARM: possibly used before declaration. If $DEFAULT_ALARM = ~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(663,29) : WARNING: $ALARM_FILE: possibly used before declaration. If FileExists($ALARM_FILE) ~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(984,37) : WARNING: $ITEMS: possibly used before declaration. If $adv_tree[0] = $ITEMS[$qqq][1] Then ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1318,28) : WARNING: $open_label: possibly used before declaration. GUICtrlSetData($open_label, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1331,29) : WARNING: $close_label: possibly used before declaration. GUICtrlSetData($close_label, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1339,31) : WARNING: $reminder_task: possibly used before declaration. If GUICtrlRead($reminder_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1341,54) : WARNING: $reminder_edit: possibly used before declaration. $VALUE_WRITE = StringMid(GUICtrlRead($reminder_edit) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1342,39) : WARNING: $time_hour: possibly used before declaration. $TIME_WRITE = GUICtrlRead($time_hour) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1342,71) : WARNING: $time_mins: possibly used before declaration. $TIME_WRITE = GUICtrlRead($time_hour) & ":" & GUICtrlRead($time_mins) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1345,30) : WARNING: $openapp_task: possibly used before declaration. If GUICtrlRead($openapp_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1351,31) : WARNING: $closeapp_task: possibly used before declaration. If GUICtrlRead($closeapp_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1357,31) : WARNING: $shutdown_task: possibly used before declaration. If GUICtrlRead($shutdown_task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1359,46) : WARNING: $shutdown_select: possibly used before declaration. $VALUE_WRITE = GUICtrlRead($shutdown_select) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1396,41) : WARNING: $browse_open_app_button: possibly used before declaration. GUICtrlSetState($browse_open_app_button, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1397,42) : WARNING: $browse_close_app_button: possibly used before declaration. GUICtrlSetState($browse_close_app_button, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1478,15) : WARNING: $LOAD_WIN: possibly used before declaration. If $LOAD_WIN = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1480,15) : WARNING: $PRIORITY: possibly used before declaration. If $PRIORITY = ~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1573,28) : WARNING: $testalarm: possibly used before declaration. GUICtrlSetState($testalarm, ~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1606,25) : WARNING: $startup: possibly used before declaration. If GUICtrlRead($startup) ~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1613,31) : WARNING: $del_old_check: possibly used before declaration. If GUICtrlRead($del_old_check) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1631,33) : WARNING: $priority_normal: possibly used before declaration. If GUICtrlRead($priority_normal) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1635,31) : WARNING: $priority_idle: possibly used before declaration. If GUICtrlRead($priority_idle) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1639,31) : WARNING: $priority_high: possibly used before declaration. If GUICtrlRead($priority_high) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1643,39) : WARNING: $csv_sep: possibly used before declaration. $csv_seperator = GUICtrlRead($csv_sep) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1644,45) : WARNING: $html_title_input: possibly used before declaration. $html_title = GUICtrlRead($html_title_input) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(233,84) : WARNING: $html_temp1: declared global in function only. Prefer top of file. Global $html_temp1 = GUICtrlCreateRadio("White text/Black bkg", 180, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(234,83) : WARNING: $html_temp2: declared global in function only. Prefer top of file. Global $html_temp2 = GUICtrlCreateRadio("Red text/Yellow bkg", 340, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(235,83) : WARNING: $html_temp3: declared global in function only. Prefer top of file. Global $html_temp3 = GUICtrlCreateRadio("Green text/Blue bkg", 500, 224, 140, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(236,84) : WARNING: $html_temp4: declared global in function only. Prefer top of file. Global $html_temp4 = GUICtrlCreateRadio("Aqua text/Maroon bkg", 340, 256, 150, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(237,108) : WARNING: $html_custom: declared global in function only. Prefer top of file. Global $html_custom = GUICtrlCreateRadio("Or create your own template using HTML CSS:", 180, 320, 288, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(241,577) : WARNING: $html_css_input: declared global in function only. Prefer top of file. Global $html_css_input = GUICtrlCreateEdit("<!--These elements are used in the resultant HTML document : body,font,hr,h2. Please feel free to edit to your heart's content-->" & @CRLF & "<!--Please see http://www.w3schools.com/css/css_examples.asp for examples on how to use background images and other HTML enhancements.-->" & @CRLF & @CRLF & "<style>" & @CRLF & @CRLF & @CRLF & "body{background-color:black}" & @CRLF & "font{color:white}" & @CRLF & "font{font-size:large}" & @CRLF & "h2{color:gray}" & @CRLF & "hr{}" & @CRLF & @CRLF & @CRLF & "</style>", 180, 360, 500, 212) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(230,82) : WARNING: $html_save_info: declared global in function only. Prefer top of file. Global $html_save_info = GUICtrlCreateInput("", 288, 140, 400, 24, $ES_READONLY) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(238,90) : WARNING: $css_load: declared global in function only. Prefer top of file. Global $css_load = GUICtrlCreateButton("Load CalEntry Style File...", 180, 580, 160, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(239,90) : WARNING: $css_save: declared global in function only. Prefer top of file. Global $css_save = GUICtrlCreateButton("Save CalEntry Style File...", 520, 580, 160, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(240,78) : WARNING: $css_clear: declared global in function only. Prefer top of file. Global $css_clear = GUICtrlCreateButton("Clear editor...", 384, 580, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(474,100) : WARNING: $backup_settings: declared global in function only. Prefer top of file. Global $backup_settings = GUICtrlCreateCheckbox("Backup/Restore configuration", 180, 220, 195, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(477,68) : WARNING: $backup_comment: declared global in function only. Prefer top of file. Global $backup_comment = GUICtrlCreateInput("", 180, 320, 160, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(607,119) : WARNING: $TYPETASK: declared global in function only. Prefer top of file. Global $TYPETASK = IniRead($POS[1] & "-" & $POS[2] & "-" & $POS[3] & ".ENT", "ITEMS", "TASK" & $rrr, "NOTAVAIL") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(608,121) : WARNING: $TYPEVALUE: declared global in function only. Prefer top of file. Global $TYPEVALUE = IniRead($POS[1] & "-" & $POS[2] & "-" & $POS[3] & ".ENT", "ITEMS", "VALUE" & $rrr, "NOTAVAIL") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(815,66) : WARNING: $ITEMS: declared global in function only. Prefer top of file. Global $ITEMS = IniReadSection($load_date_ini & ".ent", "ITEMS") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1222,64) : WARNING: $open_label: declared global in function only. Prefer top of file. Global $open_label = GUICtrlCreateLabel("", 192, 215, 360, 18) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1223,65) : WARNING: $close_label: declared global in function only. Prefer top of file. Global $close_label = GUICtrlCreateLabel("", 384, 215, 360, 18) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1215,72) : WARNING: $reminder_task: declared global in function only. Prefer top of file. Global $reminder_task = GUICtrlCreateRadio("Reminder", 10, 64, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1220,79) : WARNING: $reminder_edit: declared global in function only. Prefer top of file. Global $reminder_edit = GUICtrlCreateInput("Reminder text", 12, 160, 160, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1232,70) : WARNING: $time_hour: declared global in function only. Prefer top of file. Global $time_hour = GUICtrlCreateCombo("", 12, 316, 48, 128, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1237,86) : WARNING: $time_mins: declared global in function only. Prefer top of file. Global $time_mins = GUICtrlCreateCombo("", 128, 316, 48, 128, BitOR(0x0003, 0x0040)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1217,81) : WARNING: $openapp_task: declared global in function only. Prefer top of file. Global $openapp_task = GUICtrlCreateRadio("Open Application", 192, 64, 134, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1218,83) : WARNING: $closeapp_task: declared global in function only. Prefer top of file. Global $closeapp_task = GUICtrlCreateRadio("Close Application", 384, 64, 134, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1219,73) : WARNING: $shutdown_task: declared global in function only. Prefer top of file. Global $shutdown_task = GUICtrlCreateRadio("Shutdown", 540, 64, 92, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1225,76) : WARNING: $shutdown_select: declared global in function only. Prefer top of file. Global $shutdown_select = GUICtrlCreateCombo("", 535, 160, 96, 80, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1221,85) : WARNING: $browse_open_app_button: declared global in function only. Prefer top of file. Global $browse_open_app_button = GUICtrlCreateButton("Browse...", 192, 160, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1224,86) : WARNING: $browse_close_app_button: declared global in function only. Prefer top of file. Global $browse_close_app_button = GUICtrlCreateButton("Browse...", 384, 160, 96, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1457,82) : WARNING: $testalarm: declared global in function only. Prefer top of file. Global $testalarm = GUICtrlCreateButton("Test alarm sound...", 124, 100, -1, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1451,89) : WARNING: $startup: declared global in function only. Prefer top of file. Global $startup = GUICtrlCreateCheckbox("Load at Windows startup (Recommended)", 8, 14) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1452,92) : WARNING: $del_old_check: declared global in function only. Prefer top of file. Global $del_old_check = GUICtrlCreateCheckbox("Auto delete dates older than today", 8, 32) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1459,73) : WARNING: $priority_normal: declared global in function only. Prefer top of file. Global $priority_normal = GUICtrlCreateRadio("Normal", 80, 158, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1460,69) : WARNING: $priority_idle: declared global in function only. Prefer top of file. Global $priority_idle = GUICtrlCreateRadio("Idle", 80, 174, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1461,69) : WARNING: $priority_high: declared global in function only. Prefer top of file. Global $priority_high = GUICtrlCreateRadio("High", 80, 190, 80, -1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1464,66) : WARNING: $csv_sep: declared global in function only. Prefer top of file. Global $csv_sep = GUICtrlCreateCombo("", 8, 290, 96, 32, 0x0003) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3(1467,68) : WARNING: $html_title_input: declared global in function only. Prefer top of file. Global $html_title_input = GUICtrlCreateInput("", 8, 340, 224, 24) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\WINDOWS\Desktop\New Folder\new_calentry.au3 - 0 error(s), 41 warning(s) Link to comment Share on other sites More sharing options...
Mcky Posted October 28, 2005 Author Share Posted October 28, 2005 (edited) I too have 41 warnings detected when I opened my script in Scite 1.62. Perhaps I did not declare the variables used. Well,at least the script and compiled script work without any problems,it is pretty much OK. Edited October 28, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
poisonkiller Posted October 28, 2005 Share Posted October 28, 2005 I declared all variables and i did some little changes, but i cant test it(im going to sleep:)) so i post .au3 file.new_calentry.au3 Link to comment Share on other sites More sharing options...
Valuater Posted October 28, 2005 Share Posted October 28, 2005 nice job.... Mcky looks great too thanks for sharing 8) Link to comment Share on other sites More sharing options...
Celeri Posted October 28, 2005 Share Posted October 28, 2005 (edited) Wow you must have put 1000+ hours on this! Well anyways, here's three simple suggestions: - Make the first post of this topic the place where people can get the latest version of your script. It's a bit more work but it really makes it easier for the people who like your work to stay up to date - Add in your signature a link to all the UDFs and programs that you wrote so people who like what you did can go and see your other work - In your script make a check to make sure people are using the right version of AutoIT and use MsgBox to alert them if they aren't. Since it seems @AutoItVersion can be affected by somene compiling a script and changing the version number of a program, you have to rely on "smarter" ways to find out. As an example, ever since AutoIT 3.1.1.77, AutoIT can handle chr(0) in a string ... so try this If Not StringLen(Chr(0)) Then ; Pre .77 versions will return 0. Anything after this returns 1 I'll be checking out your program in the day or so ... and I'll report here with any constructive suggestion that I have Thanks! Edited October 28, 2005 by Celeri I am endeavoring, ma'am, to construct a mnemonic circuit using stone knives and bearskins.SpockMy UDFs:Deleted - they were old and I'm lazy ... :)My utilities:Comment stripperPolicy lister 1.07AutoIT Speed Tester (new!) Link to comment Share on other sites More sharing options...
busysignal Posted October 29, 2005 Share Posted October 29, 2005 (edited) I too have 41 warnings detected when I opened my script in Scite 1.62. Perhaps I did not declare the variables used.Well,at least the script and compiled script work without any problems,it is pretty much OK.@Mcky, just looked over your code I can see why these warnings appear. You are treating everything as globals but creating variables in Functions without passing them as parameters. If you want to use global variables then define them all in the beginning. It would take a bit of work to redo it as it stands but possible to get past all the compliation warnings. But I rated you at 5-stars for great work!Just my two-cents..Cheers.. Edited October 29, 2005 by busysignal Link to comment Share on other sites More sharing options...
Mcky Posted October 29, 2005 Author Share Posted October 29, 2005 (edited) Thank you,busysignal, for the comment and rating. This will be a lesson for me to declare all global variables for all of my future scripts. Edited October 29, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
Mcky Posted October 29, 2005 Author Share Posted October 29, 2005 (edited) The latest 1.6+bugfix is released.Fixed:Does not create any more tasks on certain datesThe download link is at the first post.Thanks. Edited October 29, 2005 by Mcky My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote] Link to comment Share on other sites More sharing options...
busysignal Posted October 30, 2005 Share Posted October 30, 2005 The latest 1.6+bugfix is released.Fixed:Does not create any more tasks on certain datesThe download link is at the first post.Thanks.Works GREAT! Nice features with the exports. The code looked like a bit of work. Cheers.. Link to comment Share on other sites More sharing options...
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