Sign in to follow this  
Followers 0
Shouf

Autoit script paused after non admin log in

4 posts in this topic

#1 ·  Posted (edited)

Hi! First let me explain what I'm trying to do.

There's an app that I want to use everytime a user logs in windows (I'm using windows 7 by the way). The thing about this app (let's call it app A) is that I can't find any documentation for it therefore I can't use it in command line which complicates the task of automatizing its launch.
In order to avoid that problem I've installed on my computer another app (app B ) which allows to modify the keyboard shortcuts and do many cool stuff like moving the mouse to a specified position, clicking, starting programs, etc.

Finally, with autoit I've written a small script which calls the right shortcuts I've modified using app B which themselves launch app A with the right parameters.

I put the generated .exe in windows' start folder  but the problem is that it launchs automatically only when I log in with an admin account, if I use another account nothing happens, I only see a small icon near the clock saying that my "script is paused" and I can't do anything about it.

Does anybody know how to make that script work for all types of acounts ? Please help me.

Edited by Shouf

Share this post


Link to post
Share on other sites



@Shouf welcome to the forum. You will find that you will get a lot more help if you A: drop the whole "App A, App B *wink *wink" and just explain in detail what you are trying to do, and B: include your code so we are not trying to guess what you're attempting to accomplish. Help us help you ;)

 


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

Share this post


Link to post
Share on other sites

#3 ·  Posted

Yeah I guess you're right, I just assumed that since it's a very simple script and that it's working in admin sessions the problem didn't come from it.
But here is my code :

Send("{F5}")
WinWaitActive("MainWindow")
Send("{TAB}")
Send("1084")
Send("{TAB}")
Send("{F4}")
Send("{F6}")


F5 is a shortcut to launch an app, F4 is a shortcut to place the mouse to a specific place and then right click thanks to F6.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Create scripts in a standard user account.

Edited by Alan1234

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