Skip to content

Commit 93af1be

Browse files
committed
3.09
1 parent 9a6dad8 commit 93af1be

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

ReaperScript.exe

-11.7 MB
Binary file not shown.

ReaperScript.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ def reaper_main(
425425
hwnd = win32gui.FindWindow('REAPERwnd', None)
426426
win32gui.ShowWindow(hwnd, 2)
427427
reapy.open_project(new_path, in_new_tab=True)
428+
unsaved = reapy.Project(0)
429+
if unsaved.name == '' and unsaved.n_tracks == 0:
430+
unsaved.close()
428431
project = reapy.Project()
429432
RPR.MoveEditCursor(- project.cursor_position, False)
430433
audio_select(audio)
@@ -461,6 +464,7 @@ def reaper_main(
461464
make_episode(video, folder, title, number, ext, output_file)
462465
buttons_active(master, BUTTONS)
463466
master.wm_deiconify()
467+
master.focus_force()
464468

465469

466470
def on_save_click(checkboxes: Dict, master: tkinter.Tk, BUTTONS: List):
@@ -492,7 +496,7 @@ def resource_path(path):
492496
y = (s_height - height) // 2
493497
master.geometry(f'{width}x{height}+{x}+{y - upper}')
494498
master.resizable(width=False, height=False)
495-
master.title('REAPERSCRIPT v3.08')
499+
master.title('REAPERSCRIPT v3.09')
496500
master.iconbitmap(default=resource_path('ico.ico'))
497501
img = Image.open(resource_path('background.png'))
498502
tk_img = ImageTk.PhotoImage(img)

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@ python-reapy==0.10.0
1414
pywin32==306
1515
pywin32-ctypes==0.2.0
1616
six==1.16.0
17+
tkinter-tooltip==2.1.0
1718
typing_extensions==4.5.0
1819
zipp==3.15.0

0 commit comments

Comments
 (0)