How to make settings stick

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 47
Joined: Fri Mar 27, 2015 7:46 am

How to make settings stick

Post by Akuro »

Found great scripts that modify the interface. But the changes won't survive a restart, they are retained for the current instance only. If I understand correctly, I have to trigger those script-calls at startup? But how?

In TabFonts.js for instance, the instructions tell me to insert
/Call("Scripts::Main", 1, "TabFont.js", `"8"`)
into AkelPad.ini
When I do so, my ini gets totally messed up, it loses most of its entries on the next startup.
Obviously, I am missing something here, some kind of Autostart-section? Or is there any other way to make certain script settings stick across sessions?

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

Akuro
TabFont.js wrote:// For autostart, in AkelPad.ini or registry CmdLineBegin/CmdLineEnd key, need to add eg:
// /Call("Scripts::Main", 1, "TabFont.js", `"8"`)
See CmdLineBegin and CmdLineEnd manual settings in AkelHelp-Eng.htm.

Offline
Posts: 47
Joined: Fri Mar 27, 2015 7:46 am

Post by Akuro »

Thanks. :)

KDJ
Offline
Posts: 1949
Joined: Sat Mar 06, 2010 7:40 pm
Location: Poland

Post by KDJ »

Akuro
To change manual settings: AkelPadManualSettings.js

Offline
Posts: 47
Joined: Fri Mar 27, 2015 7:46 am

Post by Akuro »

Thanks KDJ - have never been much of a command line afficionado, so this script really helps.
Post Reply