Search found 379 matches

by labrint
17 Mar 2024, 12:10
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9282

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

What does the PNG DLL handle? Images in the pdf? Because I use those via gdip in my libharu pdfs.
by labrint
17 Mar 2024, 02:50
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9282

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Does it have to be v2.0? I have many v 1 scripts that could become broken if I upgrade to V2.0
by labrint
14 Mar 2024, 09:24
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9282

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

I have libhpdf.dll libpng15.dll and libpng64-15.dll Does anyone have the newer ones or know where I can download them?

Edit: I think someone knowledgable in C needs to compile them using the compiler (MinGW) from my very limited understanding (and chatgpt).
by labrint
13 Mar 2024, 02:52
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9282

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Exactly. Check out this
image.png
image.png (319.74 KiB) Viewed 562 times
The characters you mentioned don't have a special number at the bottom, but my Maltese characters do. Maybe that has something to do with it.
Do you know how to use UTF-8 as an encoding?
by labrint
12 Mar 2024, 09:38
Forum: Ask for Help (v1)
Topic: Creating a PDF from text variable (command line) Topic is solved
Replies: 22
Views: 1956

Re: Creating a PDF from text variable (command line) Topic is solved

Guys, can anyone produce a script that can print out these characters Aa Bb Ċċ Dd Ee Ff Ġġ Gg Għgħ Hh Ħħ Ii Ieie Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Zz Żż (Maltese character set) on a pdf using libharu? I'm having trouble printing anything other than the English alphabet. I already use libh...
by labrint
12 Mar 2024, 09:34
Forum: Scripts and Functions (v1)
Topic: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support
Replies: 42
Views: 9282

Re: [stdlib] Wrapper for libHaru (creates PDFs) - now with Unicode 32 and 64-bit support

Guys, can anyone produce a script that can print out these characters Aa Bb Ċċ Dd Ee Ff Ġġ Gg Għgħ Hh Ħħ Ii Ieie Jj Kk Ll Mm Nn Oo Pp Qq Rr Ss Tt Uu Vv Ww Xx Zz Żż (Maltese character set) on a pdf using libharu? I'm having trouble printing anything other than the English alphabet. I already use libh...
by labrint
15 Feb 2024, 13:38
Forum: Scripts and Functions (v1)
Topic: PDF creation from text (no libraries / third party apps)
Replies: 1
Views: 143

PDF creation from text (no libraries / third party apps)

