Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

The popular SciTE-based AutoHotkey Script Editor
jkylebutler
Posts: 4
Joined: 19 Jul 2022, 14:23

Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

19 Jul 2022, 14:28

I'm using scite4AutoHotKey, but it won't run from scite. If I run a script using AutoHotKey Unicode, the script will run and work. In scite compile, debug, clean, and run are greyed out and unclickable. Clicking the blue arrow or bug does nothing as well. Does anyone know what my problem could be?
gregster
Posts: 9096
Joined: 30 Sep 2013, 06:48

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

19 Jul 2022, 14:37

Probably it's not installed correctly. :think:

Afaik, the SciTE directory should be a subdirectory of your AutoHotkey installation folder - is that the case?
Did you (re-)run the SciTE installer?

Tbh, no idea what Clean is for - never used it, and it's greyed out here as well - but the rest should work.
jkylebutler
Posts: 4
Joined: 19 Jul 2022, 14:23

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

19 Jul 2022, 14:52

It looks like Scite is installed within the autohotkey folder, but I don't see a folder called Afaik. I can't re install easily, since I'm using a work computer and have to get permission to install anything on the computer.
gregster
Posts: 9096
Joined: 30 Sep 2013, 06:48

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

19 Jul 2022, 14:57

Afaik is not a folder name - it's just a common abbreviation for "As far as I know". ;) SciTE4AHK's folder name should be SciTE.

Perhaps others have an idea what else to look for.
gregster
Posts: 9096
Joined: 30 Sep 2013, 06:48

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

19 Jul 2022, 17:37

I assume you don't see this options if you click the platform selector?

platform selector.png
platform selector.png (3.85 KiB) Viewed 1814 times

Also, what do you see when you open Options > Open _platform.properties ?
At the top of ahk.properties, there seem to be other relevant settings like the section # AutoHotkey path, and a few others:

Code: Select all

# AutoHotkey path
AutoHotkeyDir=$(SciteDefaultHome)\..
AutoHotkey=$(AutoHotkeyDir)\AutoHotkey.exe
ahk.help.file=$(AutoHotkeyDir)\AutoHotkey.chm
ahk.compiler=$(AutoHotkeyDir)\Compiler\Ahk2Exe.exe
ahk.compiler.params=
jkylebutler
Posts: 4
Joined: 19 Jul 2022, 14:23

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

20 Jul 2022, 08:49

So I can see the different platforms and change to them. I've tried all but none fix the run-debug buttons. And I see a script that's 47 lines long for the platform objectives. I'm not sure if something should be in it that isn't though.
jkylebutler
Posts: 4
Joined: 19 Jul 2022, 14:23

Re: Scite4AutoHotKey Won't Compile, Debug, Clean, or Run

20 Jul 2022, 10:11

Thanks for the help @gregster Apparently AHK Studio doesn't require an install so I was able to get it running on my computer with no problems!

Return to “SciTE4AutoHotkey”

Who is online

Users browsing this forum: No registered users and 10 guests