apitos Posted October 2, 2020 Share Posted October 2, 2020 Good morning all, How could I create an alert using AutoIt language? For example, at a specific time, saying 3:00 p.m., and for 5 days a week, a message is displayed on the screen. I'm sorry, English is not my mother tongue. Thank you. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 2, 2020 Moderators Share Posted October 2, 2020 apitos, Welcome to the AutoIt forums. Look in the Helpfile for the @MDAY, @HOUR and @MIN macros - then create a loop (While...WEnd) to check the current day of the week and time (If...Then...EndIf). When all the conditions are met create a GUI (GUICreate). Have a go yourself and come back if you run into problems. M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Nine Posted October 2, 2020 Share Posted October 2, 2020 I personally would go with the task scheduler instead of having an ongoing process running all the time just to check if it is time (or not) on the right day. Just create a small script that would display whatever you want, compile it, enter task scheduler and inscribe the right parameters. Voilà ! Musashi 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Zedna Posted October 2, 2020 Share Posted October 2, 2020 Instead of GUICreate() you may use SplashTextOn(). That is much more simple and for simple texts it can be sufficient, especialy for AutoIt's beginners. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Skysnake Posted October 27, 2020 Share Posted October 27, 2020 If you go with @water's OutlookxxxUDFs you can insert your alert into Outlook, and Microsoft will take care of it for you. caramen 1 Skysnake Why is the snake in the sky? 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