Sign in to follow this  
Followers 0
gfcaim

Locked workstation

6 posts in this topic

So I was having a lot of trouble with my code refusing to run on a locked workstation when a little demon told me to read the FAQ. Of course, the answer was there - don't use commands that talk about the 'active' window because the one I reference isn't really active. Makes sense when I think about it! I made may alterations and now it works. Result.

So my question is - How do I know what I can and can't use on a locked workstation? - is there a definitive list?, or a tip? etc. From my Q you can tell that i'm a newbie but keen to learn this excellent tool...


[font="Comic Sans MS"]"I'm not usually a praying man, but if you are up there, please save me Superman!" (Homer J. Simpson)[/font]

Share this post


Link to post
Share on other sites



I suppose in a nutshell, if you need to see something in order for the script to work, then it won't work if the workstation is locked. This is my personal experience and so far it's been spot-on!

Share this post


Link to post
Share on other sites

I understand that, but i would not have thought that something like 'send()' would have had a problem - or am I looking at this wrongly?


[font="Comic Sans MS"]"I'm not usually a praying man, but if you are up there, please save me Superman!" (Homer J. Simpson)[/font]

Share this post


Link to post
Share on other sites

yes, as mentioned in my original post I had read that in the FAQ


[font="Comic Sans MS"]"I'm not usually a praying man, but if you are up there, please save me Superman!" (Homer J. Simpson)[/font]

Share this post


Link to post
Share on other sites

I understand that, but i would not have thought that something like 'send()' would have had a problem - or am I looking at this wrongly?

Yes it would because you're sending keystrokes to a control, in which case the script would halt or stop because the control cannot render. Why don't you try a experiment using Notepad. I think there's code for this in the help. Run the script using a scheduled task making sure you've locked your workstation.

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