fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.36k stars 214 forks source link

how to run Main.ahk #297

Closed azinsharaf closed 1 year ago

azinsharaf commented 2 years ago

Hi, I read all the documents and Issues section but still can't run it on my machine. I can't run the exe file because of organization policy. How can I run the Main.ahk file?

image

I have AutoHotKey installed on my machine as it is working fine with other ahk scripts (not this repo)

DWTW321 commented 2 years ago

I can see that Bar.ahk is in the same folder so it should be recognised. It could be a permissions issue. Where have you saved the src folder? Have you tried running Main.ahk as an admin? Also what version of AutoHotKey are you using?

DWTW321 commented 2 years ago

If it still doesn't work you could try editing Main.ahk and replace #Include Bar.ahk with #Include %A_ScriptDir%\Bar.ahk

azinsharaf commented 2 years ago

@DWTW321 Thanks for the help. Including %A_ScriptDir%\ fixed the issue. Can we have this configuration as the default in the repo?

I have full access to the folder. I don't have local admin account so can't run it as admin.

DWTW321 commented 2 years ago

I'm glad it's working, I'm not the maintainer, I just saw your issue and thought I could help out.

azinsharaf commented 2 years ago

@DWTW321 Thanks again. I keep this open so the maintainers can answer it.

fuhsjr00 commented 2 years ago

Thank you very much, @DWTW321. If someone wants to post a pull request, I would be happy to look at it. I haven't really used Windows in a decade now, so I wouldn't be able to test it. Are @joten or @x29a still around?

DWTW321 commented 2 years ago

@fuhsjr00 I have some time tomorrow, I'll see if I can do it.

zadrdy commented 5 months ago

how to start main ahk if i getting error at line 25 i just wanna use dolph sol 😭