Jump to content

Recommended Posts

Posted (edited)

I doubt if this can be done, but here goes...I have recently been approached and was asked if a macro can be executed hidden...Can it?

ie

CODE START:

Run("rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,4")

Send("{TAB}")

Sleep(500)

Send("{TAB}")

Sleep(500)

Send("{TAB}")

Sleep(500)

Send("{TAB}")

Sleep(500)

Send("{ENTER}")

CODE END:

Edited by Robin
Posted

I doubt if this can be done, but here goes...I have recently been approached and was asked if a macro can be executed hidden...Can it?

Not this way... but I see you're trying to access the internet settings. Normally all operations related to those settings can also be performed with RegWrite().

Posted

Two thoughts:

[1] I guess you could set the transparency on the active window to zero with WinSetTrans

[2] You could, perhaps, move the Window entirely off the screen but still keep it active

Having said that, you *would* be better to access the registry to make the changes if that's what you're looking to do.

WBD

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
×
×
  • Create New...