Jump to content
Sign in to follow this  
Robin

Hidden Macro?

Recommended Posts

Robin

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

Share this post


Link to post
Share on other sites
Mat

Not with send, as that just mimics the keyboard sending the info, you will probably need to give more information about what you aer trying to do, and find another way too do it.

Share this post


Link to post
Share on other sites
KaFu

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().

Share this post


Link to post
Share on other sites
WideBoyDixon

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

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.