That's a great first script!  Best thing to do is to break down your idea into blocks.  Selecting your secure and the salvage bag is simple: (do for each container)
  display ok Please select your container
  set #TARGCURS 1
  repeat
  until #TARGCURS = 0
  set %container #LTARGETID
You'll want to open both of these containers, so you should do (2x)
  set #LOBJECTID %container
  event macro 17 ; use last object
  wait 20
After that, you need to find the #FINDTYPE for the tool, and the #FINDTYPE for the circlets. You "use" the tool like you did in the above snippet to open the crafting gump.  After that, you need to click some places.  I think for now I'll let you play a bit, but that'll get you started.
Things you'll need to read up on are:
finditem
exevent DRAG/DROP
click
#CONTNAME/#CONTSIZE for waiting for gumps you want.