Skip to content

Commit

Permalink
Update GUI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sina-rostami authored Sep 24, 2021
1 parent e6029a2 commit 5a38b58
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import export_only
import kntu_vc_dl
import ut_vc_dl
import iut_vc_dl
import ikiu_vc_dl

sg.theme("Topanga")
Expand All @@ -17,20 +18,22 @@ def download_meeting(values, window):
values['-USERNAME-'], values['-PASSWD-'], pasted_urls)
elif values['-UNI-'] == 'University Of Tehran':
ut_vc_dl.ut_download(values['-USERNAME-'], values['-PASSWD-'], pasted_urls)
elif values['-UNI-'] == 'Isfahan Uinversity Of Technology':
iut_vc_dl.iut_download(values['-USERNAME-'], values['-PASSWD-'], pasted_urls)
elif values['-UNI-'] == 'Imam Khomeini International University':
ikiu_vc_dl.ikiu_download(values['-USERNAME-'], values['-PASSWD-'], pasted_urls)


layout = [
[sg.T('"Welcome To Adobe Connect Meetings Downloader"', pad=(220, 0))],
[sg.T('University:')], [sg.Combo(['Khaje Nasir Toosi University Of Technology', 'University Of Tehran', 'Imam Khomeini International University'], key='-UNI-')],
[sg.T('UserName:')], [sg.Input(key='-USERNAME-', size=(25, 1))],
[sg.T('"Adobe Connect Meetings Tools"', pad=(220, 0))],
[sg.T('University:')], [sg.Combo(['Khaje Nasir Toosi University Of Technology', 'University Of Tehran', 'Isfahan Uinversity Of Technology','Imam Khomeini International University'], key='-UNI-')],
[sg.T('Username:')], [sg.Input(key='-USERNAME-', size=(25, 1))],
[sg.T('Password:')], [sg.Input(key='-PASSWD-', size=(25, 1))],
[sg.T('Mettings Links:')], [sg.MLine(key='-LINKS-', size=(150, 8))],
[sg.Button('Download'), sg.Button('Export-Only')],
]

window = sg.Window('Adobe Connect Meetings Downloader',
window = sg.Window('Adobe Connect Meetings Tools',
layout, size=(800, 450), grab_anywhere=True, resizable=True)

while True:
Expand Down

0 comments on commit 5a38b58

Please sign in to comment.