Skip to content

Script Debugging

TomMartow edited this page Apr 5, 2020 · 2 revisions

There are many ways to debug a script, the idea of debugging your script is to use visual cue's alert you to what piece of code is currently being executed.

The multiple ways to use debugging:

Msgbox

F1::
Msgbox, You have pressed the F1 key.
return

ToolTip

F1::
ToolTip
ToolTip, You have pressed the F1 key.
return

TrayTip

F1::
TrayTip
TrayTip, Script Debugging, You have pressed the F1 key, 3 ; TrayTip lasts for 3 seconds.
return

Further information

AHK Documentation - MsgBox

AHK Documentation - ToolTip

AHK Documentation - TrayTip

Table of Contents

AHK-Guide

Basic

Intermediate

Mouse related

Finding things

Somethings wrong

Randomisation & Sleeping on the job

Rollercoaster

Clone this wiki locally