ToDo: Image Script

Automation Progress: Image Script


Backlinks:


  • Very basics of capturing effects dialogs automatically.
  • Menu Image Maps. Generation of the images, the image maps, tooltips and links.
    • Now includes the top bar.
    • Now hides the ext menus, unless we are showing Ext-Bar or Ext-Command.
    • Optionally generates template of menu description pages.
    • Added customisable Redirects so we can go to arbitrary pages.
    • Added support for creation of command list
    • Added support for standard and full key-binding information.
    • Added support for extra annotations.
  • Capturing preferences panels automatically.
  • Script to crop and upload 190 track images.
    • Boy that would have been tedious by hand!
    • Using image Magick, magick mogrify -crop 1000x1000+101+0 -path ../Output *.png
    • Then use python pwb upload2 C:/dir/Output "Cropped Track Panels"
    • The 'easy' way to get the images was to create three wiki pages for the different croppings, and then from a browser save-web-complete
  • Annotation script
    • Reasonably fast by-hand Inkscape image-layers approach found and used to date.
    • Improved method using WIT
  • Python (or other) test script to generate all manual images
    • Menu category (C++ program)
    • Menu category (more maintainable version in WIT)
    • Button category (using theme file-export)
    • Toolbar category (using screenshot-tools)
    • Toolbar category (more maintainable AND annotated version in WIT)
    • Dialog Category
      • Effects Dialogs (using screenshot-tools)
      • Preferences Dialogs (using screenshot-tools)
    • Track Category (190 Tracks)
      • WaveTracks
      • LabelTracks
      • Envelopes
      • Python code to add cursor on, e.g for resizing cursor.
      • Python code to add drop shadow
      • Python code for tighter cropping.
    • Add timing info to output
    • Master script to coordinate the others.
    • Amalgamate sequential-step captures, rather than regenerate.
  • Web page report with all image track captures.


Optional

  • Button mogrification (e.g. showing different button states)
  • Other dialogs.
    • If we need to script their capture urgently we can use AutoHotKeys.
  • Refinement to screenshot tool
    • Capture unions-of rectangles, Track1 + LowerDock.
    • File name option, not just file path option.
    • New All_Tracks and All_Tracks_Plus options.
    • New code to avoid losing focus, which affects the screenshot.


Future

  • The focus/hover effects aren't for this time round.
    • WaveTracks | Hover effect on envelopes missing.
    • LabelTracks | Hover effects on Labels missing.
  • MIDI and Time tracks can only be done, currently, by loading existing projects.
    • Can use cut and paste in demo scripts.
    • Can't do MIDI or time-track edits
    • MIDI Tracks
    • Time Tracks