Change profile preferences from script?

Post Reply
Nyyrazzilyss
Posts: 334
Joined: Thu Mar 05, 2015 2:53 am

Change profile preferences from script?

Post by Nyyrazzilyss » Tue Mar 24, 2015 2:51 am

Is there any way to change the profile preferences from a script?

In particular, i'd like to be able to force autoclear input line to true from a package. Alternatively, any opinion on changing it to default to on, instead of off?

User avatar
Belgarath
Posts: 232
Joined: Fri Jul 26, 2013 7:19 am
Discord: macjabeth#2283

Re: Change profile preferences from script?

Post by Belgarath » Tue Mar 24, 2015 6:07 pm

There is no way to turn the setting on or off via script, but there is a way to clear the input line:
Code: [show] | [select all] lua
-- don't be evil with this!
clearCmdLine()

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests