Can I restrict input whilst my script is running?

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
Steve Ashdown
Newbie
Posts: 3
Joined: Mon Jun 13, 2005 11:29 am

Can I restrict input whilst my script is running?

Post by Steve Ashdown » Mon Jun 13, 2005 11:38 am

Hi,

I have a compiled script running on a windows 2003 server machine which I share with two other users.

I have used the Windows scheduler to create a job which run this compiled script every 30 minutes.

I am using keypresses within my script but unfortunately each time one of my collegues logs onto the server via VPN if the script is running they interrupt it and cause it to fail.

Is there anyway of restricting the input of to just my script whilst it is running?

Or alternatively is there another approach i should be taking?

Many thanks,
Steve Ashdown

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Jun 13, 2005 11:42 am

See the BlockInput command in the help file.
MJT Net Support
[email protected]

Steve Ashdown
Newbie
Posts: 3
Joined: Mon Jun 13, 2005 11:29 am

Post by Steve Ashdown » Mon Jun 13, 2005 11:49 am

Many thanks.

I am running version 7.3.05 and I have just search the help file and can find no trace of blockinput or anything of that type!!!

Is blockinput supported in the version?

If so what is the syntax for this command?

Many thanks
Steve Ashdown

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Jun 13, 2005 12:01 pm

BlockInput was introduced in version 7.3.10. If you have 7.3.5 then the update is free and can be obtained from http://www.mjtnet.com/dldregd.htm

A list of what's new can be seen at:
http://www.mjtnet.com/index.htm?mswhatsnew.html
MJT Net Support
[email protected]

Steve Ashdown
Newbie
Posts: 3
Joined: Mon Jun 13, 2005 11:29 am

Post by Steve Ashdown » Mon Jun 13, 2005 12:06 pm

Yes just found that.

Many thanks.
Steve Ashdown

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts