All the files e.g this one won't work with URLDownloadToFile.
https://www.autohotkey.com/assets/images/ahk_wallpaper_reduced.jpg
Think it's related to this issue with the challenge pages from Cloudflare, one way around it might be a different user agent.
Search found 696 matches
- Yesterday, 10:01
- Forum: Bug Reports
- Topic: Error trying to download the V1 and V2 files with current version number
- Replies: 21
- Views: 1755
- 26 Apr 2024, 02:35
- Forum: Forum Issues
- Topic: Slow forum
- Replies: 111
- Views: 11726
Re: Slow forum
Last night there was also an SQL ERROR in mysql (MS Edge), and yep, cert has run out of gas.
- 09 Apr 2024, 09:25
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest IsInternetConnected()
- Replies: 3
- Views: 256
Re: WinHttp.WinHttpRequest IsInternetConnected()
Apologies for the late response - how did you go with it? That link and Malcev's are great, at first glimpse aren't they just another way of doing the same thing? FWIW IPv6 is configured on the router over here and works . Would hazard a guess that whatever url is returning the error to http://ipv6....
- 07 Apr 2024, 01:50
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest IsInternetConnected()
- Replies: 3
- Views: 256
Re: WinHttp.WinHttpRequest IsInternetConnected()
Tried the following: ;Should be compatible with Win XP or higher, 32/64 bit, Unicode or ANSI, latest version. #Requires AutoHotkey v1.1.33+ ;code here loop, 50 { gosub CheckInternet ;(probably about 5 seconds elapses before calling the gosub again) sleep 5000 } ;more code here msgbox Completed! retu...
- 03 Apr 2024, 15:39
- Forum: Ask for Help (v1)
- Topic: AHK Script to connect to a Named Pipe Help
- Replies: 7
- Views: 230
Re: AHK Script to connect to a Named Pipe Help
The info is all there in the MS article for CreateNamedPipe, the task of matching the settings in the Python client/server scripts to the OP AHK script may relate to just one of the tweaks applied later, but hey it's working and glad to be of help!
- 01 Apr 2024, 22:18
- Forum: Ask for Help (v1)
- Topic: AHK Script to connect to a Named Pipe Help
- Replies: 7
- Views: 230
Re: AHK Script to connect to a Named Pipe Help
It's a v1 script, best to continue with debugging that. :) Regarding the win32pipe.CreateNamedPipe function in the Python script, replace win32pipe.PIPE_TYPE_MESSAGE | win32pipe.PIPE_WAIT with win32pipe.PIPE_WAIT and increase the timeout from 300 to e.g. 3000, also check win32pipe.PIPE_ACCESS_OUTBOU...
- 31 Mar 2024, 22:08
- Forum: Ask for Help (v1)
- Topic: AHK Script to connect to a Named Pipe Help
- Replies: 7
- Views: 230
Re: AHK Script to connect to a Named Pipe Help
Shouldn't be syntax errors with 64bit, might be an issue if you had old ahk v1 +v2. In that case uninstall the lot, re-install v2, then install v1 after. The Python script uses PIPE_ACCESS_OUTBOUND , make any difference changing to PIPE_ACCESS_DUPLEX ? PIPE_NAME := "\\.\pipe\SamplePipe" PIPE_ACCESS_...
- 31 Mar 2024, 06:02
- Forum: Ask for Help (v1)
- Topic: AHK Script to connect to a Named Pipe Help
- Replies: 7
- Views: 230
Re: AHK Script to connect to a Named Pipe Help
Hi, have to ask, the bitness matches in both processes, 32bit or 64 bit, and both process are either unicode or ANSI?
To narrow down the issue, catch the value of A_LastError directly after the CF function, also consider Wait and Peek functions for named pipes mentioned in this thread.
To narrow down the issue, catch the value of A_LastError directly after the CF function, also consider Wait and Peek functions for named pipes mentioned in this thread.
- 26 Mar 2024, 04:20
- Forum: Ask for Help (v1)
- Topic: Please update the Premiere Pro True Fullscreen to Premiere 24
- Replies: 4
- Views: 150
Re: Please update the Premiere Pro True Fullscreen to Premiere 24
Hi, lmstearn, I tried installing v.2 but it does not read the code published here https://vakago-tools.com/premiere-pro-true-fullscreen-tutorial/ saying this script code is only for the v.1.1 And I don't have the skills to rewrite this code for version 2. Isn't there someone who can just adapt this...
- 25 Mar 2024, 22:51
- Forum: Ask for Help (v1)
- Topic: Please update the Premiere Pro True Fullscreen to Premiere 24
- Replies: 4
- Views: 150
Re: Please update the Premiere Pro True Fullscreen to Premiere 24
Hi AndyF, welcome to AHK. :) As Adobe isn't installed here, just a few pointers. As there is no issue with the script with hiding the Title Bar of the app, the app class name is correct, we assume the makers of the app have changed the Toolbar properties. Be sure to have the latest AHK installed, it...
- 25 Mar 2024, 12:51
- Forum: Bug Reports
- Topic: WinTitle with multiple ahk_id uses only last one Topic is solved
- Replies: 6
- Views: 417
Re: WinTitle with multiple ahk_id uses only last one Topic is solved
Thanks, that explains it. :) In the linked function there is CRITERION_ID , first thought it was a stub for some kind of recursive dissection of the ahk_criteria of the criteria id, there's more to it. For instance the comments note it can crop up with WinActive(), ahk_id in ahk_group - and others, ...
- 24 Mar 2024, 23:44
- Forum: Bug Reports
- Topic: WinTitle with multiple ahk_id uses only last one Topic is solved
- Replies: 6
- Views: 417
Re: WinTitle with multiple ahk_id uses only last one Topic is solved
How odd, the second window is chosen if a space is prefixed to the second ahk_id string, otherwise it's the first id (as expected :P ): list := WinGetList() hwnd1 := list[1] hwnd2 := list[2] MsgBox "hwnd1 is " hwnd1 ", Ist element of WinGetList, no space : " WinExist("ahk_id " hwnd1 "ahk_id " hwnd2)...
- 22 Mar 2024, 00:07
- Forum: Ask for Help (v1)
- Topic: Toggle Mouse Pointer Transparency
- Replies: 1
- Views: 89
Re: Toggle Mouse Pointer Transparency
Hi, changing the mouse cursor from a transparent cursor image file you have created might be the best approach, there is also SetSystemCursor and RestoreCursor for effects on all cursors, in the LoadImage function try:
Code: Select all
LR_LOADTRANSPARENT := 0x00000020
- 21 Mar 2024, 01:51
- Forum: Bug Reports
- Topic: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
- Replies: 7
- Views: 475
- 20 Mar 2024, 01:41
- Forum: Bug Reports
- Topic: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
- Replies: 7
- Views: 475
Re: SysGetIPAddresses() causes Invalid memory read/write. Topic is solved
In v1, using the posted code gets: Error: Call to nonexistent function. Specifically: SysGetIPAddresses() Line# ---> 001: addresses := SysGetIPAddresses() 002: msg := "IP addresses: " 003: For n,address in addresses 004: msg .= address " " 005: MsgBox,msg 006: Exit The program will exit. Not using a...
- 10 Mar 2024, 05:37
- Forum: Gaming Scripts (v1)
- Topic: Flappy Bird but Bad [Game]
- Replies: 14
- Views: 3401
Re: Flappy Bird but Bad [Game]
Cool, glad you found Chatgpt to be of some use. There's always plenty of time, and heaps of resources on hand in the site, and ... we'll be here as well.
Good luck.
Good luck.
- 09 Mar 2024, 22:07
- Forum: Gaming Scripts (v1)
- Topic: Flappy Bird but Bad [Game]
- Replies: 14
- Views: 3401
Re: Flappy Bird but Bad [Game]
Coming on nicely, :) And a handful of milestones: Embed all data files in script. <Enter> key to commence, restart game. Text on starting screen: <Spacebar> to jump. Selectable speed modes: Speedy, Normal, Granny. Gap between pipes: Narrow, Normal, Wide Coloured pipes (cached before each game) Green...
- 06 Mar 2024, 00:27
- Forum: Ask for Help (v1)
- Topic: Outlook COM failure
- Replies: 2
- Views: 122
Re: Outlook COM failure
Hi Joe, could be that the index of the object is of a variant type, so the object method might be taking the string value of the variable name OuterDex by default when the type cannot be ascertained. Yet in the next line A_Index is used, so no problem with the type in that case. A For - each Item in...
- 05 Mar 2024, 01:54
- Forum: Ask for Help (v1)
- Topic: [v1.1.37.01]"Post-increment" forgets its "Post" ?
- Replies: 12
- Views: 623
Re: [v1.1.37.01]"Post-increment" forgets its "Post" ?
++N++ Even though it is a standalone statement, it should produce a syntax error, as the docs (and the Standard) indicate they are exclusive constructs: For example, Var := ++X increments X and then assigns its value to Var. Conversely, if the operator appears after the variable's name, the result ...
- 02 Mar 2024, 08:22
- Forum: Forum Issues
- Topic: Slow forum
- Replies: 111
- Views: 11726
Re: Slow forum
When making a post there's a bit of a wait before the page refreshes to show it, opening the topic in another window/tab before the refresh often shows the post already included in the topic. This has been the case for almost a year, the wait is getting longer no doubt as the DB grows in size. By co...