MSFN Forum: How to block keyboard and mouse during a script ? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to block keyboard and mouse during a script ? Rate Topic: -----

#1 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 03 August 2004 - 04:00 AM

Hi guys !

Maybe someone has an idea since I am an absolute newbie with scripts ...

I would like to make sure that a user cannot interfere while a script is running and installing an application. So I would like to temporarily block keyboard and mouse until the script is finished. If the script is finished it should of course restore mouse and keyboard use again :)

Would this be very hard to achieve ?

Thanks for any ideas ...
Bye,
Alex


#2 User is offline   big_gie 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 617
  • Joined: 27-July 03

Posted 03 August 2004 - 06:07 AM

Their is a tool I think somewhere that can achieve this... can't remember though.

Seach :)

#3 User is offline   mbouchard 

  • Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 21-April 04

Posted 03 August 2004 - 06:20 AM

Check out AutoIT www.hiddensoft.com, if I am not mistaken, it has the ability of blocking keyboard and mouse input but can cause a problem if the script fails. Would need to take that into consideration.

Mike

#4 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 04 August 2004 - 08:28 AM

Hey Guys,

thanks for your help ! I will check out the software although I would prefer if this could be achieved via vbs or js .... not yet another program :)

Thanks,
Alex

#5 User is offline   DarkPhoenix 

  • Codename: Kirby
  • PipPip
  • Group: Members
  • Posts: 201
  • Joined: 30-May 04

Posted 04 August 2004 - 02:43 PM

You can use AutoIt to compile exe files with the script in them, so that you don't need to actually install the program to use the scripts.. only to make them. And AutoIt can do a lot more stuff than vbs and js can in the first place.. so it's really worth it, trust me. :)

#6 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 05 August 2004 - 05:02 AM

Ok,

you convinced me to give AutoIT a try, Dark Phoenix :rolleyes:
Better be easy to learn ... :)

Thanks!

#7 User is offline   DarkPhoenix 

  • Codename: Kirby
  • PipPip
  • Group: Members
  • Posts: 201
  • Joined: 30-May 04

Posted 05 August 2004 - 06:11 AM

midiboy, on Aug 5 2004, 01:02 PM, said:

Better be easy to learn ... :)

If you know VBScript.. the AutoIT Script language will look surprisingly familiar to you. :rolleyes:

#8 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 05 August 2004 - 06:51 AM

I have a script for this on my PC but I don't remember where I kept it! I'll search it on my PC and post it for you, if no one else proceeds me.

#9 User is offline   midiboy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 586
  • Joined: 04-July 04

Posted 05 August 2004 - 10:22 AM

@Mazin:

that would be cool, thanks !

@DarkPhoenix:

I am a newbie with scripts so it probably won´t look familiar but I will give it a try :)

Thanks,
Alex

#10 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 05 August 2004 - 11:20 AM

Hi people.
I posted some Autoit scripts here just recently.

http://www.msfn.org/...showtopic=23443

A script installing a program for you looks cool.

Bye :)

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy