delphi - What solutions are available to automate keystokes and entry of incrementing filenames? -
i assembling image sequences, each sequence consisting of 1-5k png images. each sequence subject large number of image manipulations. these manipulations identical each image, though may different sequence sequence. wish automate whole operation. can automate image manipulations using tools have (paintshop photo pro, irfanview32, among others). problem have automating first step - assembly of images initially.
the images produced tool, written in java. there no access source tool. in addition tool written in gui style derived in unix world. implications of normal windows shortcuts not recognised tool (eg alt-f file menu; buttons not have shortcuts; etc). tool provides 2 windows - control window , image window.
the sequence of actions need carry out derive images follows:
initial steps (no automation needed).
- run tool
- load initialisation file control window
- use image window setup image full screen @ required magnification
- load log file control window (format not available outside tool)
the repetitive steps are:
- press button in image window generate image
- enter file name in resultant dialog box. file name need have root applicable sequence plus unique increasing number (5 digit in string form) specific image.
- press button in control window advance log file
one final twist - way of determining end of sequence tool indicates end of log file disabling button on control window. there no other indication of eof readily available.
my first thought use microsoft's powershell, limited understanding of tool suggests unix/windows/gui incompatibilites , lack of availability of java objects, precludes approach.
my environment windows 7 ultimate 64; development tools available me delphi xe, 2006, 7; there number of other languages installed (java, python, haskell).
what approaches and/or tools enable me automate task. sole developer, preference free or cheap tools.
autohotkey powerful tool can fit needs.
Comments
Post a Comment