Re: How do you pass a search word to the Euphoria documentation index.html search box?
- Posted by ne1uno Dec 28, 2011
- 1375 views
I assume you can run wscripts in wine? this works in windows if your editor doesn't handle context sensitive help from selected words automatically. you could link this script to a command.
//usage: openEu4Uchm.js batch //parse commandline options var oArgs = WScript.Arguments; var WshShell = new ActiveXObject("WScript.Shell") WshShell.Run( "c:\\Eu\\eu4chm\\eu410uo.chm") WScript.sleep(3990) //view->index WshShell.SendKeys("%V%N"); WScript.Sleep(800); WshShell.SendKeys(oArgs(0)+"^M"); WScript.Sleep(800); //feel lucky, hit display WshShell.SendKeys("%D");