Torino, Italy

Visit here to inform or invite LiveCode users to user groups, meetings, conventions or other gatherings. Events must be related to LiveCode.

Moderators: FourthWorld, Klaus, robinmiller

crokyweb
Posts: 14
Joined: Fri Apr 15, 2022 1:55 pm

Re: Torino, Italy

Post by crokyweb » Mon Jun 20, 2022 3:00 pm

grazie jacque ma non trovo in Sample Stacks this Stack. Ripeto non capisco perchè il widget Barcode Scanner non possa funzionare anche per OSX e Windows tramite webcam o IP o USB . Credo che un qualsiasi dispositivo che acquisisca l'imagine vada bene. Poi avviene la parte di codifica e programmazione del barcode. La domanda è cosa manca a OSX o Windows per fare quello che fa Android !!
Perchè le librerie di Android Barcode Scanner non sono universali per qualsiasi piattaforma?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Torino, Italy

Post by jacque » Mon Jun 20, 2022 5:47 pm

The question is what is missing in OSX or Windows to do what Android does !!
Barcode computation is built into mobile OSs, so LC only needs to call the API to get the result. Desktop OSs don't have that.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

stam
Posts: 2599
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Torino, Italy

Post by stam » Mon Jun 20, 2022 6:49 pm

You should be able to read barcodes with command line utilities via shell() - if that’s the question.

For example for Mac: https://www.barcoderesource.com/command ... emac.shtml

There more for win/Linux, just search online…

crokyweb
Posts: 14
Joined: Fri Apr 15, 2022 1:55 pm

Re: Torino, Italy

Post by crokyweb » Tue Jun 21, 2022 5:00 pm

Stam I have to read a barcode written on a sheet pasted on a pallet. I don't have to generate a barcode.
Attachments
esempio barcode.jpg

stam
Posts: 2599
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: Torino, Italy

Post by stam » Tue Jun 21, 2022 11:33 pm

Well I have no need of this so have never looked into it, but a 30 second search found zbar, an opensource command line tool.

More detail can be found here
https://apple.stackexchange.com/questio ... er-for-mac

And here
https://github.com/mchehab/zbar

crokyweb
Posts: 14
Joined: Fri Apr 15, 2022 1:55 pm

Leggere BarCode in Lc desktop e non Mobile

Post by crokyweb » Mon Aug 01, 2022 10:44 am

Salve a tutti ho trovota questo modo tramite estensione di Chrome per poter leggere i Barcode dalla webcam o da un file. Posso leggere anche più barcode sulla stessa pagina!!! Il problema è che con il Widget Browser di LC non posso visualizzarlo in LC !!! L'estensione da installare in Chrome è questa QR Code Reader e dentro Chrome funziona se provate a far leggere questa foto la legge perfettamente .
Come posso far caricare nel widgetBrowser quella estensione? Sono fatte in java
così non funziona

on mousedown
put "chrome-extension://jhigigpkpbeofhknomiadocogenlpcde/data/window/index.html?mode=tab" into tPath
set the URL of widget "Browser" to tPath
set the visible widget "Browser" to true
end mousedown
Attachments
barcode-2.jpg

Post Reply

Return to “User Groups and Events”