Loggin Alias Problems

Posted by Markomo on Sat 05 Oct 2024 08:09 PM — 1 posts, 3,321 views.

#0
Hello,

i want only Logging the Output from my Commands/Alias. So i wrote a Alias like this


Alias: ^b ([A-z]+)$

Send: 
vitem = "%1"
Send("untersuche "..vitem)
Send("lausche "..vitem)
Send("rieche "..vitem)
--Send("nimm "..vitem)
--Note("untersuche "..vitem)
--Note("lausche "..vitem)
--Note("rieche "..vitem)

Send To: script

Options = Enabled, Regular Expression, Echo Alias 


If i send my Alias i get only in the Logfile the line "b boden" without:


untersuche boden
lausche boden
rieche boden


What i am doing wrong?

Thanks!

/edit: I found the answer:


vitem = "%1"
LogSend("untersuche "..vitem)
LogSend("lausche "..vitem)
LogSend("rieche "..vitem) 



I must use "LogSend"