petehilljnr
Registered User.
- Local time
- Today, 10:49
- Joined
- Feb 13, 2007
- Messages
- 192
Gidday!
I want to send keys to a specific application that is running, regardless of what the user is doing ... I was kinda hoping there might be some sort of API for this?
Here's the background to this:
I've got a lot of roading video data stored as avi's. One avi file contains many different roads and depending on how it was surveyed, the road may not be a continuous run. However, I want to splice these videos so they are a continuous run.
Luckily, I have reference file with the name of the road name, distance down the road, and the frame number for every video file.
I have managed to find and use a piece of software that spliced the video files up which was command line based and now one road may have the following files:
Peter_Street_1.avi : 0 - 500m
Peter_Street_2.avi : 500 - 1000m
Now I want to join these files up, except I haven't been able to find a command line based video 'joiner'. The software I do have is perfect (as it doesn't re-render the video files) but it isn't command line based, hence I thought I could open it and use the send keys commands to control it for me.
Note - I'm planning to set it running and leave it running overnight.
Being that there are a large number of videos to process, I'm concerned that at some stage, the application I want to send keys to to control may not have the focus when it needs to, and things will turn to custard.
Hence, is there anyway to guarantee or force send keys to a specific application?
Regards,
Pete
I want to send keys to a specific application that is running, regardless of what the user is doing ... I was kinda hoping there might be some sort of API for this?
Here's the background to this:
I've got a lot of roading video data stored as avi's. One avi file contains many different roads and depending on how it was surveyed, the road may not be a continuous run. However, I want to splice these videos so they are a continuous run.
Luckily, I have reference file with the name of the road name, distance down the road, and the frame number for every video file.
I have managed to find and use a piece of software that spliced the video files up which was command line based and now one road may have the following files:
Peter_Street_1.avi : 0 - 500m
Peter_Street_2.avi : 500 - 1000m
Now I want to join these files up, except I haven't been able to find a command line based video 'joiner'. The software I do have is perfect (as it doesn't re-render the video files) but it isn't command line based, hence I thought I could open it and use the send keys commands to control it for me.
Note - I'm planning to set it running and leave it running overnight.
Being that there are a large number of videos to process, I'm concerned that at some stage, the application I want to send keys to to control may not have the focus when it needs to, and things will turn to custard.
Hence, is there anyway to guarantee or force send keys to a specific application?
Regards,
Pete