LS Tweaker Thread last updated on 2006-10-28 13:35:38

Posted by member 212670 on 2006-10-24 00:00:21

Well, I guess I should stop procrastinating and let people try this out.

No readme yet, but it's pretty straight forward. Also, there's a '?' you can click and select something for info.

I'm not done with it, but it's time for external feedback. So, any suggestions, comments, and/or bugs, are welcome.

The LS icon was created by tnl (permission). Proper credits will be included with the file in the near future, along with a brief explanation of use.

Download: LS Tweaker 0.4.5 Beta (Updated: Oct. 28/06) -Another minor fix. File updated 2:20pm EST.

Changed in 0.4.5b:
(started on THC4K's suggestions)
-Added 'Remove Setting' to the listview's context menu. Removed items are saved to a log.
-Last (or only) returned item in the treeview is now selected after using 'Capture Item.'
-Added column sorting.
-Step.rc and personal.rc are now parsed (as located at $LitestepDir$step.rc and $PersonalDir$personal.rc). So, those files, and 'include'-ed files within them, are part of search results.

Changed in 0.4.3b:
-First checking LS path by the Process ID. (As suggested by fractal from how Brian does it.)
-Removed requirement to have nlm 2.5.0.

Changed in 0.4.2b:
-Added another check for the Litestep folder (because sometimes people who's name start with "f" and end with "actal" have weird installs).
-Fixed an error THC4K found in the listview's context menu.

Changed in 0.4.1b:
-Changed the method for automatically loading theme data. This should make it more compatible for people who have modified their folder structure.

Posted by member 248213 on 2006-10-24 08:09:11 link

I guess you need to explain to me how it works...


I press capture, and it tells me to click and item, but clicking anything in the window results in my default sound being played :/ (so its like its working still)

I understand now that "item" means the actual litestep theme stuff! Cool! like winspy :]

But searching doesnt work... maybe a breif explanation on how it gathers the info?

Cool looking app though man, really great ideas :)

Posted by member 212670 on 2006-10-24 14:19:03 link

Ya, I should probably explain a little.

1. Click the Capture Item button.

2. Click an element in a theme (taskbar, tray, some label, etc). The item you click appears in the treeview. If it was a label with children, the children appear too.

3. Select an item in the treeview and then click Execute Search. The current theme files will be scanned, and the main list will be populated with results.

4. Right click on a line in the main list for options.

Note:
-Capture Item only works reliably with mainly the xmodules.
-Clicking Advanced Search gives you new options. Those are pretty straight forward.

Posted by member 248213 on 2006-10-24 17:19:46 link

how does it know where to search? Is it based on default OTS2 setup? (That would explain why its not working for me...)

Does LSTweaker need to be anywhere specific to work? (C:\Litestep\utilities\ ???)

Posted by member 212670 on 2006-10-24 18:21:32 link

It can run from anywhere.

I check the registry for Litestep's install folder, and then the paths are hard-coded from there. So, if you don't have a standard OTS2 install, it likely won't work for you. =\

I made a note to allow for more dynamic paths within the LS folder.

Posted by member 5575 on 2006-10-25 00:32:11 link

I'll try this as soon as I've got some free time. I'm moving Saturday, and things are a bit... hectic.

Posted by member 212670 on 2006-10-25 03:44:27 link

@Brian: Cool, let me know if you have any suggestions. (Moving sucks)

@fractal: Try it now... I updated the original post with a new file.

Posted by member 93947 on 2006-10-25 09:10:11 link

Hey, seems to work nicely. Did you use the ls parser code or rewrote it? Because it seems to be as unimpressed by syntactical errors as the ls parser. Pretty neat :) Anyways, you asked for feedback, so brace yourself ;)

- Wouldn't it be more logical to start parsing at the step.rc? You'd get all the settings.
- Adding settings doesnt work yet, or? If i add anything, there is no file name and nothing gets saved. I'd like to chose where to save it, too.
- If i can add settings, i want to delete them too.
- Add a ton of hotkeys^^ The mouse is for newbs ;p
- After capturing stuff the last captured item should be selected for search
- Sorting the colums would be nice, also grouping them by filename and prefix
- If there was prefix groups, one could create vars in the group, actually saving alot of prefix typing work^^ That would make a pretty fine editor :]

Yeah, that's it for now. It has alot potential, very nice.

Posted by member 212670 on 2006-10-25 14:57:37 link

I wrote all the parsing stuff myself - which is pretty ugly inside.

I originally just wanted current theme settings only, but good idea on starting at step.rc. Low on the list, but something for the future.

New Setting should work. It's supposed to add the new setting to whatever file the currently selected item is in. It should also add the new setting info to the bottom of the listview. It's not doing that for you?

The rest all noted, thanks for the feedback.

Posted by member 93947 on 2006-10-25 16:28:04 link

