Main Forum > Tweaking.com Support & Help

Questions about the Add-on creator

(1/3) > >>

umpio:
I know that you are making the new videos and all but I couldn't wait so I'll ask some questions that I have about creating add-ons.  :cheesy:
 
There is the [if] statement, Is there [and]? I don't know right now where could it be used or needed but I'm thinking something like this:
[if] |||radio1||| = true [and] |||check1||| = 0 [then]
the code
[end if]

second question is can we use multiple [if] like this way
[if] |||check1||| = 1
[if] |||check2||| = 1 [then]
the code
[end if]

Or maybe this way:
[if] |||check1||| = 1 [then]
some of the code
[if] |||check2||| = 1 [then]
rest of the code
[end if]
[end if]

Third can we use something like this to compare drives to see what drive user selected? Again no idea where would I need it, just asking.
[if] |||drive1||| = "C:"[then]
code
[end if]

Last question is about dword values in some registry keys. I have a "MaximumTransferLength" which value can be set from dword:00065535 to dword:02097120

Is there any way to use a text box for it like this, so user could set it also manually:
"MaximumTransferLength"=dword:|||text1|||

The problem as I think are the zeros at the beginning if I tell the user to set value from 65535 to 2097120.

Or will it accept it just as this way:
"MaximumTransferLength"=|||text1|||

I think this is all for now  :wink:

Shane:

--- Quote ---There is the [if] statement, Is there [and]? I don't know right now where could it be used or needed but I'm thinking something like this:
[if] |||radio1||| = true [and] |||check1||| = 0 [then]
the code
[end if]

--- End quote ---

Right now there isnt. This is the first time I have made a scripting that I let others use. So I am not 100% yet on how to handle multiple if then statements like I do in VB.

Reason for this is in a vbs or bat file you can have if statements, so I put mine in brackets to help tell them apart. I plan on building more on this as time goes on.

Right now what ever if statement is triggered everything else is removed and only the code in the if then is ran. VERY basic but works. I will make it better down the road though.


--- Quote ---Last question is about dword values in some registry keys. I have a "MaximumTransferLength" which value can be set from dword:00065535 to dword:02097120

Is there any way to use a text box for it like this, so user could set it also manually:
"MaximumTransferLength"=dword:|||text1|||
--- End quote ---

In the program I have a lot of variables you can use and I think I even have a commend to convert to dword. I cant remeber if I finished it yet. Been a month since I looked at the code (Waiting for feedback and bug reports, there was no bug reports). But now that it is out of beta I am ripping through it again  :cheesy:

Shane

umpio:
I think as of now every tweak can be done without them. I was just curious to ask.

But those variables sounds really interesting, can't wait when you finish a proper documentation for them, but no need to hurry. it's done when it's done. :)

P.S. small possible "bug" report I tried to install the new version and noticed that I have "AdvSysTweak.exe" still running. the installer prompted me of this. I think it's because of I didn't reboot after using it? But I closed it and the installer ran fine.

I like the new update. especially of the new amount of the tweaks! :D And the browse button seems to work now! I'll try to finish the placesbar addon, later.

Shane:
I have 800 more tweaks waiting. Will release a 100 every Sunday till they are all done :-)

Shane

umpio:
Keep it well organized so users can easily find what tweaks they want to use. Browsing trough all the 1000 tweaks just to find one would be too difficult. Example if the user couldn't remember some tweak's name.

Also the new "Tweaks have been run" counter doubles if I use the "reload add-ons" function. The number of enabled tweaks sums again to the total.

One other "bug" that I encountered was in the addon creator when I opened a drive list and while it was opened I tried  to drag it around using the blue square. It immediately disappeared somewhere really far away :D When I tried to do the same again it also crashed the add-on creator.

Edit: The counter seems to reset after starting the program again. So no problem with that.

Navigation

[0] Message Index

[#] Next page

Go to full version