How to specify a single tile(named 20x_03) in command line

Hi,
I use the command to run script on a file that has multiple scattered tiles. I tried three ways to specify a single tile(named 20x_03),but all the path failed:

--------1: specify the name---------

"C:\Program Files\QuPath-0.2.3\QuPath-0.2.3 (console).exe" script "C:\\Users\\rmd\\AppData\\Local\\Temp\\tp8347b50c.groovy" --image "file:/D:/QMDownload/9/test4/BatchII%2024%20h%206%23_201%209%2B0314.vsi - 20x_03" 

22:16:05.758 [main] [ERROR] qupath.ScriptCommand - Illegal character in path at
index 70: file:/D:/QMDownload/9/test4/BatchII%2024%20h%206%23_201%209%2B0314.vsi
 - 20x_03

---------2: specify using [–series, 12]-------------

"C:\Program Files\QuPath-0.2.3\QuPath-0.2.3 (console).exe" script "C:\\Users\\rmd\\AppData\\Local\\Temp\\tp8347b50c.groovy" --image "file:/D:/QMDownload/9/test4/BatchII%2024%20h%206%23_201%209%2B0314.vsi[--series, 12]" 

22:16:47.295 [main] [ERROR] qupath.ScriptCommand - Illegal character in path at
index 70: file:/D:/QMDownload/9/test4/BatchII%2024%20h%206%23_201%209%2B0314.vsi
[--series, 12]

---------3: specify using #12-------------

"C:\Program Files\QuPath-0.2.3\QuPath-0.2.3 (console).exe" script "C:\\Users\\rmd\\AppData\\Local\\Temp\\tp8347b50c.groovy" --image "file:/D:/QMDownload/9/test4/BatchII%2024%20h%206%23_201%209%2B0314.vsi#12" 

22:14:57.883 [main] [ERROR] qupath.ScriptCommand - URI has a fragment component

You haven’t shown any of your scripts as far as I can tell?

Hi,
my scripts are most of fragmented commands and I have posted many in my previous post.

I assume by ‘tile’ you mean a specific image read through Bio-Formats.
You can add your images to a project and pass both the project and image name on the command line – but see

1 Like