\n\n
\nTag Search at the Blog ... but please have AutoHotKey installed into a AutoHotKey subdirectory for proper functionality
\n\n";
}
} else if (isset($_POST['tag'])) {
$tag = urldecode($_POST['tag']);
$search = urldecode($_POST['search']);
if (strlen($search) == 0) {
$ascript = str_replace('if InStr(Links[A_Index - 1].innerText, "AutoHotKey ")', '', $ascript);
} else {
$ascript = str_replace('AutoHotKey ', $search, $ascript);
}
if (file_exists($prefix . "Ahk2Exe.exe")) {
file_put_contents($prefix . $tag . ".ahk", str_replace('/autohotkey', '/' . $tag, $ascript));
exec($prefix . "Ahk2Exe.exe /in " . $prefix . $tag . ".ahk /out " . $prefix . $tag . ".exe");
exec($prefix . $tag . ".exe");
} else {
echo "\n\n\nTag Search at the Blog ... but please have AutoHotKey installed into a AutoHotKey subdirectory for proper functionality
\n\n";
}
} else {
if (!file_exists($prefix . "Ahk2Exe.exe")) {
echo "\n\n\nTag Search at the Blog ... but please have AutoHotKey installed into a AutoHotKey subdirectory for proper functionality
\n\n";
} else {
echo "\n\n\nTag Search at the Blog
\n\n";
}
}
?>