Community discussions

MikroTik App
 
User avatar
AnRkey
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Tue Sep 15, 2009 6:01 pm

Syntax hi-lighting

Tue Apr 05, 2011 11:38 pm

Hi

Is there a way to enable syntax hi-lighting while editing scripts like in the console? If not, where do I submit a feature request?

R
MTCNA
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Syntax hi-lighting

Wed Apr 06, 2011 8:38 am

if you edit scripts in console, then hi-lighting should work. If you start to have discolouration try to press F5 to refresh, if that does not help, you have error in script you are writing.
 
User avatar
AnRkey
Member Candidate
Member Candidate
Topic Author
Posts: 119
Joined: Tue Sep 15, 2009 6:01 pm

Re: Syntax hi-lighting

Wed Apr 06, 2011 10:52 am

if you edit scripts in console, then hi-lighting should work. If you start to have discolouration try to press F5 to refresh, if that does not help, you have error in script you are writing.
Shweet, thats perfect!

For anyone else, do this in console to edit your scripts with syntax hi-lighting on.
/system script print brief ; # gives a list of scripts that can be edited
/system script edit "name of script here" source ; # edit a script
Thanks again MT guys!

R 8)
MTCNA

Who is online

Users browsing this forum: kcarhc and 12 guests