; Initialize the PDF document InitPDF(filePath) { global file FileDelete, %filePath% file := FileOpen(filePath, "w") ; Write PDF header file.Write("%%PDF-1.4`n") ; Start writing objects, here we start with the Catalog and Pages (to be filled later) } ; Add a page to the PDF AddPage() { global file ...
by labrint
19 Jan 2024, 06:06
Forum: Ask for Help (v1)
Topic: Arming Chatgpt 4 with AHK 1.1 documentation
Replies: 3
Views: 329

Re: Arming Chatgpt 4 with AHK 1.1 documentation

https://chat.openai.com/g/g-Hq2DiL6vb-autohotkey I wanted to create something that restricts knowledge to v1.1. Though I agree with tank . I dont think I've managed to make it any smarter for producing error-free AHK v1.1 code. I got inspired by watching War Games (1983), and gave it the task of cr...
by labrint
17 Jan 2024, 08:22
Forum: Ask for Help (v1)
Topic: Arming Chatgpt 4 with AHK 1.1 documentation
Replies: 3
Views: 329

Arming Chatgpt 4 with AHK 1.1 documentation

Hey guys, Does anyone have the complete documentation (txt file) +/- important libraries so that anyone can create a GPT 4 with the correct documentation for v1.1? You can easily create a gpt 4 (new create gpt function) via Chatgpt in the browser. This way we can ensure correct syntax and would be g...
by labrint
23 Aug 2023, 06:42
Forum: Ask for Help (v1)
Topic: Export XML
Replies: 0
Views: 157

Export XML

Hi, I am working on an excel file that I would like to export XML (button in developer tab). I can't save as XML (gives different output). Does anyone know how to export XML using com object? I'm using com object on excel. In VBA, I recorded it as this macro: ActiveWorkbook.XmlMaps("SUPP_DECL_Map")....
by labrint
12 May 2023, 07:38
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 455134

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

Problem solved. I corrected the following: Registry key Computer\HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command Target "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 -- "%1" Next question: How do I close specific tabs, like tabs not containing keywords in a URL...
by labrint
12 May 2023, 07:37
Forum: Ask for Help (v1)
Topic: Chrome.ahk: connecting to an existing session / already opened chrome
Replies: 2
Views: 248

Re: Chrome.ahk: connecting to an existing session / already opened chrome

Is there a way for Chrome.ahk to connect to an already opened Chrome browser? If so, how do I identify which opened chrome (if there are multiple) to connect with. For example if I want to identify the open chrome based on the URL of an open tab and then connect to it to control it. Problem solved....
by labrint
12 May 2023, 04:45
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 455134

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

Ah fantastic, I followed your post, changed the chrome target, and it works brilliantly. Thanks!!
by labrint
12 May 2023, 04:42
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 455134

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

The problem is this. I have a 3rd party program that when a button is clicked, opens Chrome and loads that URL. I want to connect to that chrome.

Is it possible to set chrome so that it opens this way as mentioned?
by labrint
12 May 2023, 04:33
Forum: Ask for Help (v1)
Topic: Chrome.ahk: connecting to an existing session / already opened chrome
Replies: 2
Views: 248

Chrome.ahk: connecting to an existing session / already opened chrome

Is there a way for Chrome.ahk to connect to an already opened Chrome browser?

If so, how do I identify which opened chrome (if there are multiple) to connect with. For example if I want to identify the open chrome based on the URL of an open tab and then connect to it to control it.
by labrint
12 May 2023, 04:32
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 455134

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

Is there a way for Chrome.ahk to connect to an already opened Chrome browser?

If so, how do I identify which opened chrome (if there are multiple) to connect with. For example if I want to identify the open chrome based on the URL of an open tab and then connect to it to control it?
by labrint
08 Apr 2023, 02:15
Forum: Scripts and Functions (v1)
Topic: [Library] Edge.ahk - Automate Edge using native AutoHotkey. No Selenium!
Replies: 12
Views: 9290

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

Hi, Microsoft edge update is not allowing the program to work anymore. Does anybody have the newer library? ____________________________________________________________________ Edit: Issue fixed using the latest Chrome.ahk from geek as well as using the malcev 's patch to the update as follows: Add ...
by labrint
15 Mar 2023, 03:12
Forum: Ask for Help (v1)
Topic: Chrome.ahk / Edge.ahk
Replies: 1
Views: 271

Chrome.ahk / Edge.ahk

Hi,

I have a website that requires 2FA. Once I finish the 2FA, the browser will allow me to open as many pages of this website as I want without further 2FA.

When I close the browser I have to do 2FA again. How can I use Chrome.ahk or Edge.ahk to bypass the 2FA after I closed the browser?
by labrint
03 Mar 2023, 01:31
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 455134

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

Dear All, I've already asked here: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=103186&p=510368#p510368 but the edge.ahk modification of chrome.ahk has a smaller community, and very similar libraries so I thought I'd ask here as well. When running the edge for the first time 2 or 3 pages co...
by labrint
03 Mar 2023, 01:28
Forum: Scripts and Functions (v1)
Topic: [Library] Edge.ahk - Automate Edge using native AutoHotkey. No Selenium!
Replies: 12
Views: 9290

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

Dear All,

When running the edge for the first time 2 or 3 pages come up that ask for edge preferences, to allow or not allow. How do we get past those programmatically?

It looks like this:
image.png
image.png (249.46 KiB) Viewed 6005 times
Really good job, I managed to use it to automate some logins and data extractions.

Thanks

Go to advanced search