Author Topic: FEATURE REQUEST: Advanced System Tweaker - Nested IF statements and Boxes  (Read 4336 times)

0 Members and 1 Guest are viewing this topic.

Offline acclude

  • Newbie
  • *
  • Join Date: Mar 2013
  • Posts: 15
  • Location: Maryland
  • Karma: 1
  • Destructionator
    • View Profile
2 requests in one.

Request #1. It would be nice if nested IF statements functioned like:

[if] |||radio1||| = true [then]
[if] |||check1||| = true [then]
Windows Registry Editor Version 5.00

DO ACTION 1
[end if]

[if] |||check2||| = true [then]
Windows Registry Editor Version 5.00

DO ACTION 2
[end if]
[end if]

[if] |||radio2||| = true [then]
Windows Registry Editor Version 5.00

DO ACTION 3
[end if]


Request #2 is to allow separation boxes that will make the tweak look pretty to the user, but serve the function of separating radio controls. That way you could have 2 radios for enable/disable and then more radios in the separation box for specific options for enable or disable. This one requires the nested IF statements to work too.
I'm new to Tweaking.com but very experienced with computers and networks since the early 90's.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
I have been wanting to add better IF Then control to the program. Have it on my sticky pad right on my desktop for a while now.

With so many other programs I never got to it since I havent had anyone ask for it yet. Just like the update I did last night, I do them when requested :-)

In this case the hard part is I dont know how to handle the statements yet. I need to find out how to properly break it apart so the program knows properly. It just comes down to breaking the text apart is all. Just need to find the right way to do it.

Time to do some Google searches lol

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline acclude

  • Newbie
  • *
  • Join Date: Mar 2013
  • Posts: 15
  • Location: Maryland
  • Karma: 1
  • Destructionator
    • View Profile
Well, I'll keep adding my suggestions then to provide some more motivation!

If you want any help with some of the requests, I'm OK with coding....not great, but I can usually figure things out after messing with it for a little bit. I don't know what you use to write a lot of your stuff but I do have Visual Studio and a few other IDEs that can handle a wide variety of languages. I'd be happy to help with some of these things if you want. ;)
I'm new to Tweaking.com but very experienced with computers and networks since the early 90's.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
All my apps are in VB6 lol

I did find some examples how how to have VBA built in for users and also found some other things. Going to work on it tonight and see what I come up with :-)

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
OK, my mind is going to kill me. It is 4:30 am and I have to go to a customers in 4 hours and I haven't gone to bed yet lol When I start working I refuse to stop till I get it done.

I started on this 12 hours, 2 cigars and 2 drinks ago. And here is what I have so far.

(Here is the new exe)
http://www.tweaking.com/files/setups/test/tweaking.com_advanced_system_tweaker_setup.exe

I dont have the if then statements working like you want yet and I may have to do that at a later date as I am falling behind on the other projects right now from the last 2 days of getting a new version ready for the advanced system tweaker :-)

I have added frames and lines. The frames can be used as containers. So you can have option buttons in different frames.

Getting VB to work with this was a royal pain in the butt lol

But I got it working :-)

I attached a video showing it and of course you have the exe now. I am sure I had to of missed a small bug here and there given how tired I am. So let me know if you find any. :wink:

I may leave the program as is (Except for any bugs you and I find) and wait for your test results back so I can put this out on Sunday. And I need to get back to work on my other projects.

But I will of course keep updating all my programs including this one. :artist:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
How goes the testing?

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

 

anything