# Programmatically move the mouse and push keys on keyboard

**URL:** <https://forum.kirupa.com/t/programmatically-move-the-mouse-and-push-keys-on-keyboard/308656>\
**Category:** random\
**Created:** [April 27, 2010, 9:28pm UTC](https://forum.kirupa.com/t/programmatically-move-the-mouse-and-push-keys-on-keyboard/308656 "2010-04-27T21:28:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NeoDreamer](https://avatars.discourse-cdn.com/v4/letter/n/ccd318/32.png) [@NeoDreamer](https://forum.kirupa.com/u/NeoDreamer)\
**Post date:** [April 27, 2010, 9:28pm UTC](https://forum.kirupa.com/t/programmatically-move-the-mouse-and-push-keys-on-keyboard/308656/1 "2010-04-27T21:28:48Z")

</div>

**Question**

How would I go about writing software that moves my mouse and pushes keys on my keyboard? Is there any framework out there that I can use? The following is an example of what I want to do. By no means is it the only thing I would do if I had the ability to programatically control my mouse and keyboard.

**Example**

Let’s say I was too stupid to download FFMPEG and write a shell script to make it take snapshots of my 100 or so videos (actually I am too stupid to even figure out how to download FFMPEG). However, I know very well how to use VLC’s GUI to type in the file I want and click the snapshot button. I just need to write a program to automate this for my 100 videos.
