Hi Guys,
I want to add a new script, so I took the sample script and made some modifications.
The script is enabled and registerd with the option "Launch executables" in the security tab.
The following code adds a menu entry and then external application should be started.
function GetMenu()
{
local entries = ::wxArrayString();
entries.Add(_T("mymenu/explorer"),1);
retrurn entries;
}
function OnMenuClicked(index)
{
switch (index)
{
case 0:
local executing = _T("explorer.exe");
::ShowMessage(executing);
local retval = IO.Execute(executing);
// local retval = IO.ExecuteAndGetOutput(executing);
break;
...
In my case only the ShowMessage appears, but no external application starts. What I am doing wrong?
Thanks.
Mario