Computing.Net > Forums > Disk Operating System > Using a batch file to randomly move my mouse

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Using a batch file to randomly move my mouse

Reply to Message Icon

Name: James
Date: August 11, 2000 at 08:36:01 Pacific
Comment:

Hi,

Pretty much the subject.

I would like to know if it is possible to move my mouse using a batch file. I would ideally like to move it randomly and at random or set intervals.

If anyone has a batch that does such a thing could they please e-mail it to me.

Or if you could point me in the right direction whree i might find the info i need to write one myself that would be really good.

Thanks to all who can help

God bless

thanks



Sponsored Link
Ads by Google

Response Number 1
Name: mr o
Date: August 11, 2000 at 08:54:37 Pacific
Reply:

your asking alot...

is this movement suppose to appear in an application? or on a dos screen? cos batch programs only run at the command line.

I dont know, maybe you could reprogram int 33 to flag random movement???


0

Response Number 2
Name: james
Date: August 11, 2000 at 09:34:30 Pacific
Reply:

hi,

yeah it should appear in a dos screen or maybe run in quiet mode would be better.

or maybe you could tell me or point to towards the syntax i would use to move the mouse pointer around the screen that might make my life simpler to start out more basically.

thanks


0

Response Number 3
Name: Laurence
Date: August 11, 2000 at 09:41:41 Pacific
Reply:

See this thread:
http://x56.deja.com/[ST_rn=ps]/viewthread.xp?AN=543174587&search=thread&svcclass=dnyr&ST=PS&CONTEXT=966011938.382468098&HIT_CONTEXT=966011938.382468098&HIT_NUM=0&recnum=%3c381DE47B.B51@pressroom.com%3e%231/1&group=alt.msdos.batch&frpage=viewthread.xp&back=clarinet

Or ask Tom Lavedas in news:alt.msdos.batch


0

Response Number 4
Name: Laurence
Date: August 11, 2000 at 09:46:43 Pacific
Reply:

Perhaps it works better like this:

http://x56.deja.com/viewthread.xp?AN=543174587&search=thread&svcclass=dnyr&ST=PS&CONTEXT=966011938.382468098&HIT_CONTEXT=966011938.382468098&HIT_NUM=0&recnum=%3c381DE47B.B51@pressroom.com%3e%231/1&group=alt.msdos.batch&frpage=viewthread.xp&back=clarinet


0

Response Number 5
Name: Jon Fox
Date: August 11, 2000 at 12:34:27 Pacific
Reply:

You can move the mouse cursor to a given postion.
MOV AX,0
INT 33H ;Reset mouse.
MOV AX,1
INT 33H ;Show the cursor.
MOV AX,4 ;Position mouse cursor function.
MOV CX,1 ;Column * 8 in mode 3.
MOV DX,1 ;Row * 8 in mode 3.
INT 33H ;Do it.


0

Related Posts

See More



Response Number 6
Name: james
Date: August 12, 2000 at 06:08:00 Pacific
Reply:

I have just tried that and it does not seem to work.

It comes up with bad command or filename on every line.

Any ideas?

thanks


0

Response Number 7
Name: james
Date: August 12, 2000 at 09:22:26 Pacific
Reply:

thanks

this is working great i'll have a go at playing around with it and see what happens.

And thanks again for you help and time

regards james

thanks


0

Response Number 8
Name: Jon Fox
Date: August 12, 2000 at 19:51:56 Pacific
Reply:

If you spotted the deliberate mistake then you could find yourself the lucky winner of a lifetimes supply of air!
I forgot to convert to hex, change the 16's to 10's and the 24's to 18's then it's Ok.


0

Response Number 9
Name: paul doxford
Date: January 12, 2001 at 10:29:32 Pacific
Reply:

I couldn't get the above to work, does anyone have anything similar that will run on windows (98) desktop?


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Using a batch file to randomly move my mouse

Using a batch file to name a file with the system date. www.computing.net/answers/dos/using-a-batch-file-to-name-a-file-with-the-system-date/3481.html

Is there any ways to declare a variable inside a batch file ?? www.computing.net/answers/dos/is-there-any-ways-to-declare-a-variable-inside-a-batch-file-/3377.html

Close a batch file www.computing.net/answers/dos/close-a-batch-file/2179.html