FileMaker tips, techniques, and news.

By Hayden Hobbs  Posted on  June 15th, 2022  in  FileMaker, Free Downloads, Mobile

FileMaker CopyLiveText & ReadQRCode Functions

With the release of Claris FileMaker 19.5, there are some new functions related to containers that offer new ways to increase efficiency, accessibility, and utility in app development. These new functions, CopyLiveText and ReadQRCode, offer the ability to parse out text and read the contents of QR codes. Using these functions, users can implement image captions and image tagging for searching images, removing the need for complex integration solutions for the same text parsing purpose.

Let's take a look at some quick examples of what you can do with these new functions. Feel free to follow along with the sample file provided at the end of this article. 

CopyLiveText Function

Upon start-up, you should see the intro page with a tab for each new function. Stay on the CopyLiveText tab for now. Insert a photo of your choice that contains text in it. Please be aware that as of FileMaker 19.5, CopyLiveText only works on image files, not PDFs or other file types allowed within containers.

filemaker 19.5 copy live text tab

Your screen should look similar to this. Clicking the ‘Copy Container Text’ button will active a short snippet of code containing the new function in question, shown below. Once activated, it will scrape the text off of the image and paste it into a text field below, with remarkable accuracy.

filemaker 19.5 copy live text code

As of FileMaker 19.5, the function returns a text value, in a language code of your choice between the following options: 

  • "en-US"
  • "fr-FR"
  • "it-IT"
  • "de-DE"
  • "es-ES"
  • "pt-BR"
  • "zh-Hans"
filemaker 19.5 copy live text return text value

As you can see from this example, CopyLiveText transcribes the text from the container file and converts it into a text value that you can now manipulate as you wish. A word of caution: Although the script is quite accurate, the harder it is for you, the user, to read the image text, the harder it will be for the function to read it. Choose images with acceptable quality, and make sure your text fonts are legible to the human eye, and you will have no problem using this function to your advantange.

ReadQRCode

Once you are satisfied with the CopyLiveText function, choose the second tab in the demo file. The ‘ReadQRCode’ tab should look similar, but it is quite different in function. Insert a QR image of your choice into the container. For the purposes of this demo, we have opted to showcase the potential for QR codes that lead to website URLs, but in practice, you could utilize any variation of QR codes that you so choose.

filemaker 19.5 read qr code function tab

Once you have a QR image inserted, click the button as before. The code, for the purposes of this demo, will send you to a web viewer layout, with the URL destination filled in by the contents of the QR code.

filemaker 19.5 read qr code function code
filemaker 19.5 read qr code function web viewer db services homepage

Our sample QR Code takes you to our very own homepage, dbservices.com. As previously mentioned, you do not have to merely use the ReadQRCode function to access URLs; in fact, it could be used in a similar fashion to CopyLiveText by storing plain text in the QR code instead of a URL. In short, anything you could typically use a QR code for, you can now use inside of FileMaker without the need to read it with a QR code reader.

Conclusion

As your FileMaker application evolves, so too will your needs and the use cases for the application. With these new features added in FileMaker 19.5, Claris opens the proverbial door for new ways to utilize containers in a way that best suits your application. Whether it’s to appeal to users with new accessibility features, to add new value to your search engine with image tagging, or to streamline the process of using QR codes by now using them directly in the application, these new features have the potential for endless value for any FileMaker application. 

If you are interested in implementing the new CopyLiveText and ReadQRCode functions into your Claris FileMaker solution, contact DB Services and we'd be happy to help.

Did you know we are an authorized reseller for Claris FileMaker Licensing?
Contact us to discuss upgrading your Claris FileMaker software.

Download
Download the FileMaker CopyLiveText & ReadQRCode Functions File
Please complete the form below to download your FREE FileMaker file.
FileMaker Experience *
Terms of Use *
OPT-IN: I agree that I am downloading a completely free FileMaker application file with no strings attached. This file is unlocked, and I may use it for my business or organization as I see fit. Because I am downloading a free file, I agree that I should receive occasional marketing. I understand that I can OPT-OUT of these emails at anytime.
Hayden Hobbs thumbnail
Hayden Hobbs

Hayden is a reliable, patient, and consistent application developer who takes pride in creating systems that help clients reach their goals. She will go above and beyond to help a client or coworker when they are in need and enjoys collaborating with and supporting others. 

FileMaker 18 Certified Developer
FileMaker 17 Certified Developer
FileMaker 16 Certified Developer
FileMaker 15 Certified Developer
FileMaker 14 Certified Developer
FileMaker 13 Certified Developer
FileMaker 12 Certified Developer
FileMaker 11 Certified Developer
"We were actually able to add more features than we thought would be possible within our budget. We always experienced a ‘can do’ attitude and DB Services was incredibly patient and easy to work with."
Courtney Hartman
Art Director
"The new FileMaker custom website interface is very user-friendly and easy to follow for our clients. In addition, it is much faster than the old Instant Web Publishing (IWP) interface. Thank you and all the others who have helped us out at DB Services. I am very grateful for the excellent service you provide us. Its nice to know we can call you for help if we have an issue."
Wayne Capek
President
"We needed a solution that would simplify the administration of our responsibilities under our contract with the State of Indiana. We have seen a dramatic increase across the state in the number of potential foster and adoptive parents that have begun the preparation and training process. This increase has resulted in a significant opportunity for children available for adoption. That’s a big win for everyone! And it’s all because we can refer potential parents to the proper state contacts efficiently and quickly."
Chris Morrison
Executive Director
"Thank you for all of your expertise and valuable help. I am so grateful to have found DB Services."
Linda Findlay
Owner
"Thank you for our new database system. We transitioned from a carbon copy paper based system to a digital database. The software has saved us time and money. We used to archive all our jobs in cabinets, now we can look up a job in seconds from anywhere. The software allows us to easily email estimates to our customers in pdf format. In a year there was a return on investment just from eliminating the purchasing of our carbon forms."
Todd Cartmel
Owner
"The new system allows us to create and track jobs for customers along with inventory, something we had been doing with separate word and spreadsheet files. Because it’s now so intuitive, new staff members are able to begin using the database immediately without our usual training session and ‘cheat sheets’ for getting around within the file."
Tom Andrews
President