Jump to content

water

MVPs
  • Posts

    26,754
  • Joined

  • Last visited

  • Days Won

    206

water last won the day on November 19 2025

water had the most liked content!

Recent Profile Visitors

13,761 profile views

water's Achievements

  1. $sText = $oDoc.Shapes("Group 5").GroupItems("Text Box 8").TextFrame.TextRange.Text Should return the text. You can find an example of how to edit the text in Microsofts Office Reference.
  2. And the result of this check is?
  3. I suggest to check for errors returned by SheellExecute.
  4. User Dotaznik wanted to tell you that you have to replace $Rights_Delete to $STANDARD_RIGHTS_DELETE in your script. This is true for $SYNCHRONIZE as well. The Standard_* constants can be found in the SecurityConstants.au3 include file.
  5. I'm unable to reproduce your problem! Which version of Excel do you run? Could you translate your XLS workbook to XLSX and test again?
  6. Select Case $iDPI >= 100 and $iDPI <= 400 $t.itemWidth = $iTextWidth - ($idPI-100)/25 Case Else $t.itemWidth = $iTextWidth - 5 EndSelect
  7. Added this UDF to the wiki
  8. There is an UDF available for LibreOffice. This way you can easily write data to a spreadsheet.
  9. 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
  10. 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)
  11. This has already been answered in post #1 by the OP 😉
  12. 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.
  13. 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.
×
×
  • Create New...