Search found 26 matches

by tiska
12 Apr 2024, 02:31
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 293

Re: Managing glossaries with the DeepL API

Gregster, I value your feedback, but I feel it could have been delivered in a more constructive manner. Instead of dismissing others' efforts outright, why not offer guidance or assistance? We're all here to learn and improve, and a supportive community fosters growth for everyone involved. Regardin...
by tiska
11 Apr 2024, 07:06
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 293

Re: Managing glossaries with the DeepL API

After many hours of reading and tinkering, and with a little help from OpenAI, I have come up with this script. However, it still does not work and as I am an AHK NOOB and still don't know what I don't know, I'd love some help with this 8-) [Mod edit: Removed AI code which was a broken mix of v1 and...
by tiska
11 Apr 2024, 02:50
Forum: Ask for Help (v2)
Topic: Need help converting AHK 1 to AHK 2
Replies: 8
Views: 173

Re: Need help converting AHK 1 to AHK 2

@niCode thank you, both versions work great! Super useful to popup a cheatsheet with list of hotkeys etc. :)
by tiska
11 Apr 2024, 02:39
Forum: Ask for Help (v2)
Topic: Need help converting AHK 1 to AHK 2
Replies: 8
Views: 173

Re: Need help converting AHK 1 to AHK 2

I appreciate your effort in providing a partial translation of the script and thank you for pointing out the difference in registering a function object compared to v1.
I'm still a novice when it comes to AHK coding :D
by tiska
11 Apr 2024, 01:54
Forum: Ask for Help (v2)
Topic: Need help converting AHK 1 to AHK 2
Replies: 8
Views: 173

Re: Need help converting AHK 1 to AHK 2

Your script performs a very different function, but thanks for sharing.
by tiska
10 Apr 2024, 22:38
Forum: Ask for Help (v2)
Topic: Need help converting AHK 1 to AHK 2
Replies: 8
Views: 173

Need help converting AHK 1 to AHK 2

I found a useful little script written by 0xB0BAFE77 that shows an image while holding down a key. I use it to lookup keyboard shortcuts. https://www.reddit.com/r/AutoHotkey/comments/uczou4/show_image_while_holding_key_and_close_image_when/ #SingleInstance Force ; One instance make_gui() ; Create th...
by tiska
10 Apr 2024, 02:55
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 293

Re: Managing glossaries with the DeepL API

Would it make sense to include the Node.js Client Library for the DeepL API in the script, and if so, how would one go about implementing it? https://github.com/DeepLcom/deepl-node
by tiska
08 Apr 2024, 23:17
Forum: Ask for Help (v2)
Topic: Managing glossaries with the DeepL API
Replies: 10
Views: 293

Managing glossaries with the DeepL API

This AutoHotkey script utilizes the free DeepL API to translate selected text from German to English. mikeyww provided significant assistance in coding it: ; This script translates text. ; Save script as UTF-8 with BOM signature. ; https://www.autohotkey.com/boards/viewtopic.php?f=82&t=127623&p=5648...
by tiska
07 Apr 2024, 23:37
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

mikeyww , could you please assist me in incorporating the glossary management feature into the current script? Specifically, I need help adapting the AHK 2 script to perform the following functions: creating a glossary, listing existing glossaries, retrieving glossary details, retrieving glossary e...
by tiska
07 Apr 2024, 23:21
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

Okay, so I seem to have solved the timeout issue by configuring my network settings to use the IP addresses 8.8.8.8 and 8.8.4.4 (Google) as my DNS servers.
by tiska
29 Mar 2024, 00:54
Forum: Ask for Help (v2)
Topic: Help to assign a HotKey to run Chrome Apps (browser shortcuts that run as windows)
Replies: 3
Views: 319

Re: Help to assign a HotKey to run Chrome Apps (browser shortcuts that run as windows)

I made some changes and now it works for me

Code: Select all

#Requires AutoHotkey 2.0.2+
#SingleInstance
Persistent

F8::
{ 
If WinExist("ChatGPT")
   If WinActive()
      WinMinimize
   Else WinActivate
Else
   Run ("C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Chrome Apps\ChatGPT.lnk")
}
by tiska
28 Mar 2024, 22:11
Forum: Ask for Help (v2)
Topic: Help to assign a HotKey to run Chrome Apps (browser shortcuts that run as windows)
Replies: 3
Views: 319

Re: Help to assign a HotKey to run Chrome Apps (browser shortcuts that run as windows)

Have you found a solution to this? I am trying to do the same and have had no success either...
by tiska
27 Mar 2024, 04:27
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

Do you know what might be causing the following error?

AHK Error: (0x80072EE7)
The server name or address could not be resolved
Source: WinHttp.WinHttpRequest Specifically: WaitForResponse
HTTP_Request.WaitForResponse()

I get this error from time to time.
by tiska
27 Mar 2024, 04:11
Forum: Ask for Help (v2)
Topic: ChatGPT AutoHotkey Utility
Replies: 3
Views: 345

Re: ChatGPT AutoHotkey Utility

Thanks for your input! That generated both an input box as well as a response window. After some tinkering, I managed to get it to work with the correct if command: ProcessRequest(ChatGPT_Prompt, Status_Message, API_Model, Retry_Status) { if (Retry_Status != "Retry") { A_Clipboard := "" Send "^c" Cl...
by tiska
25 Mar 2024, 09:33
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

Wow, this works really well!! Now the backslashes get handled correctly and no quotation marks are omitted, the only thing is the English translation again has German quotes «» now, but at least it is consistent – even with larger paragraphs. It also seems to be processing the translation a lot fast...
by tiska
25 Mar 2024, 04:26
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

I have applied the changes, and now German quotes «» are correctly translated into English straight quotes ", but only sometimes and seemingly at random. I have noticed that short German phrases or sentences containing German quotes are translated correctly. However, longer texts or paragraphs occas...
by tiska
24 Mar 2024, 21:27
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

mikeyww thank you so much for your help with this! :) The V2 of the script now works with newlines and most special characters. From my testing, the characters that it does not recognise are the German «quotes» and \backslash\ mark. Do you know how I could make the script accept these, and for the ...
by tiska
24 Mar 2024, 05:49
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

Well thank you for your feedback, but now I'm even more confused about how to remove newlines etc...
by tiska
24 Mar 2024, 05:08
Forum: Ask for Help (v2)
Topic: Need Help with AutoHotkey Script for DeepL API Translation
Replies: 24
Views: 529

Re: Need Help with AutoHotkey Script for DeepL API Translation

Thanks for your response and thank you for your patience, I have very little experience with AHK. I have tried to implement the changes you suggested but it still does not accept new lines etc., here is the new full script: #Requires AutoHotkey 2.0.2+ #SingleInstance Persistent F8:: { A_Clipboard :=...

Go to advanced search