Yes, I realise that, but it's probably out of my skill set And, even if I were to tackle it, it would undoubtedly take me 100 times longer than someone who is more skilled than I am.
Built-In Tweak Editor
Re: Built-In Tweak Editor
Windows 10 Pro 22H2
Re: Built-In Tweak Editor
editconf , "Tweak:";
maybe you can increase functionality of this command to handle tweaksRe: Built-In Tweak Editor
This is a script (not finished) but it does satisfy calls for just a list of tweaks (Unaltered).
If there is a scripter out there who can see a better/shorter way of sorting out my ruminations,
it could prove to be a springboard to a significant piece of scripting.
I have to admit that as it is I wouldn't find a need for this script.
If anyone is wondering what the numbers are at the beginning of the tweaks are, they are the line numbers,
this of course depends on your individual ini file. You may need to use a notepad equivalent to find line numbers i.e. Syn, Akelpad etc..
If there is a scripter out there who can see a better/shorter way of sorting out my ruminations,
it could prove to be a springboard to a significant piece of scripting.
I have to admit that as it is I wouldn't find a need for this script.
If anyone is wondering what the numbers are at the beginning of the tweaks are, they are the line numbers,
this of course depends on your individual ini file. You may need to use a notepad equivalent to find line numbers i.e. Syn, Akelpad etc..
Re: Built-In Tweak Editor
The whole thing is not about getting the documented tweaks out of the XYplorer.ini file but to provide an editor that reads in a curated list of tweaks...
I got eyecancer after looking at your script for 5 seconds^^
If this would be just about getting tweaks out of the .ini file a non-optimized version could look like this...
I got eyecancer after looking at your script for 5 seconds^^
If this would be just about getting tweaks out of the .ini file a non-optimized version could look like this...
Code: Select all
$content = readfile("<xydata>\<xyini>");
$cntLines = gettoken($content, "count", <crlf>);
$section = "";
$log = "";
while ($i++ < $cntLines) {
$line = gettoken($content, $i, <crlf>);
if (regexmatches($line, "^\[\w+?\]")) { $section = regexreplace($line, "(\[|\])"); }
$desc = regexmatches($line, "^; Tweak:.*?(?=\r?\n|$)");
if ($desc) {
$desc = regexreplace($desc, "; tweak:[ ]*");
$log .= $section . "<:>" . $desc . "<:>" . gettoken($content, $i + 1, <crlf>) . <crlf>;
}
status "Parsing line " . $i . " / " . $cntLines, , "progress";
}
text $log;
One of my scripts helped you out? Please donate via Paypal
Re: Built-In Tweak Editor
The main problem with tweaks is that if i remember correctly not all have ;tweak mark before them.
Win 7 SP1 x64 100% 1366x768
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Built-In Tweak Editor
maybe developer can take a few minutes to update the missing ini file tweak prefixes.
Re: Built-In Tweak Editor
That would definitely help.GreetingsFromPoland wrote: ↑24 Nov 2022 23:49 maybe developer can take a few minutes to update the missing ini file tweak prefixes.
Windows 10 Pro 22H2
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Built-In Tweak Editor
hi developer ! any chance you could take a few moments of your time and update (for consistency) the ini file definition to ensure that all tweaks have the prefix ?
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Built-In Tweak Editor
hi again ! have you had a chance to update all the tweaks with the prefix ? i haven't scanned for new ones lately (working on other XY AHKs). thanks!GreetingsFromPoland wrote: ↑06 Dec 2022 13:49 hi developer ! any chance you could take a few moments of your time and update (for consistency) the ini file definition to ensure that all tweaks have the prefix ?
Re: Built-In Tweak Editor
I suggest a list box, or the "Tag List" list box.
- Attachments
-
- Edit Tweaks.png (71.17 KiB) Viewed 887 times
Win10, Win11 @100% 2560x1440 22H2
-
- Posts: 224
- Joined: 29 Sep 2022 14:20
- Location: Win10 @125%
Re: Built-In Tweak Editor
hi! here is an example that i am unable to code for in my application. the new tweak is WatchVirtual and the ; Tweak... entry does not immediately follow so i am unable to "detect" the new/updated tweak entry.
i am guessing that WatchDevices is new also ? and the ; Tweak... section is below all of them, like a block comment of sorts.
i am guessing that WatchDevices is new also ? and the ; Tweak... section is below all of them, like a block comment of sorts.
i still think that a built-in editor of some sort would make it easier for us and new users that get directed by forum users to "try or use this tweak" but don't really no how/where to make the edits or feel comfortable doing so (even though there is a guide to assist).WatchNetwork=1
WatchRemovable=0
WatchVirtual=1
WatchDevices=0
; Tweak: auto-refresh search results
Re: Built-In Tweak Editor
Here is my tweak editor it has taken since november as been so busy.
There is problems with it but it does do the basics.
There is problems with it but it does do the basics.
Re: Built-In Tweak Editor
I have since tried it on my laptop and found I had not fixed certain things
here is the updated script. Had not informed you that to have the tweak to run it must be from the tweaks section.
It only copies any tweaks you select from "full" to the "tweaks" inisections in script folder.
here is the updated script. Had not informed you that to have the tweak to run it must be from the tweaks section.
It only copies any tweaks you select from "full" to the "tweaks" inisections in script folder.