mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
Add Envelope script Add Clips and Boundaries Scripts. Add docimages_oddments.py for the weirder cases. Add make html script. Add more spectral images Add Dark versions of spectrograms (paul's comment) Clean up oddments script. - This commit also adds an option NOT to bring Audacity to the top when screenshotting. -- That's because QuickPlay will disappear if you do -because you lose mouse capture. - Also allow negative window IDs in the drag command. - Registration names of align commands sorted. They had &, : and / in them. - Fixed bug in SetTrackInfo where bFocused was being ignored - Fixed bug where command manager ignored multi-commands. - Commit docimages_oddments.py again, to fix line endings.
18 lines
550 B
Python
18 lines
550 B
Python
# Takes an image file directory and makes the web page that lists them.
|
|
# They are listed in creation date/time order.
|
|
|
|
import glob
|
|
import os
|
|
|
|
def getFiles() :
|
|
files = glob.glob("C:\\OpenSourceGit\\AudacityTeamTools\\wit-html\\auto_images\\*.png")
|
|
files.sort(key=os.path.getmtime)
|
|
return [ os.path.basename( name ) for name in files ]
|
|
#print("\n".join(files))
|
|
|
|
def oneItem( name ) :
|
|
return "<img src='./auto_images/"+name+"'><br><em>"+name+"</em><br>"
|
|
|
|
files = getFiles()
|
|
print( "\n".join( [ oneItem(name) for name in files ] ) )
|