mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-18 16:41:14 +02:00
Script work
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.
This commit is contained in:
committed by
Paul Licameli
parent
4724c6a131
commit
fa49d94530
17
scripts/piped-work/make_html.py
Normal file
17
scripts/piped-work/make_html.py
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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 ] ) )
|
Reference in New Issue
Block a user