The Ectoplasmic Prototype
Clone existing automation spirits to form an army of identical poltergeists without relying on their base incantations.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Prototype
ARCANUM SCHOOL: Illusion // Spectral Duplication
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
class SpiritClone {
__New(target_window, action_delay) {
this.target_window := target_window
this.action_delay := action_delay
}
Clone() {
return SpiritClone(this.target_window, this.action_delay)
}
Manifest() {
if WinExist(this.target_window) {
Sleep(this.action_delay)
WinActivate(this.target_window)
}
}
}
original := SpiritClone("ahk_exe notepad.exe", 500)
doppelganger := original.Clone()
doppelganger.Manifest()
Runic Tags:
#autohotkey
#prototype
#automation
#poltergeist