U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » Usc Execute("echo Ciao") headaches...
Usc Execute("echo Ciao") headaches... [message #10582] Tue, 17 July 2007 17:44
waxblood is currently offline  waxblood
Messages: 95
Registered: January 2007
Member
A macro like this doesn't work in theide :


macro "Salute" Ctrl+Alt+S {
    .Execute("echo Ciao")
}


You get only a
MacroExecute: echo Ciao
in the console, and nothing tells you the command actually didn't get executed.


To get things working it is necessary to call cmd, so this works

macro "Salute" Ctrl+Alt+S {
.Execute("cmd /C \"echo Ciao\" ")
}



This isn't very intuitive...


echo Ciao,
David
 
Read Message
Previous Topic: REPL
Next Topic: Immediate reparsing of usc macro when changed [FEATURE REQUEST]
Goto Forum:
  


Current Time: Fri Nov 13 21:40:13 GMT+1 2026

Total time taken to generate the page: 0.00502 seconds