Jump to content

Portable Autoit and UCTMan.au3 (SciTE User CallTip Manager)


ioa747
 Share

Recommended Posts

This is about UCTMan.au3 (SciTE User CallTip Manager)

I installed a Portable version of Autoit alongside the installed one.

I updated the system variable from SCITE_USERHOME = “% LOCALAPPDATA%\AutoIt v3\SciTE”

to SCITE_HOME = “E:\AutoIt-v3D\SciTE” .

I'm running the SciTE from Portable version, I press Ctrl+1 to go to configuration.

In Field Auto ID 3 Folder shows folder correctly “E:\AutoIt-v3D”

and in the User Include Folder field I give the location of portable included “E:\AutoIt-v3D\SciTE\SciTE_PlusBar\SciTE\CMD\.Include” .

Close and reopen SciTE

when I call the SciTE User CallTip Manager, In Field Include Folder shows

“E:\AutoIt-v3D\SciTE\SciTE_PlusBar\SciTE\CMD\.Include”  (that is OK)

and

“C:\Program Files (x86)\AutoIt3\Include\”

Instead of

“E:\AutoIt-v3D\Include\”

Even though I run the Autoit from the E:\AutoIt-v3D\ folder, UCTMan looks at what is written in the windows registry

while SciTE knows the correct locations as shown in the SciTEUser.properties
openpath.$(au3)=$(SciteDefaultHome)\..\include;E:\AutoIt-v3D\SciTE\SciTE_PlusBar\SciTE\CMD\.Include

 

To get it to work properly i had to replace the line

Local $sAutoIt_Path = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe", "")

To

Local $sAutoIt_Path = @AutoItExe ;RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\AutoIt3.exe", "") ; <-

in the file E:\AutoIt-v3D\SciTE\SciTEConfig\UCTMan.au3 on line 57

 

I know that I know nothing

Link to comment
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
 Share

  • Recently Browsing   0 members

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