Skip to content

[Small Fix] '#Include' fails #7

@LegitCamper

Description

@LegitCamper

I had an issue with my ahk 'Include' function. For some reason it did not like:
'lib\AHK-Virtual-Desktop-Library\Main.ahk' as mentioned in the default config you provided. I did however get it to work with the addition of '%A_ScriptDir%\lib' witch makes the full line look like:
'#Include %A_ScriptDir%\lib\AHK-Virtual-Desktop-Library\Main.ahk'. I had to make this change in every include function in the Main.ahk file as well. This is a small addition to the file and should not break anything. 'A_ScriptDir' is just an alias for the directory the script is running in.

image

I also have an issue running other functions. the only function I can run is 'e::DesktopManager()' all the other functions don't run but ahk starts without notifying me with any syntax errors. I though this could be because I am using Windows 11. I download the DLL from 'https://github.com/skottmckay/VirtualDesktopAccessor' Just do be sure. I still cannot get them to work.

As far as I can tell from my time; you have the best repo for all the scripts I need in one place. I cannot wait to get everything all running :) I appreciate your time that went into this project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions