Applescript with FileMaker. Using copy-paste in a Web site from a text

Full title text:
Applescript with FileMaker. Using copy-paste in a Web site from a text field.

Good morning everyone
I’m new to the forum. They advised me (from an Italian FileMaker forum) to try to look and ask here for help. I will expose the problem.
I created a database with the customer’s data. In a field (called VAT) there is the VAT number. I need to be able to create, if possible, a script that allows me to copy the contents of this field and paste it into a website to check the VAT number. Asking on the Filemaker forum they suggested I use an AppleScript. I do not know anything about AppleScript and therefore I ask you for help in order to create one. I use a Mac with Mac Os X 10.12 and FileMaker 15 advanced.
Thanks to everyone who can help me out.
Andrea

Model: Apple iMac 21.5" i5 3.4GHz 4k
Browser: Safari 537.36
Operating System: Mac OS X (10.12.6 beta 6)

This might be possible if you can “feed” the VAT number to the website. For example, if the webpage has the ability to accept input on the query string, you could add the VAT to the query string then open up the URL via Applescript.

For example, let’s say the site’s URL is:
http://mywebsitecom/products

You might be able to add a query string to that to produce the results you want:
http://mywebsitecom/products?vat=123456789

That would be the easiest way to do it, but the site would have to be coded up to accept the parameters from the query string.

Getting the Filemaker field scripts to work is pretty easy. You can find some good tips in this book for Applescript developers:
https://books.google.com/books?isbn=1430223618

Go to the section on Data and Databases.