Search found 1769 matches

by malcev
16 Jun 2023, 23:46
Forum: Ask for Help (v1)
Topic: Does activeX control support CSS animation? Topic is solved
Replies: 7
Views: 761

Re: Does activeX control support CSS animation? Topic is solved

Need to set undocumented feature - FEATURE_ALIGNED_TIMERS. On startup of application, before instantiating the browser control, set the following feature control registry keys under HKCU: FEATURE_BROWSER_EMULATION – set to the desired version of the IE rendering engine FEATURE_GPU_RENDERING – set to...
by malcev
16 Jun 2023, 11:14
Forum: Ask for Help (v1)
Topic: Does activeX control support CSS animation? Topic is solved
Replies: 7
Views: 761

Re: Does activeX control support CSS animation? Topic is solved

You dont need any magic for such a task.

Code: Select all

Gui Add, ActiveX, w980 h981 vWB, about:<!DOCTYPE html><meta http-equiv="X-UA-Compatible" content="IE=edge">
html := "
(
<!DOCTYPE html><html>
<head>
<style> 
div
{
....
by malcev
12 Jun 2023, 18:37
Forum: Ask for Help (v1)
Topic: Click GMail print all button
Replies: 5
Views: 415

Re: Click GMail print all button

Read about iaccessible.
by malcev
12 Jun 2023, 18:33
Forum: Ask for Help (v2)
Topic: stop media from playing script
Replies: 13
Views: 1185

Re: stop media from playing script

There is no universal procedure to pause any existing player on the Internet (if there is, let me know ;) )
viewtopic.php?f=6&p=515098
by malcev
07 Jun 2023, 21:27
Forum: Ask for Help (v2)
Topic: Can Autohotkey detect a text at a certain coordinate?
Replies: 2
Views: 323

Re: Can Autohotkey detect a text at a certain coordinate?

You dont need ocr for searching in pdf.
There are several libraries that can do such a task, for example:
https://stackoverflow.com/questions/4740157/how-to-find-x-y-location-of-a-text-in-pdf
by malcev
05 Jun 2023, 12:33
Forum: Ask for Help (v1)
Topic: Can anyone implement a simple tesseract dllcall example? Topic is solved
Replies: 16
Views: 4439

Re: Can anyone implement a simple tesseract dllcall example? Topic is solved

I free like this:

Code: Select all

DllCall("libtesseract500\TessDeleteText", "ptr", pStr)
DllCall("libtesseract500\TessBaseAPIClear", "ptr", hApi)
DllCall("libtesseract500\TessBaseAPIEnd", "ptr", hApi)
DllCall("libtesseract500\TessBaseAPIDelete", "ptr", hApi)
by malcev
25 May 2023, 07:49
Forum: General Discussion
Topic: New Outlook for Windows drops COM support
Replies: 12
Views: 3228

Re: New Outlook for Windows drops COM support

I never used outlook therefore dont know.
Its path is C:\Program Files\Microsoft Office\root\Office16\
And its version is 16.0.16227.20318
by malcev
25 May 2023, 05:57
Forum: General Discussion
Topic: New Outlook for Windows drops COM support
Replies: 12
Views: 3228

Re: New Outlook for Windows drops COM support

I just tried it on clean Windows 11 Enterprise 22621.1702 Cloud PC.
If there are no running instances of outlook then ComObjCreate("Outlook.Application") works correctly.
by malcev
16 May 2023, 19:08
Forum: Ask for Help (v1)
Topic: AHK with TCP and UDP for accessing Blackmagic products
Replies: 3
Views: 1073

Re: AHK with TCP and UDP for accessing Blackmagic products

As I see Blackmagic has com object with iunknown interface.
So, You can download ATEM Switchers 9.0.1 SDK, read it and try to convert to ahk.
https://www.blackmagicdesign.com/developer/product/atem
by malcev
14 May 2023, 12:33
Forum: Scripts and Functions (v2)
Topic: mpv.dll perfect picture/video control
Replies: 13
Views: 2409

Re: mpv.dll perfect picture/video control

If You just change strbuf to strput - of course it willnot work.
You need to create buffer and so on...
Look at examples of strput.
by malcev
14 May 2023, 09:52
Forum: Ask for Help (v2)
Topic: Virtual desktop set focus to top window Topic is solved
Replies: 11
Views: 1029

Re: Virtual desktop set focus to top window Topic is solved

You have 2 variants
1) Go to ahk v1.
2) Wait for somebody to convert it to ahk v2.
by malcev
14 May 2023, 08:56
Forum: Ask for Help (v2)
Topic: Virtual desktop set focus to top window Topic is solved
Replies: 11
Views: 1029

Re: Virtual desktop set focus to top window Topic is solved

It is better to catch desktop switching event - CurrentVirtualDesktopChanged.
For that task You need to write com events handling interface by Yourself.
https://github.com/zrwang/AutoHotKeyScripts/blob/master/VD.ahk-class_VD/_VD.ahk
by malcev
14 May 2023, 08:41
Forum: Scripts and Functions (v2)
Topic: mpv.dll perfect picture/video control
Replies: 13
Views: 2409

Re: mpv.dll perfect picture/video control

Try to use strput instead of strbuf.
Tulip, why You didnot write which archive need to download to get libmpv-2.dll?
by malcev
10 May 2023, 12:17
Forum: Ask for Help (v2)
Topic: autokey and Phidget
Replies: 2
Views: 240

Re: autokey and Phidget

Try to register Phidget21COM.dll.
by malcev
09 May 2023, 15:15
Forum: Scripts and Functions (v1)
Topic: ActiveScript - Host VBScript and JScript in-process
Replies: 46
Views: 42201

Re: ActiveScript - Host VBScript and JScript in-process

Also if We run this on autohotkey v2 We get that "a" is equal not 1.035 but 1.0349999999999999 I think it looks buggy. sScript := "(function(){var obj = {a: 1.035};return obj;})();" DllCall("LoadLibrary", "str", "ChakraCore.dll", "ptr") DllCall("ChakraCore.dll\JsCreateRuntime", "uint", 0, "ptr", 0, ...
by malcev
09 May 2023, 09:53
Forum: Scripts and Functions (v1)
Topic: ActiveScript - Host VBScript and JScript in-process
Replies: 46
Views: 42201

Re: ActiveScript - Host VBScript and JScript in-process

Yes, Thank You! You absolutely right - on ahk it shows string with zeroes: sScript = eval("2147483648"); DllCall("LoadLibrary", "str", "ChakraCore.dll", "ptr") DllCall("ChakraCore.dll\JsCreateRuntime", "uint", 0, "ptr", 0, "ptr*", hRuntime) DllCall("ChakraCore.dll\JsCreateContext", "ptr", hRuntime, ...

Go to advanced search