Jump to content

Convert hex field into Unicode characters


This topic is 6542 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have hex fields (such as "U+33DA" etc.) in FM 7 and I want to paste this as the corresponding Unicode character in another field. (I 'calculated' the hex from the decimal number)

I haven't been able to use Applescript to do this in FileMaker, although this works as a stand-alone Applescript:

run script ("«data utxt0395» as Unicode text")

I can't figure out how to turn that into a ScriptMaker script to populate the field. Should it be a calculation field, a calculated Applescript, a script that calls an Applescript. I'm just confused, this should be possible using the native ScriptMaker functions but I'm not finding anything close.

Any help is appreciated

Thanks

Darryl Zurn

Link to comment
Share on other sites

  • Newbies

OK, so I figured it out. I needed to use "as Unicode text" instead of "as Unicode string" which threw an error. (My original post was typed incorrectly.)

I was then able to write a script step that created and executed the correct Applescript to do the conversion and paste the character.

Edited by Guest
Link to comment
Share on other sites

This topic is 6542 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.