Convert Khmer numbers inside NSSF targeting invoice number in to Arabic ones and copy it to clipboard.
Challenge:
The Invoice Number from បសស NSSF (National Social Security Fund) Cambodia is in Khmer Number [០-៩] .
Solution:
This simple script finds a 8digits-2digits in Khmer Number and convert them into Arabic Number.
I don't remove the existing Khmer Number so that it could be ur reference.
Note:
If u get a "No valid ID", u will need to do a refresh [F5] before trying again.
Typically, if u click on the button when u haven NOT reached the tabs as shown in the image attached below,
it can't find the tab "វិក្កយបត្រ" and cause the error.
This may be improved in the next version along with the BIG gap between Khmer Number and Arabic Number, as well.
This script could get a wrong output, do check to confirm.