Jump to content
Sign in to follow this  
mannworks00

SciTE Version 4.1.2 Scheme Reset

Recommended Posts

This script will reset SciTE's scheme back to its original form (fonts, colors, etc.)

Local $path = @LocalAppDataDir&"\AutoIt v"&Floor(@AutoItVersion)&"\SciTE\"
Local $SettingsFile = "SciTEUser.properties"


;ShellExecute($path); View local app data folder on windows 7 & Windows 10
;Delete SciTEUser.properties (it will regenerate on SciTE restart)
If FileDelete($path&$SettingsFile) <> 1 Then
    MsgBox(0,"","Could not delete "&$SettingsFile)
Else
    MsgBox(0,"","Deleted "&$SettingsFile)
EndIf

#cs CAUTION
Deleting this file will fully reset font size, type, etc to SciTE's original settings. If you don't want to lose those, you can edit the settings file manually:
C:\Users\<user>\AppData\Local\AutoIt v3\SciTE\SciTEUser.properties
#CE

Exit

 

Share this post


Link to post
Share on other sites

Just to be clear: this is a bad idea as this will remove all user settings made for SciTE, not just the Color & fonts.

Why not simply edit it or use SciTE indigo to reset those settings by loading the standard scheme?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

It’s still nice to have if you’ve messed it up to go back to standard because I messed mine up once and I could’ve use this


My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
1 hour ago, Earthshine said:

It’s still nice to have if you’ve messed it up to go back to standard because I messed mine up once and I could’ve use this

Not really...  Just edit the file and remove the unwanted lines. You also don't buy a new car when the left front lamp is broken. ;)

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...