rename with qr code

  • 446 Views
  • Last Post 06 February 2020
  • Topic Is Solved
Arturo Minolsur posted this 05 February 2020

Hi

I want to know if it is possible to rename a document with part of the text read from a qr code

qrcode: \\diodel01\users\albaranes\2019\mayo\94439_vfar191002312.pdf

Filename: 94439_vfar191002312.pd 

 

 

Order By: Standard | Newest | Votes
luca.scarpati posted this 05 February 2020

Hi Arturo,

 

yes sure, you can read this easy example in this our post: https://forum.scanshare.com/thread/script-read-data-from-variable-and-split-according-to-a-delimiter/ in this case the value of variable have a "_" instead of "\" but you can easy change it.

Otherwise you can also split the variable with this "range extraction" when you already know the path and the specific "\" number, for example you can insert this into filename field: 

 %MYVARIABLE('\',7)% 

 

...it will return 94439_vfar191002312.pdf. 

 

Have a nice afternoon cool

 

Best regards,

Luca

Arturo Minolsur posted this 05 February 2020

it doesn't work for me

http://imgfz.com/i/ApNlt4w.png

 

http://imgfz.com/i/4H8kebo.png

luca.scarpati posted this 05 February 2020

Hi Arturo,

 

have you also tried with %BARCODE01('\',6)% ? Maybe in your case the "\\" value as "\" ...

Arturo Minolsur posted this 06 February 2020

Thanks, it works

  • Liked by
  • luca.scarpati
Close