Sign in to follow this  
Followers 0
AcidHeat79

AutoIt IE Internet Options

9 posts in this topic

Hi all,

I need help on getting an idea on how to create an AutoIT for this.

I need IE to have a automated script in the internet options>LAN connections

(see attachment). All silent without being seen by user. And needs it to be created as a standalone exe.

And i have no idea how to do this as i have ZERO knowledge in scripts. Never studied or touch it before.

Can anyone help me?

post-62281-0-16069300-1294634979_thumb.j

Share this post


Link to post
Share on other sites



Welcome to the forums. You have a lot to learn. Read the help file and practice with a couple of simple scripts from the examples. You'll find that the folks here are willing to help but you must make some effort yourself. Typically, try a couple of things then post your code for others to look over.

To get you started, you don't need the IE functions as the config file for IE is stored in the registry at hkcu\software\microsoft\windows\CurrentVersion\Internet Settings\AutoConfigURL. Make a dummy entry and then serach in regedit for the text of that dummy entry.

Enjoy,

4Eyes

Share this post


Link to post
Share on other sites

There are tutorial here that will teach you what you need.


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

Okay,

All i want to do is; write this on the registry.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

"AutoConfigURL"="http://woodgrovebank.contoso.com/notepad.dat"

Can you guys give a hint or 2?

Share this post


Link to post
Share on other sites

RegWrite?


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

RegWrite?

Yup, i know that command only. Regwrite...

then? I tried since 8 hours ago and still can get it to write. Help file doesnt help me.

I'm not even a script writer, never touch any of this before...this is my first step...i dont know why those guys are making me learn this when they themselves dont know.

Thats why i am begging here...its been more than 8 hours...

How to make the hint comes out when we are writing and we forgot whats next?

How do we know what enter the value if the terms are unknown to beginner?

I wanna learn but not many information are helpful...i took more than 2hours to listen to the youtube videos...and i didnt hear any regwrite.

This is what i've stop at...

RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "AutoConfigURL", "REG_SZ", http://woodgrovebank.contoso.com/notepad.dat)

and i know this is wrong...coz i can't f5

Share this post


Link to post
Share on other sites

To set the RegKey please try:

$iResult = RegWrite ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "AutoConfigURL", "REG_SZ", "http://woodgrovebank.contoso.com/notepad.dat")
ConsoleWrite($iResult & "-" & @error & @CRLF)

On success you should get: 1-0

If you run a 64 bit OS you should use "HKEY_CURRENT_USER64".


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

Thanks water.

I realise all this while i was following the correct way to create a script in the first place.

I was opening SCITE rather than edit script for new autoit script.

Case solve...

Thanks water....really appreciate this.

Share this post


Link to post
Share on other sites

Glad to be of service :x


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

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  
Followers 0