mbit90 Posted September 24, 2020 Posted September 24, 2020 Hello, first post here, but I've been using Autoit since around 2010. I just upgraded to Autoit 3.3.14.5 and SciTE4AutoIt3 07_11_2019. Had been using an ancient version from 2015 before. I'm on WIn7 64 bit. I don't like the current syntax highlighting colors so I fired up SciteConfig, but it does not change the colors and fonts after hitting Apply. Then I went to Menu Options -> Open User Options File, it opens the SciTEUser.properties file in the program directory - which is not writeable when UAC is enabled. As soon as I give myself write rights (set ACLs), scite will delete that file. So that's not the solution. I had been opening Scite from the context menu of a script in Explorer all this time. Then I started scite from the Start Menu shortcut -- and now it uses the config files from the userprofile (C:\Users\xxx\AppData\Local\AutoIt v3\SciTE) and SciteConfig works like a charm. So why does Scite work so differently when started from the context menu? How do I fix this?
pseakins Posted September 25, 2020 Posted September 25, 2020 (edited) Check the version numbers obtained from Help - About for the two different methods of starting. Are they different? If they are the same you should wait for @Jos to respond. Meanwhile take a look at this recent thread, there are similarities with your issue, you may need to post the same diagnostic info. Edited September 25, 2020 by pseakins Posted wrong link Phil Seakins
mbit90 Posted September 25, 2020 Author Posted September 25, 2020 Hey thanks for your reply. Checked the version numbers - they are the same. They must be, it's the same program after all. I checked in task manager, it's the same executable running in both cases. I don't have any other copy of Scite installed.
mbit90 Posted September 25, 2020 Author Posted September 25, 2020 Update: Jos' answer to the topic you linked actually helped. It turns out that when started through the explorer context menu, SciTE did not get the SCITE_USERHOME env variable. That's because explorer's environment was outdated and did not have the variable, and SCiTE inherited that environment. So I "restarted" all explorer.exe instances and that solved it Thanks for the help! /close
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now