ARM64 port successfull!

Propose new features and changes
ferdo
Posts: 3
Joined: 18 Jun 2021, 09:01
Contact:

ARM64 port successfull!

18 Jun 2021, 09:12

Hi,

Today I've managed to port AutoHotkey to Windows on ARM64. It runs successful on my Asus NOVAGO and on my MacBook Air M1 with Parallels.

I've made an arm64 branch on a local github clone.

What is the best way to share my code to with this community?

It probably needs some more testing. But DllCall and RegisterCallback do work right in my test case.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: ARM64 port successfull!

18 Jun 2021, 09:46

github seems like as good a place as any
ferdo
Posts: 3
Joined: 18 Jun 2021, 09:01
Contact:

Re: ARM64 port successfull!

18 Jun 2021, 12:55

pull request is ready!
SOTE
Posts: 1426
Joined: 15 Jun 2015, 06:21

Re: ARM64 port successfull!

07 Jul 2021, 01:23

Awesome!
ferdo wrote:
18 Jun 2021, 09:12
...I've managed to port AutoHotkey to Windows on ARM64. It runs successful on my Asus NOVAGO and on my MacBook Air M1 with Parallels.

I've made an arm64 branch on a local github clone.
Shouldn't this alternate release be posted on "Scripts and Functions"? "Wish List" kind of seems like a strange place.

I'm surprised that not more people are testing it out. Though the whole Windows on ARM has been a kind of strange place. That Asus NOVAGO running Windows 10, using a Qualcomm Snapdragon, claims 22 hours of battery life. Quite impressive. Other laptops using the Qualcomm Snapdragon are out there for pretty cheap. It's rumored that the upcoming Windows Surface Duo 2 (also Qualcomm Snapdragon) might run Windows 11. Meaning your port of AutoHotkey would finally bring it to a mobile phone type device.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: ARM64 port successfull!

10 Jul 2021, 21:23

windows 10 supposedly has both x86 and x64 emulation, so wouldnt ahk(the DllCalls specifically) already work by default? i dont have arm devices to test with
SOTE
Posts: 1426
Joined: 15 Jun 2015, 06:21

Re: ARM64 port successfull!

11 Jul 2021, 02:54

swagfag wrote:
10 Jul 2021, 21:23
windows 10 supposedly has both x86 and x64 emulation, so wouldnt ahk(the DllCalls specifically) already work by default? i dont have arm devices to test with
Microsoft came out with a viable x64 emulator for ARM only a year or so ago. Even with the emulator, it's supposedly hit or miss. Like you, I don't have a Windows on ARM computer to test such out. Hopefully and eventually, some AHKer who does will come along and tell us what they think.

I'm eyeing the Windows Surface Duo 2, as the prospect of having a dual booting Android and Windows mobile device or the ability to have a mobile device that runs Windows 11 and could also run android applications (even if virtually) is intriguing. Supposedly, Windows 11 will have the ability to run Android apps directly. This could be the Microsoft move to slow down Android's encroachment on Desktops and Laptops, while allowing them to push Windows mobile devices without forcing users to give up their Android apps. It will be interesting if this move will allow Microsoft to become viable in the mobile space, or will backfire and increase the proliferation of Android with their apps starting to overwhelm the Desktop space too.
Raien
Posts: 1
Joined: 13 Jan 2022, 21:15

Re: ARM64 port successfull!

13 Jan 2022, 21:31

I want to make sure it can be run successfully in ARM so that I can decide to buy Macbook Pro 2021 or not. This command is important to me. Please help me.
And if it doesn't, can you suggest an alternative program on Mac that brings the same result? Thank you so much!
Last edited by Raien on 19 Jan 2022, 09:45, edited 1 time in total.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: ARM64 port successfull!

14 Jan 2022, 03:25

if ure asking whether ahk would run on macOS, it wont. what this port is doing is fixing the DllCall asm(parameter passing, ordering, results retrieval, etc) so its compliant with the ARM64 architecture. but u still need Windows to run it
rc76
Posts: 144
Joined: 07 Nov 2020, 01:45

Re: ARM64 port successfull!

24 Mar 2022, 21:09

@ferdo I have run into an error using classic AHK installs (for intel chip) running on Windows 11 on arms on Parallels.

The error is related to Windows Update Check. My other AHK code works great with Win11 on arms x64 emulation, only this have problem.

viewtopic.php?f=76&t=101922&p=453129#p453129

Maybe this can be a good test/fix to look into?
Weatherlight
Posts: 19
Joined: 20 Mar 2020, 14:49
Contact:

Re: ARM64 port successfull!

02 May 2022, 06:58

Hey :)

there is a new AHK version available... just in case you want to catch up your release :).

Best
Hauke
ahk7
Posts: 574
Joined: 06 Nov 2013, 16:35

Re: ARM64 port successfull!

24 Oct 2022, 16:45

Windows Dev Kit 2023 aka Project Volterra @ https://blogs.windows.com/windowsdeveloper/2022/10/24/available-today-windows-dev-kit-2023-aka-project-volterra/
Windows Dev Kit 2023 is an Arm-powered device built by Windows developers for Windows developers. Everything you need to develop Windows apps for Arm, on Arm. Powerful AI. All on one device.
ender_
Posts: 1
Joined: 20 Aug 2023, 12:52

Re: ARM64 port successfull!

20 Aug 2023, 13:18

If anybody's interested, I compiled 1.1.37.01 with these patches, both main executable and self-contained (for use with ahk2exe).
DinoGT
Posts: 1
Joined: 05 Sep 2023, 03:06

Re: ARM64 port successfull!

05 Sep 2023, 03:09

Hi There,

Thanks for compiling it for ARM. I did try it but get an error

Script file not found: Home\Documents\AutoHotkeyUAArch64.ahk

Greetz.

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 37 guests