Jump to content

water

MVPs
  • Posts

    26,744
  • Joined

  • Last visited

  • Days Won

    206

water last won the day on November 19 2025

water had the most liked content!

About water

Recent Profile Visitors

13,283 profile views

water's Achievements

  1. BTW: I suggest to use the proposed naming convention as described here. So you always know which type of data to expect from a variable
  2. lets me think that some type of data is invalid. Can you please insert the following lines ahead of the failing statement in line #242? Consolewrite("Value of $amount: '" & $amount & "', Variable Type of $amount: " & VargetType($amount) & @CRLF) Consolewrite("Value of $Text: '" & $Text & "', Variable Type of $Text: " & VargetType($Text) & @CRLF)
  3. This has already been answered in post #1 by the OP 😉
  4. Or download my PPT UDF (for download please see my signature), grab function _PPT_ErrorNotify, add it to your script and call _PPT_ErrorNotify(1) at the op of your script. You will get all COM errors written to the console.
  5. When I'm working with COM objects I ALWAYS install a COM error handler and check @error and @extended after each function call of an UDF. Toady's PPT UDF does not use a COM error handler. Often some function causes the problem in first place. If unhandled, your script will crash on another line. This is very hard to debug. I suggest to add a COM error handler to your script to get better debugging information about the line that really causes the problem.
  6. Welcome to AutoIt and the forum! You noticed that the last post is nearly 13 years old and the OP has been absent since then?
  7. I had a similar problem a long time ago. A server application started my script. In rare cases, the script crashed due to faulty data. Trancexx helped me with this code.
  8. Added this UDF to the wiki
  9. Added this UDF to the Wiki
  10. Added this UDF to the Wiki
  11. Workaround: Use Ctrl+a to select all text of the page and make it readable
  12. Do you run the "AutoIt (Dark)" theme? The dark mode caused the unreadable text.
  13. Not that I know of. InputBox is limited to 254 characters. Creating a GUI is quite easy. Open the help file (F1 in SciTE) and search for GUICtrlCreateInput. At the end of the page you will find a simple example that can be stripped down to just a few lines of code.
  14. So you are a real language ✨Universalist ✨
  15. It’s Argumentum who is active here and on the german forum.
×
×
  • Create New...