Skip to content

Attach Mode

zero-plusplus edited this page Feb 8, 2022 · 10 revisions

This mode has the same limitations as when using useUIAVersion of launch mode. Also, it cannot be attached to the UIA version of AutoHotkey.

The following settings are exactly the same as in Launch mode.

  • hostname
  • port
  • maxChildren
  • openFileOnExit
  • useIntelliSenseInDebugging
  • usePerfTips
  • useDebugDirective
  • useAutoJumpToError
  • useOutputDebug
  • useAnnounce
  • useLoadedScripts
  • skipFiles
  • skipFunctions
  • extends
  • variableCategories

The following are not supported in attach mode.

  • runtimeArgs
  • runtimeArgs_v1
  • runtimeArgs_v2
  • cwd
  • args
  • env
  • useUIAVersion

The following are settings for attach mode only. Some of them have the same name as launch mode, but the meaning may be slightly different.

Name Type Description
request string Specify "attach".
runtime string The path to AutoHotkey.exe to run the script to attach to the program.
program string The path of the script file you want to attach.
If omitted, you can select a script to attach from the list of AutoHotkey scripts that are already running.
stopOnEntry string If true, it will break immediately after attach.
default: false
Clone this wiki locally