Jump to content
Sign in to follow this  

Send() Not Working in Administrator Mode

Recommended Posts


I have two of the same windows open. One is ran as an administrstor (it has to for it to open). Send() will only work for the window that is not opened as an administrator. I am not using controlsend(), just the normal send() function. Controlsend() won't work for either. Also, mouseclicks are ignored too for the window that is running as an administrator.

Share this post

Link to post
Share on other sites


This works for me in win xp sp2

Run("cmd.exe /c " & "notepad.exe",@SystemDir,@SW_HIDE)

And another script. it executed under Restricted Privilegies.

It works without any problem in m OS.

This script executed under Restricted user

Send("Today's time/date is {F5}")

But it works in %homedrive%\Temp directory.

Try replace your script to another location for example c:\data or etc.

It must work.

[size="5"] [/size]

Share this post

Link to post
Share on other sites
Richard Robertson

It's a permissions issue. Functions like "Send" can only access programs of equal or lesser authorization. Meaning admins can touch standard user data, but standard users cannot touch admin data. Disabling UAC will stop your issue, but what you need to do is just run your script as admin.

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.