Example #1
0
 def butact(self,event):
     template = {
         'statCue':self.dc.GetValue(),
         'name':self.tn.GetValue(),
         'producer':self.po.GetValue(),
         'posCue':self.dq.GetValue(),
         'price':self.pr.GetValue(),
         'statWords':self.nw1.GetValue(),
         'filename':self.fn.GetValue(),
         'freCue':self.dcc.GetValue(),
         'length':float(self.le.GetValue()),
         'formatids':ui_core.get_format_ids(self.form_list),
         'freStyleids':ui_core.get_style_ids(self.frestyle_list),
         'freVoiceids':ui_core.get_voice_ids(self.frevoice_list),
         'statStyleids':ui_core.get_style_ids(self.stastyle_list),
         'posVoiceids':ui_core.get_voice_ids(self.posvoice_list),
         'posStyleids':ui_core.get_style_ids(self.posstyle_list),
         'statVoiceids':ui_core.get_voice_ids(self.stavoice_list),
         'posWords':self.nw.GetValue(),
     }
     create.template(template)
     self.Close()
Example #2
0
 def butact(self,event):
     hooktemplate = {
         'name':self.tn.GetValue(),
         'filename1':self.fn.GetValue(),
         'filename2':self.f1.GetValue(),
         'producer':self.po.GetValue(),
         'formatids':ui_core.get_format_ids(self.form_list),
         'posCue':self.dq.GetValue(),
         'posVoiceids':ui_core.get_voice_ids(self.posvoice_list),
         'posStyleids':ui_core.get_style_ids(self.posstyle_list),
         'statWords':self.nw.GetValue(),
         'statCue1':self.dc.GetValue(),
         'statCue2':self.d1.GetValue(),
         'statVoiceids':ui_core.get_voice_ids(self.stavoice_list),
         'statStyleids':ui_core.get_style_ids(self.stastyle_list),
         'freCue1':self.dcc.GetValue(),
         'freCue2':self.d2.GetValue(),
         'freVoiceids':ui_core.get_voice_ids(self.frevoice_list),
         'freStyleids':ui_core.get_style_ids(self.frestyle_list),
         'price':self.pr.GetValue()
     }
     create.hooktemplate(hooktemplate)
     self.Close()