Ah ok, when you select a line first, it will save it to the selected file. I just clicked anywhere, without having selected an item before, so the filename of the new setting line was blank. You could keep it that way and add an text field for the filename in case there was no line selected. That way you could even create a new config file to put stuff in to keep it organised ^^

Posted by member 212670 on 2006-10-25 17:21:02 link

Ahh I see the problem now. I accounted for all the right click context menu items being selected when no line was highlighted except for the New Value entry. Oops!

Posted by member 5575 on 2006-10-25 17:50:34 link

That's what beta is for. =)

Posted by member 248213 on 2006-10-25 21:46:03 link

I get an error when I run the 4.1b:
---------------------------
AutoIt Error
---------------------------
Line 0 (File "C:\litestep\utilities\lstweaker_0.4.1b.exe"):

RunWait($ls_dir & '\litestep.exe !NetIfModule not loaded xtextedit-0.6 !NetReloadModule xtextedit-0.6')

Error: Unable to execute the external program.

The system cannot find the file specified.

??? I might be missing a reg entry...
what exactly does it look for?

Also, is this Open Source? You could providew a link to the source so I can figure all this stuff out for you ;)

Posted by member 212670 on 2006-10-25 23:17:11 link

I wrote the code and I'm not making it open source. Not yet, anyway.

edit

File updated. It should work now.

Posted by member 248213 on 2006-10-26 01:54:50 link

Ok, just as long as I dont have to pay for it ;D


Ahhh! Your checking the reg for my shell!
I get error:
---------------------------
LiteSpawn 1.80
---------------------------
NetIfModule is not a valid LiteSpawn option.

followed by error:
---------------------------
LiteSpawn 1.80
---------------------------
xTextAppend is not a valid LiteSpawn option.

followed by:
---------------------------
Error
---------------------------
Theme.rc not found. This theme is not stuctured to OTS2 specifications and will not work with this utility. Click OK to exit.


Litespawn is my "shell" so...

I remember seeing some VBS code that Brian wrote, it located the litestep.exe in the process listing, then somehow ran bangs from that.
Would that be possible?

Otherwise is might be more of a "OTS2 tweaker"...

I just really want this to work for me :)

Posted by member 212670 on 2006-10-26 04:22:24 link

Litespawn? That sounds like a satan worshipping thing. Ya, I think I can get it from the process. I'll update shortly.

Posted by member 248213 on 2006-10-26 04:54:15 link

You havent heard of litespawn? dude its the bomb nizzle, loads upu LS when it crashes ;) real handy-nizzle mah shizzle fo' rizzeal!

Posted by member 212670 on 2006-10-26 05:18:01 link

I made myself a little script for when LS crashes so i can auto-restart it. =)

You and your satanic LS install has taught me stuff... File updated, give it a go.

My problem is I can make stuff work, but I suck at creative thinking. =\

edit

Btw, the !NetIfModule bang isn't loaded with your setup? Update your NLM! (Going to remove the requirement, though.)

another edit

I'm thinking it's still not going to work for you because of the 'theme.rc not found' error. I'm using $ThemeDir$ to find it. You have that var, right? And your running theme does have a theme.rc?

Posted by member 248213 on 2006-10-26 17:59:13 link

Holy crap this is awesome!!!

Yeah it works (I have a theme.rc and $ThemeDir$)

Excellent work, truly this is a superb util.
/me attaches it to a hotkey



Some input:
1. On the "Change value" Dialog, I think the OK and Cancel buttons should swap positions (Most apps go: "OK Cancel Apply")

2. Rearrange the left buttons so they are in order. I think Capture should be the first button.

Capture
Search
Advanced
Recycle

To follow the actual flow of operations :)


3. Make the "Capture item" function more obvious: Have it minimise or de-activate the LS tweaker window.
Maybe a winspy type of "draggable Crosshair" would be more intuitive?
Instead of saying "Click an item" up the top, make it obvious: "Click an item of Litestep" or "Click Litestep" or "Click a theme item" or something.


4. Make it a regular window (maximise it and stuff), maybe put the info thats up the top into a status bar?


Really this is too cool, and even if you do none of my suggestions it will still be "The" Litestep theme util.

Great job! :) (Now I understand why there hasn't been more FB releases!!!)

Posted by member 212670 on 2006-10-26 19:42:35 link

Excellent, it's finally working! Now I can move on to suggestions. :D

Glad you like it, all your feedback has been noted. ;)

Posted by member 1 on 2006-10-26 19:50:16 link

Start uploading it as a module? :p

Posted by member 212670 on 2006-10-26 22:01:51 link

Nah, not yet. This is an unofficial release. Once I do a bit of polishing, and putting in some of the feedback, I'll send it along. Soon. ;)

Posted by member 5575 on 2006-10-27 01:10:17 link

I've only had a little time to play with it, but it does indeed look like it'll be one of those must-have utilities. Nice work!