Changing .exe #properties dynamically based on @ScriptName with AutoIt3Wrapper
Recently Browsing 0 members
No registered users viewing this page.
a attached Menu bar for SciTE
Edited July 26, 2022 by ioa747 UpDate: Menu bar for SciTE UpGrade
Edited August 3, 2022 by ioa747 UpDate: UpDate data base & add the 'User Defined Function'
Edited January 13, 2023 by ioa747 UpDate: Update the data base to Autoit_Ver 184.108.40.206
Edited March 1, 2023 by ioa747 UpDate: to SciTE_PlusBar_220.127.116.11
In a program I'm writing I often have to refer to prior code I've written to get variables, etc. This involves scrolling up/down a lot. Presently I open a second SciTE window and dump the earlier code I'm working on in it, and go back and forth between the 2 SciTE windows but sometimes I edit the wrong window. Is there a way to horizontally split the SciTE window into 2 code views? Much like other programs allow (like Word, Acrobat, etc.)?
I have a question.
what is the -w- 7 parameters ? and why it is with '-' after w
... or refers to an older version of AutoIt and no needed any more !
I did not find relevant information.
I am trying to use RegWrite to create a key within HKLM on W10 without success.
I've had a look at a number of posts on the forum to troubleshoot, without success.
This post seems highly relevant
Here is my latest script with output
; Read/write data to registry #RequireAdmin Example() Func Example() Local $Status = "" ; Check if the registry key is already existing, so as not to damage the user's system. RegRead("HKLM\SOFTWARE\Microsoft\F1", "Key1") ConsoleWrite("Error: " & @error & @CRLF) ; Write a single REG_SZ value to the key "Key1". $Status = RegWrite("HKLM\SOFTWARE\Microsoft\F1", "Key1", "REG_SZ", "This is an example of RegWrite") ConsoleWrite("Status: " & $Status & @TAB & " Error: " & @error & @CRLF) EndFunc ;==>Example
>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "D:\Temp\Macrium\Registry_write_read.au3" /UserParams +>16:18:46 Starting AutoIt3Wrapper (21.316.1639.1) from:SciTE.exe (18.104.22.168) Keyboard:00000409 OS:WIN_10/2009 CPU:X64 OS:X64 Environment(Language:0409) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\ZEN\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\ZEN\AppData\Local\AutoIt v3\SciTE >Running AU3Check (22.214.171.124) from:C:\Program Files (x86)\AutoIt3 input:D:\Temp\Registry_write_read.au3 +>16:18:47 AU3Check ended.rc:0 >Running:(126.96.36.199):C:\Program Files (x86)\AutoIt3\autoit3.exe "D:\Temp\Registry_write_read.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. Error: 0 Status: 1 Error: 0 +>16:18:47 AutoIt3.exe ended.rc:0 +>16:18:48 AutoIt3Wrapper Finished. >Exit code: 0 Time: 2.362
The user is a local admin.
According to the script output, the regwrite call should have succeeded.
SciTe has been runas admin.
I've also tried compiling the script and running the resulting exe as admin.
Obviously I can't see the consolewrite output when I do this, but if the function calls were working then the exe should update the registry.
After suggestions as to options to try next.
Also, I tried narrowing down the forum search using arguments like: "regwrite windows 10" or "regwrite windows10" and for some reason had no results on the search; so had to use more general search arguments. Would be interested to know why the above wouldn't work as a search argument.
While Scite doesn't support high dpi, I open it in compatibility settings. But it brings another problem:My au3 app automatically enables high dpi, causing gui disorder.
I've tried #AutoIt3Wrapper_Res_HiDpi=N but it doesn't work. I'd appreciate it if you could offer some help. Thanks.
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
Already have an account? Sign in here.Sign In Now