FileMaker Snake game – a FM 10 Demonstration

November 26th, 2009 → 2:10 am @ Adam // No Comments

When I first started looking at FM10′s new functions (Trigger, timer, etc), I wanted to create a demo, in which I can implement almost all of these new features. I was currently also looking at my old floppy disks, and found my snake game I wrote in Turbo Pascal when I was a small kid, and thought why not recreate it in FileMaker?

It could demonstrate layout triggers (OnLayoutKeyStroke), Timers (speed of the game)

Heres is what I came up with:

FileMaker based snake game screenshot

(more…)

Blog &FileMaker techniques

Filemaker MineSweeper clone

November 24th, 2009 → 5:25 am @ Adam // 2 Comments

Though about creating a board game in FileMaker to demonstrate the capabilities of FileMaker Pro.
Started it, finished in about 2 hours.

FileMaker based minesweeper game

So here it is, actually it’s pretty straight forward and fully unlocked so you can check it.

The main fields of the database are the Display, and the Game Repeating field. The Display shows the board, while the Game contains the yet unrevealed fields, mines.

(more…)

Blog &FileMaker techniques

Filemaker – Using Growl without plugins

November 24th, 2009 → 3:41 am @ Adam // 2 Comments

In this article I will show you how to create a simple Growl notification in FileMaker without additional plugins.

I have a FileMaker ToDo list, which can be filled by some people. I wanted some kind of notification of new tasks they fill in it, without having to look at it all the time checking for new entries. I already had Growl installed, so I thought why not use it as a notification? It has a sticky option which allows notifications to stay on the screen until I click on them. That was exactly what I needed.

That is where the following sample came from.

I didn’t want to look for plugins (I am pretty sure there must be one for this), as I like to do things without plugins. I started looking around for AppleScript samples how to use Growl, and found some on the Growl website. I modified those to run from FileMaker.

The Growl notification is a simple calculated Perform AppleScript command:

growl applescript
(more…)

Blog &FileMaker techniques

Filemaker – Applescript Printer list / faxing a file

November 22nd, 2009 → 9:32 am @ Adam // 2 Comments

In the following artice I will show you two methods that I have created in my solutions. If you want a list of your installed printers in FileMaker you can use a simple applescript.

I show you two methods. Each of them requires a PrinterList_Global field in your database and on the layout where you execute the script.

Geting printer list using AppleScript

The script is a simple Perform Applescript command. The first method uses the print setup utility to get the printer list. You need to have a PrinterList_Global field in your database and on the layout where you execute the script:

Get printer list using AppleScript

This can be used to set the default printer on OSX.

(more…)

Blog &FileMaker techniques

Highlight Active Portal record with Conditional Formatting

November 21st, 2009 → 2:23 pm @ Adam // No Comments

Here’s a demonstration file I created for highlighting active portal record using conditional formatting.

The attached example is a picture browser with a simple navigation system, and a preview portal. (I know it’s ugly but it’s just a technique demonstration ;)

I could have used a container field to highlight the active portal element, but conditional formatting makes our life simpler :)

(more…)

Blog &FileMaker techniques