Search found 835 matches

by malcev
26 Dec 2020, 20:26
Forum: Ask For Help
Topic: Plugin Window Topic is solved
Replies: 51
Views: 4489

Re: Plugin Window Topic is solved

Render button always has the same offset from window position.
Therefore it is easy to get its position.
by malcev
15 Dec 2020, 14:26
Forum: Ask For Help
Topic: Open PDF-file with AHK Topic is solved
Replies: 10
Views: 838

Re: Open PDF-file with AHK Topic is solved

I felt that it would be better, if first the PDF-file (one page) was converted to an image, It is done here https://www.autohotkey.com/boards/viewtopic.php?p=368404#p368404 I am only interested in a certain area from the PDF-file. This API has option for this https://docs.microsoft.com/en-us/uwp/ap...
by malcev
10 Dec 2020, 15:53
Forum: AutoHotkey v2 Scripts and Functions
Topic: eval() - string math expressions (in AHK syntax) - 2020/12/21 - a122
Replies: 4
Views: 270

Re: eval() - string math expressions (in AHK syntax) - 2020/12/10 - a122

You can do math like this: js := new JsRT.Edge MsgBox % js.Eval("3**3") /* * ActiveScript for AutoHotkey v1.1 * * Provides an interface to Active Scripting languages like VBScript and JScript, * without relying on Microsoft's ScriptControl, which is not available to 64-bit * programs. * * License: U...
by malcev
09 Dec 2020, 01:53
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 158715

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Just dont use buggy and slow json class by Coco.
teadrinker`s json class works ok with this command.
by malcev
06 Dec 2020, 15:14
Forum: Ask For Help
Topic: How to view PDF with Windows API? (PDF -> bitmap)
Replies: 18
Views: 1151

Re: How to view PDF with Windows API? (PDF -> bitmap)

I didnot find any variant, only like this

Code: Select all

DllCall("psapi.dll\EmptyWorkingSet", "ptr", -1)
by malcev
05 Dec 2020, 20:04
Forum: Ask For Help
Topic: How to view PDF with Windows API? (PDF -> bitmap)
Replies: 18
Views: 1151

Re: How to view PDF with Windows API? (PDF -> bitmap)

Something like this: pdfPath := "D:\1064754760.pdf" VarSetCapacity(GUID, 16) DllCall("ole32\CLSIDFromString", "wstr", IID_RandomAccessStream := "{905A0FE1-BC53-11DF-8C49-001E4FC686DA}", "ptr", &GUID) DllCall("ShCore\CreateRandomAccessStreamOnFile", "wstr", pdfPath, "uint", Read := 0, "ptr", &GUID, "...
by malcev
01 Dec 2020, 01:46
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 63
Views: 14936

Re: Optical character recognition (OCR) with UWP API

Just insert Gdip_Startup() in Your code.
by malcev
30 Nov 2020, 21:31
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 63
Views: 14936

Re: Optical character recognition (OCR) with UWP API

You have to load gdiplus library for such functions.
by malcev
30 Nov 2020, 20:24
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 63
Views: 14936

Re: Optical character recognition (OCR) with UWP API

If You use the code from the first post will it work for You?
by malcev
30 Nov 2020, 20:06
Forum: Scripts and Functions
Topic: Optical character recognition (OCR) with UWP API
Replies: 63
Views: 14936

Re: Optical character recognition (OCR) with UWP API

This api is for windows >= 8.1
by malcev
29 Nov 2020, 12:32
Forum: Ask For Help
Topic: Sort remove duplicates issue Topic is solved
Replies: 4
Views: 84

Re: Sort remove duplicates issue Topic is solved

Code: Select all

FileRead, t, *t ahktestfile.txt
by malcev
29 Nov 2020, 10:23
Forum: Ask For Help
Topic: help with adobe connect code
Replies: 9
Views: 170

Re: help with adobe connect code

Ahk manual. If You dont want or cannot do it then hire teacher or freelancer.

Go to advanced search