caocat Posted August 3, 2024 Posted August 3, 2024 I have created a program that alarms at a fixed time. However there was an error. Sometimes active, sometimes inactive. Sometimes at the same time the bell rings twice. Please help me edit the code. Thank you. RingAlarm.au3Fetching info...
Nine Posted August 3, 2024 Posted August 3, 2024 (edited) When you post code, please use the method shown in the link. Your statement is badly written If @WDAY= 2 or 3 or 4 or 5 or 6 or 7 It should be If @WDAY= 2 or @WDAY=3 or @WDAY=4 or @WDAY=5 or @WDAY=6 or @WDAY=7 Or even better If @WDAY >= 2 And @WDAY <= 7 Or simpler If @WDAY <> 1 Edited August 3, 2024 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Reveal hidden contents 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) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
caocat Posted August 3, 2024 Author Posted August 3, 2024 Thank you. I will pay close attention next time.
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