Code: Select all
eeschema := WinExist("CPU2 — Schematic Editor")
if (eeschema = 0)
{
run "CPU2.kicad_sch"
winwait "CPU2 — Schematic Editor"
eeschema := WinExist("CPU2 — Schematic Editor")
}
WinMenuSelectItem, ahk_id %eeschema%, , File, Export, Netlist
What am I doing wrong?
Thank you.