1) If imported it does nothing.
2) If run standalone, the code will execute.
I believe the AutoHotkey equivalent is this?
Code: Select all
if (A_LineFile == A_ScriptFullPath) {
MsgBox % "hi"
}
Code: Select all
if (A_LineFile == A_ScriptFullPath) {
MsgBox % "hi"
}
Code: Select all
If ((! A_IsCompiled) and (A_LineFile == A_ScriptFullPath)) {
;Do something cool.
}