Skip to content

Instantly share code, notes, and snippets.

@MrJeremyHobbs
Created January 9, 2021 07:07
Show Gist options
  • Select an option

  • Save MrJeremyHobbs/0369ba5cfdc29937a2237342d35f5396 to your computer and use it in GitHub Desktop.

Select an option

Save MrJeremyHobbs/0369ba5cfdc29937a2237342d35f5396 to your computer and use it in GitHub Desktop.
FileDelete *.mrc
FileDelete *.history
isbn_list = %1%
; Username and pw below are dummy values
run C:\Program Files\YAZ\bin\yaz-client.exe -u 555-555-555/pw zcat.oclc.org:210/OLUCWorldCat
sleep 1000
loop, parse, isbn_list, `,
{
isbn := A_LoopField
send set_marcdump marc%A_Index%.mrc{return}
send f %isbn%{return}
sleep 1000
send show all{return}
sleep 1000
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment