# Bind message passing socket to rwdtinker application JumpLink = Hash.new { |hh, kk| hh[kk] = "ERROR: link not found: #{kk.inspect}."; hh[kk] } locationlink = { :helpscreen=> "runhelpwindow", :tinkerbackwindow=>"runrwdtinkerbackwindow", :returntomain=>"returntomain", :opendocuments=>"runtinkerdocuments", :editconfiguration=>"runeditconfiguration" } locationlink.each { |kk, vv| JumpLink[kk] = vv } def runjumplinkcommand if @a_jumplinkinput runjumplocation = "#{JumpLink[:"#{@a_jumplinkinput}"]}" self.send(runjumplocation) end end # list the remote control options on the screen def showjumplinkoptions @jumplinkoptions = $rwdjumplink.rwd_options end