# this code is to call the help window def runhelpwindow if @rwd_window == "main" if @rwd_tab == "documentsrwdtinkerone" $help_topic = "documents_rwdtinker" end $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] $previouswindow = @rwd_window $previoustab = @rwd_tab end if @rwd_window == "tinkerbackwindow" if @rwd_tab == "filelister" $help_topic = "applet_viewing" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end if @rwd_tab == "zipslister" $help_topic = "applet_installation" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end if @rwd_tab == "editconfigurationfile" $help_topic = "applet_tinkerbackeditconfiguration" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end $previouswindow = @rwd_window $previoustab = @rwd_tab end if @rwd_window == "rwdtinkerhelpwindow" $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing"] end @rwdhelptopic = $help_topic @rwdhelpdataoutput = "#{Helptext[:"#{$help_topic}"]}" @rwdhelpsubchoicesoutput = $helptopicsarray.rwd_method("choosenewhelptopic") @rwd_window = "rwdtinkerhelpwindow" end def choosenewhelptopic(inffile) $help_topic = inffile runhelpwindow end