Hello,
Based on the information on this forum, I put together the following LUA script to copy images for several patients based on a text file of patient id's.
Code
However, when I run it, I'm getting this error:
[XYZ] *** lua run error simple.lua:14: attempt to call global 'dicommove' (a nil value) in 'dofile('simple.lua')'
I'm not especially familiar with LUA, so any help would be appreciated. A similar script to query the server based on patient id seems to work fine. Copying through the Query/Move tab also appears to work, but I would like to set up a script to speed things up.
Thanks