I am writing a simple script to search application from iTunes store. The app does the following:
-- Read the application from a user input (text field in a dialog box)
-- Take the app name in a variable and keystroke the app name in the search text field in iTunes (Right Top Corner).
-- Press enter (keystroke return) .
The problem I am struggling is:
When the user inputs a Japanese text as a app name, I need to detect that it is a Japanese text and need to change the keyboard input type to JP before keystroke to the search field.
And sometimes the app name contains both EN and JP character set.
Can someone help me how to detect character encoding of every character with AppleScript?
Thanks and Best Regards
Rahman