ValentinM Posted September 5, 2024 Posted September 5, 2024 Hello, I'm using SciTE and AutoIt since 2 weeks at work. Our current security measures here doesn't allow users to have their main accounts Admin on the computer. When I want to do something that requires elevation, I need to try to execute it, wait for Windows to ask for elevation and enter my admin login/pass. For most cases, it's working pretty properly, but I think this is doing a mess with SciTE. As you could see in the title, abbreviations aren't working at all, I even tried to fully uninstall AutoIt and SciTE and reinstall it properly. The abbreviations actually are detected (highlighted in red) but pressing space literally does nothing. Each time, I end with some files in my Program Files, and some in the Admin Account AppData. Nothing in my regular user AppData (seems fair). In the Program Files, it seems to miss some files : I found "Run AutoIt3/SciTE check" under "Other Tools" inside "SciTE Config" and this is what I get : ****************************************************************************************************************************************** * HKCR\.au3 Default : AutoIt3Script * HKLM\SOFTWARE\Classes\.au3\ShellNew: C:\windows\SHELLNEW\Template.au3 (File Exists) * HKCR\.au3 ShellNew : C:\windows\SHELLNEW\Template.au3 (File Exists) ****************************************************************************************************************************************** * Explorer shell options: * HKCR\AutoIt3Script\shell: * => Default Action:Open * Compile => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l" * Compile with Options => Command:"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /ShowGui /in "%l" * CompileX64 => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe_x64.exe" /in "%l" * CompileX86 => Command:"C:\Program Files (x86)\AutoIt3\Aut2Exe\Aut2Exe.exe" /in "%l" * Edit => Command:"C:\Program Files (x86)\AutoIt3\SciTE\SciTE.exe" "%1" * Open => Command:"C:\Program Files (x86)\AutoIt3\SciTE\SciTE.exe" "%1" * Run => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1" %* * RunX64 => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3_x64.exe" "%1" %* * RunX86 => Command:"C:\Program Files (x86)\AutoIt3\AutoIt3.exe" "%1" %* ****************************************************************************************************************************************** * User SciTE info: * Portable:C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig: * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\Au3Stripper * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\AutoIt3Wrapper * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\CodeWizard * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\SciTE Jump * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\SciTEConfig * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\Tidy * File missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\Aabbrev.properties * File missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\au3abbrev.properties * No SciTEUSer.properties yet ****************************************************************************************************************************************** All those "missing files/folders" are inside the Admin AppData folder, except SciTE Jump. When I copy them, I still have those lines : * User SciTE info: * Portable:C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig: * Directory missing: C:\Program Files (x86)\AutoIt3\SciTE\SciteConfig\SciTE Jump * No SciTEUSer.properties yet I found this post : And the result of Jos's script is : >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "C:\Users\MyUsername\Desktop\testJos.au3" /UserParams +>11:46:18 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (4.4.6.0) Keyboard:0000040C OS:WIN_10/2009 CPU:X64 OS:X64 Environment(Language:040C) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper >Running AU3Check (3.3.16.1) from:C:\Program Files (x86)\AutoIt3 input:C:\Users\MyUsername\Desktop\testJos.au3 +>11:46:19 AU3Check ended.rc:0 >Running:(3.3.16.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Users\MyUsername\Desktop\testJos.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. -->:266060:askproperty:au3.keywords.abbrev <--:266060:macro:stringinfo: a3w a3w2 ael aes aretval as aso au3check aut2exe aut2exedir autoit3 autoit3dir awgt awst ba bi bin binl binm bn bo bre bretval bro bs but bx cc ccl cco cd cdt ce ceil cf cg cgf cgh cgp cgt ch chk cl clv cm cmd cmd2 cmdline cmdlineselect cmdlineselect2 cmdlineswitch cmdlineswitch2 cont1 cont11 cont111 cont2 cont22 cont222 cp cr cr1 cr2 cr3 cr4 cr5 cs csh cst cw cwb cwe cweln cwelns cwes cwg cwln cwlnb cwlng cwlno cwlnr cwo cwr cws dat datbeta datfinal dco dcr dgd dgfs dgl dgse dgsi dgt dll dllc dllo dllsc dllsgd dllsgp dllsgs dllssd dm dma dmd dmg dou dountil dr dretval ds dsf dsl dst eclose edt eg el emax emin ereg erestore err error errval es eu exec ext extval fcd fcl fcnl fco fcs fd fe ffff ffnf fga fgln fgsh fgsi fgsn fgt fgv fi flo fm fo fod for0 for0ub for0ubn for1 for1c for1ub for1ubn fornext fornext2 fr frc frce fread freadb frl fsa fsd fsf fsp fst fun funcont functions funex funex123 funwrap fw fwl fwrite fwriteb gc gcc gcca gccb gcccb gcccm gccco gccda gccdu gcce gccg gccgc gccgr gcci gccico gccla gccli gccm gccmc gccmi gcco gccpi gccpr gccr gccs gcct gccti gcctic gcctv gcctvi gccu gcd gcgh gcgs gchecked gcr gcrlvs gcrm gcs gcsbc gcsco gcscu gcsd gcsf gcsgr gcsi gcsl gcsm gcsoe gcsp gcsr gcss gcsst gcst gcstd gd gdisable genable gfocus ggci ggm ghide grm gs gsa gsbc gsc gscu gsf gsg gsh gshow gsi gsoe gss gsw gunchecked hkcc hkcr hkcu hklm hks hku hnd hsp ib ic icon icondir id ifelse ifelseif iferrc iferrcln iferrmsg iferrmsg2 iferrmsg2ln iferrmsgln iferrset iferrset2 iferrset3 ifextc ifextcln ifthen ig igi igs incl incl1 incll include includedir includeonce inp ir iretval irs irsn isad isar isbin isbo isd isdll isf isfn ishw isi isk ism isn iso isp iss item iw iws lbl lf1 lf2 lf3 lf4 lf5 lvw mb mb2 mbe mbe2 mbe2ln mbeln mbi mbiln mbqn mbqnln mbqy mbqyln mbw mbw2 mbw2ln mbwln mc mcd md men mgc mgp mgs mm more moremsg mu mw nti num oae oaer oas oasr ocr oev oge options pc pcs pe pgc pl poff pon prag prg ps pset psp pw pwc ra rad rael raes raw rd rdm reg reg2 regdat regkey regval rek result retseterr retval rev rnd rr rwa rwael rwaes rwr sacr say sbgt scite scitedir sco sd se selectcase selectloop selfdelete ser setupgui sex sexec sexecw sf sia sian siascii sid sif sii sil sio sioc sis sisp siu siw sixd ska sl sld slen slower slp slp0 slp1 slp2 slp3 slp4 slp5 sm so sor sp sr srep srex srexr ss sscr ssws sswv stbin stl sto str stri supper switchcase switcherr switchext switchloop tab tab1 tab2 tab3 tab4 tab5 tci tcm tcpa tcpc tcpcs tcpl tcpntip tcpr tcps tcpsd tcpsu td ternary tgm ti tid tigh tigs tigt tisoe tiss tist toolt trayi traym trv tsc tsi tsoe tspi tss tstt tt ub udpb udpcs udpo udpr udpsd udpsu version vretval wa wat wc we wf wgcl wgcp wgcs wgh wgpo wgpr wgs wgte wgti whilew whilewend withe withendwith wk wl wm wma wmau wmsi wsot wss wst wstr ww wwa wwc wwna -->:266060:askproperty:au3.keywords.userabbrev <--:266060:macro:stringinfo: -->:266060:askproperty:keywords7.$(au3) <--:266060:macro:stringinfo:$(au3.keywords.abbrev) $(au3.keywords.userabbrev) ! Filename:\abbrev.properties -------------------------------------------- Filename:\au3UserAbbrev.properties -------------------------------------------- Filename:\au3abbrev.properties -------------------------------------------- +>11:46:19 AutoIt3.exe ended.rc:0 +>11:46:19 AutoIt3Wrapper Finished. So my guess is that SciTE is configured to talk with the Admin AppData and not my non-elevated account, due to the specific install I made. If I am right, how can I configure SciTE to talk with my own AppData ? Is it the purpose of those "SCITE_USERHOME_ variables ? More generally, how can I repair SciTE, make it work properly with such a configuration ? Thanks in advance, Valentin May the force be with you. Open AutoIt Documentation within VS Code
Developers Solution Jos Posted September 5, 2024 Developers Solution Posted September 5, 2024 (edited) I think you still have to add the SCITE_USERHOME environment variable, which normally is set by the SciTE4AutoIt3 installer! The installation now assumes it is portable, so will try to get stuff from the SciTE.exe directory. So, try to add environment variable: SCITE_USERHOME= C:\Users\MyUsername\AppData\Local\AutoIt v3\SciTE Edited September 5, 2024 by Jos ValentinM 1 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.
ValentinM Posted September 5, 2024 Author Posted September 5, 2024 Just like yesterday, you solved my problem ! I only had left to move "SciTE Jump" folder and *.properties files into my AppData. Much thanks, Jos ! May the force be with you. Open AutoIt Documentation within VS Code
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