chaohershi / cclose

A Windows utility that helps you close windows faster or pin windows always on top.
https://chaohershi.github.io/cclose/
MIT License
374 stars 16 forks source link

How do I compile this? #18

Closed rp1231 closed 2 years ago

rp1231 commented 2 years ago

I have made some shortcut changes according to my needs. Just wanted to ask how to compile this. Thanks

chaohershi commented 2 years ago

The easiest way is to install AutoHotKey, then from the start menu choose Convert .ahk to .exe. For the source select CClose.ahk, and for the destination, specify where you want the compiled file to be. It should be pretty straightforward.

Snipaste_2022-08-13_12-20-07

rp1231 commented 2 years ago

Thanks for the explanation. I've converted single .ahk files to .exe before, but got confused because there were two .ahk files in this case.

chaohershi commented 2 years ago

Ah, I see. Just to add a bit of detail: Advanced Settings.ahk is a component of the main script CClose.ahk. It will be included in the main script during runtime. So they should be placed in the same folder, whether you want to compile the main script or not.

rp1231 commented 2 years ago

Thanks