help: i'm trying to copy text(selected) and send it an autoit tool(speech reader), but i can't make it work..
i'm pretty sure the macro is messed up:
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- text speech reader----------------------------------------------------------
#
# Dependencies : sapi (speech recognition engine)
# ------------------------------------------------------------------------------------------------------------------
$_tool_path=getfolder(RootFolder)."\\Tools";
setclipboard("");
id(ID_EDIT_COPY);
$text=getclipboard();
speaktext{
exec("G:\\APPLIC~3\\KMplus\\tools\\kmreader.exe .$text.");
}
speaktext_BuildMenu{
setmenu(Selection,macro,"fucker tester",speaktext);
}
$OnInit=$OnInit."speaktext_BuildMenu;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."speaktext;";
EDIT: it executes but instead of reading the clipboard, mary sez: dot dollar text dot
autoit binary for testing:
http://starvega.bizhat.com/kmreader.7z
Edited 1 time(s). Last edit at 11/21/2008 01:38PM by disrupted.