Interesting discussion, hi @mLipok 👋 .
I looked into the GuiRichEdit.au3 file (in the default AutoIt include folder) and it's based on "OLE32.DLL" as I can tell. This means, as far as I understand, nothing will change when VBScript is banned from the systems (Win11 or even Win10). The rich text format (.rtf) will remain, only VBScript is no longer available as a scripting language than.
Best regards
Sven
https://superuser.com/a/1859074/1049106
Finally I use:
@page {size: a4 portrait !important;}
with add0n.com/stylus.html and this works fine.
Now I have to add this to my WebDriver CSS injector.
navigate to https://www.autoitscript.com/forum/forum/2-autoit-general-help-and-support/
press button "Start new topic"
add your title and description of your question(s) / topic
Then @samibb you probably will get helped.
Best regards
Sven
@extended contains the Returncode (GetLastError) from DeleteFileW function ( https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-deletefilew)
LAST VERSION - 1.0 07-Mar-10 This is my very simple and small UDF. Allows you to restart the script from any location with full restoration of the original command line parameters. I use this library in several of my programs, and I was not disappointed. I hope this UDF will be useful for many as for me. I will be glad to any feedback and suggestions. Restart UDF Library v1.0 Previous downloads: 943 Restart.au3 Example #NoTrayIcon
#Include <Misc.au3>
#Include <Restart.au3>
_Singleton('MyProgram')
If MsgBox(36, 'Restarting...', 'Press OK to restart this script.') = 6 Then
_ScriptRestart()
EndIf