# this code is to call the help window def runhelpwindow $helptopicsarray = $helptopicsarray | ["applet_installation","applet_viewing","applet_tinkerbackeditconfiguration","remote_control"] if @rwd_window == "main" if @rwd_tab == "documentsrwdtinkerone" $help_topic = "documents_rwdtinker" end end if @rwd_window == "rwdtinkerhelpwindow" puts "in help window processing" else $previouswindow = @rwd_window $previoustab = @rwd_tab 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