Search found 9 matches

by ovidiugabriel
13 Nov 2023, 06:22
Forum: Ask for Help (v1)
Topic: Help opens in background
Replies: 1
Views: 192

Help opens in background

Hello, On Windows 10 running AHK 1.1 script, the AHK Help Window opens in the background at the same time when my script runs with AHK. It is possible to prevent the help window? Or what is the cause of this problem? I have only one machine where this happens. On all other machines the script is exe...
by ovidiugabriel
06 Oct 2023, 03:50
Forum: Ask for Help (v1)
Topic: Circumvent screen lock timeout - script fails
Replies: 4
Views: 1325

Re: Circumvent screen lock timeout - script fails

Hello, I used a very similar similar script (also sending ScrollLock) but it stopped working this week. Even if I send WindowKey+D for example, it switches to desktop and back but the screen lock still happens. Are you aware of any change in Windows OS that might cause this? There is any change in t...
by ovidiugabriel
11 Nov 2020, 13:56
Forum: Ask for Help (v1)
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 519

Re: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

@Xtra Do you have any idea where is the git repo where I can see Line 190 in JSON.cs ?
by ovidiugabriel
08 Nov 2020, 16:51
Forum: Ask for Help (v1)
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 519

Re: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

Actually the code already has that paren'.
Sorry, it was a mistake when I pasted the code on the forum.
Xtra wrote:
08 Nov 2020, 14:55
Missing closing )
Try fixing that 1st
by ovidiugabriel
08 Nov 2020, 14:46
Forum: Ask for Help (v1)
Topic: Selenium.Serializer.JsonException: Object of type __ComObject is not serializable
Replies: 4
Views: 519

Selenium.Serializer.JsonException: Object of type __ComObject is not serializable

Hello, I have the following error while calling Selenium function SetCapability from Autohotkey Error: 0x80131500 - Source: Selenium Description: Selenium.Serializer.JsonException Line 190 in JSON.cs Object of type __ComObject is not serializable HelpFile: (null) Helpcontext: 0 Specifically: Get Lin...
by ovidiugabriel
19 Jul 2019, 03:30
Forum: Tips and Tricks (v1)
Topic: AHK/CLR/OpenXml - Office docs w/o Office
Replies: 5
Views: 6119

Re: AHK/CLR/OpenXml - Office docs w/o Office

Hello, It looks like a method is accessible only if it returns primitive types? In my case DocumentFormat.OpenXml.Packaging.SpreadsheetDocument does not have any public constructors so I cannot create a SpreadsheetDocument using CLR_CreateObject . The following code produces the error: Error: 0x8013...
by ovidiugabriel
18 Jul 2019, 10:13
Forum: Tips and Tricks (v1)
Topic: AHK/CLR/OpenXml - Office documents w/o MS Excel
Replies: 4
Views: 5198

Re: AHK/CLR/OpenXml - Office documents w/o MS Excel

I would like to use this in my project. The trouble with this is that I want to use AHK/CLR/OpenXml without writing C# glue code for this. Sometimes the OpenXml library requires invoking static methods like SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Create(fileName, SpreadsheetDoc...
by ovidiugabriel
18 Jul 2019, 09:49
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 201
Views: 119374

Re: .NET Framework Interop (CLR, C#, VB)

Hello, I am not an expert in .NET/CLR internals, maybe my question is dumb. :oops: How does the compiler know where to lookup for DLL in the References list? I am asking because I searched on my computer and I have 19 instances of WindowsBase.dll, and 10 instances of DocumentFormat.OpenXml.dll Until...
by ovidiugabriel
10 Jul 2019, 10:07
Forum: Ask for Help (v1)
Topic: Problem opening an .xlsx file via LibreOffice's COM interface
Replies: 0
Views: 582

Problem opening an .xlsx file via LibreOffice's COM interface

Hello, I want to open an .xlsx file using LibreOffice. But when I specify "ReadOnly" argument to loadComponentFromURL I get com.sun.star.lang.IllegalArgumentException Error: 0x800405E9 from "automation bridge". I need to use ReadOnly mode to avoid the popup that is shown each time the file is locked...

Go to advanced search