← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #247469]: Need someone to program Sikuli to perform some tasks for me - relatively easy for any programer

 

Question #247469 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/247469

    Status: Answered => Open

Oh No is still having a problem:
I'm not sure whether I should start a new thread or just post my
questions here.

I need to create many videos using movie maker. I've successfully setup
sikuli to do this, but currently I rely too heavily on pictures/GUI
rather than direct commands. This is error prone, not to mention slower,
so I'm trying to eliminate my reliance on GUI wherever possible.

First a brief description of what I am trying to achieve. 
Create folders and pictures for students. (done)
Copy these folders and their contents to student directories. 
Also copy pictures to video directories
Create videos (either all, or some specified subset) -- (done, but sometimes returns an error)

More about the videos (well, picture slideshow) - there are about 65
videos, and each is contained in a separate folder. Let's say there are
a group of 10 different students. To create each student's videos, I
first need to copy their individual files(pictures) according to the
specific video and overwrite them in the video folder. Then need to open
Windows Movie Maker and save the video to a certain sub-directory of
that student's folder. The name of the saved file should also include
the student's name. For example video 2-JAS.mp4, will become
2-JAS-"student's name".mp4. the final result for that student should be
about 65 videos in a sub-directory of the student's folder, all with
their name appended to the video name. This part I can achieve using
sikuli's GUI capabilities, but sometimes get errors. Because saving the
videos can sometimes take quite some time depending on the total number
of videos, I'd also like to automate the process to create, say, videos
1 to 65 for the first student, then for the second, third, fourth and so
on until all the students have their videos. This I really have no idea
how to accomplish unless some programming is involved. Any guidance on
this would be greatly appreciated.

Notes: Sometimes Windows Movie Maker will return an error message - I've
gotten around this by using if exists and then closing out the error
message before proceeding. Also every now and then a notification urging
me to update will pop up and might interfere with the saving process.
This is also dealt with using if exists…

As usual, I can provide more details where necessary - and given my
current sleep deprived state if someone can clearly understand my
incoherent descriptions of this project I'll be surprised. Really
shouldn't attempt to multi-task so often, and especially when getting by
on such little sleep.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.