Jump to content
Sign in to follow this  
BlazingKing

Help in coding?

Recommended Posts

BlazingKing

Hi there i am new to Autoit, I have created a batch file which modify registry file in order to optimize your network connection but its not getting any popular because of batch scripting. I thought, i should give Autoit a try because it create GUI for the program as batch file cant.

I want a GUI like this:

Posted Image

But with my personal items in it.

Here:

@echo off
color 03
:start

set /p ask=This software will optimize and over-write your current registry values in orderto optimize your [Network Configuration]. To continue type y and press enter [This setup will atomatically do every configuration that is required](y/n)
if %ask%==y (echo Modules Loaded, Operation Continued...)
if %ask%==n exit

@echo off
echo Backing up your registry files...
if not exist "%drive%\Registry" mkdir "%drive%\Registry"
if exist "%drive%\Registry\regbackup.reg" del "%drive%\Registry\regbackup.reg"
regedit /e "%drive%\Registry\regbackup.reg"
echo Backup Succesfully Completed!



echo  [Optimizing Network Speed] 

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /f /v DisablePagingExecutive /t REG_DWORD /d 1
echo DisablePagingExecutive [Optimized]

I want a GUI & Code that have 3 buttons "Analyse & Optimize & Backup"

The analyse button shows the current value of the registry key and name as specified above and at the side of a it recommended value [1] like". Backup will store the current registry values incase some thing goes wrong and the Optimize value will change the value with recommended value.

Anylysing Process started: [Current Value] [Recommended Value]
DisablePagingExecutive: [0] [1]

anybody could help or provide me with some guidance?

Edited by BlazingKing

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, BlazingKing, welcome to the forum. My first suggestion would be the same as most anyone else on the forum - namely, the Help file is your friend. AutoIt can easily do what you need it to, and we all understand wanting to get started now. But taking a little time to read through the help file will be an enormous help to you. As you're going through it, I would suggest looking at the following topics for your specific project:

  • GUICreate
  • Registry Management
Once you have done some reading, and have tried something on your own, please post in the General Help and Support forum if you run into any issues. The community will be happy to assist you :)

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
BlazingKing

Hi, BlazingKing, welcome to the forum. My first suggestion would be the same as most anyone else on the forum - namely, the Help file is your friend. AutoIt can easily do what you need it to, and we all understand wanting to get started now. But taking a little time to read through the help file will be an enormous help to you. As you're going through it, I would suggest looking at the following topics for your specific project:

  • GUICreate
  • Registry Management
Once you have done some reading, and have tried something on your own, please post in the General Help and Support forum if you run into any issues. The community will be happy to assist you :)

Much appreciated mate, Sure i will give it a try. ^_^

Share this post


Link to post
Share on other sites
JLogan3o13

Glad to be of service :)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Mechaflash

On a side note, requests for assistance with your code should be directed to the General Help and Support forum, as the developer forum is a space for AutoIt developers to speak of witchcraft, wizardry, hello kitty, and all that jazz.

  • Like 1

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Share this post


Link to post
Share on other sites
water

Glad to be of service :)

Hey, that's my text ;)

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
JLogan3o13

On a side note, requests for assistance with your code should be directed to the General Help and Support forum, as the developer forum is a space for AutoIt developers to speak of witchcraft, wizardry, hello kitty, and all that jazz.

As an FYI - I did direct him there :)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.