# Application RwdTinker orginally (c) 2004 Steven Gibson under GPL. # Bind message passing socket to rwdtinker application locationlink = { :helpscreen=> "runhelpwindow", :tinkerbackwindow=>"runrwdtinkerbackwindow", :returntomain=>"returntomain", :opendocuments=>"runtinkerdocuments", :editconfiguration=>"runeditconfiguration" } locationlink.each { |kk, vv| JumpLink[kk] = vv } def runjumplinkcommand if TabHash.has_key? JumpLink[:"#{@a_jumplinkinput}"].intern @rwd_window = TabHash.fetch(JumpLink[:"#{@a_jumplinkinput}"].intern) @rwd_tab = JumpLink[:"#{@a_jumplinkinput}"] else runjumplocation = "#{JumpLink[:"#{@a_jumplinkinput}"]}" self.send(runjumplocation) end end # list the remote control options on the screen def showjumplinkoptions @jumplinkoptions = $rwdjumplink.rwd_options end