Jump to content

Recommended Posts

Posted

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?

Posted (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 by pseakins
Posted wrong link

Phil Seakins

Posted

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.

Posted

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 :P

Thanks for the help!
/close

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...