Skip to content

Cwd launch setting #173

@JMPSequeira

Description

@JMPSequeira

Would it be possible to support the current working directory (cwd) as a launch setting?

I request this as all of Ahk file crawling is relative to current working directory (1.1 at least).

Example:

  • RootDir:

    • afolder\file.ahk
    • testfolder\test1.ahk
    • testfolder\test2.ahk
  • Code on afolder\file.ahk:

Loop, Files, test*.ahk, R
    MsgBox, % A_LoopFileLongPath

Running from a command line on RootDir AutoHotkey .\afolder\file.ahk will find the test files.
But if debugging I can never have a different cwd thus never getting the expected results.

I already saw some discussion around this issue here but I do think the op didn't make a good case for it.

thanks for your time

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