FullCity Consulting

FullCity Consulting

Share

Claris Platinum Partner specializing in custom applications and data analytics.

Emoji Variables in FileMaker Pro 04/20/2015

I came across a Swift fun fact a couple days ago courtesy of Global Nerdy. It turns out you can use Emoji (those symbolic characters that help mobile phone users around the world express real human emotions) in certain components of your code, including variables. That got me wondering about FileMaker. We have variables. We have real human emotions. Can we play too?

It turns out we can on the Mac (I haven’t attempted this on a PC). Fundamentally, Emoji are characters like (this week’s sponsors) the letter Q and the number 2. Given that you can name a variable just about anything you like, there’s no reason you can’t give it an Emojinal name. Here’s how I got it to work in FileMaker Pro Advanced 13 running on OS X Yosemite.

Create a new script and add a Set Variable script step.

In the Name box, type in two dollar signs.

Open up your Character Viewer. (If this items doesn’t appear in your menu bar, go to your System Preferences, open the Keyboard Preference Pane, choose the Input Sources tab and check “Show Input menu in menu bar”.)

Select “Emoji” from the left column then drag the Emoji character of your choice to the Name field in the Set Variable dialog box. I chose a globe because it’s a global variable. I find this amusing despite your groans and eye-rolling.

Select the contents of the Name field and copy.

Enter something in the Value field. It doesn’t really matter what you put here so long as you don’t leave it blank. Click OK.

Add a Show Custom Dialog script step. Give it any title you want and paste your variable name into the message body.

Save your script and run it. If it works, you’ll see the value of your Emoji variable in the dialog box.

This technique probably has no practical applications, so I wouldn’t use it in a production database. Certainly not a mixed platform, multi-user production database. Still, it’s a pretty decent FileMaker geek party trick.

Emoji Variables in FileMaker Pro  

Want your business to be the top-listed Business in Red Hook?
Click here to claim your Sponsored Listing.

Telephone

Address


Red Hook, NY

Opening Hours

Monday 9am - 5pm
Tuesday 9am - 5pm
Wednesday 9am - 5pm
Thursday 9am - 5pm
Friday 9am - 5pm