In Progress

FileMaker Plugin for File Actions (Write Copy Delete)

FileMaker Plugin Development 4 Functions

(mention whether you can provide WINDOWS and MAC version or only WINDOWS version)

Overview

Plugin File #1

1. Create File

2. Copy File

3. Delete File

4. Modulo 10

Plugin File #2 (Plugin file with only the modulo 10 function)

4. Modulo 10

Syntax Examples

Syntax as it is seen in the External Function window:

FM123_File ( pFunctionName ; pParameter2 ; pParameter3 )

FM123_Modulo ( pFunctionName ; pString )

Syntax Examples:

FM123_File ( writeASCII ; "c:\text\Letter.txt" ; myFieldName )

FM123_File ( writeASCII ; myFilePathFieldName ; "my Text to Write" )

FM123_File ( writeASCII ; $myPathVariable ; $myVariable )

FM123_File ( writeUNICODE ; "c:\text\Letter.rtf" ; myFieldName )

FM123_File ( writeUNICODE ; "c:\text\Letter.doc" ; "my Text to Write" )

FM123_File ( writeUNICODE ; "c:\text\Letter.tex" ; $myVariable )

FM123_File ( copy ; "c:\templates\Template1.rtf" ; "c:\text\2009_Letters\Lê Văn Quý_001.rtf" )

FM123_File ( delete ; "c:\templates\Template1.rtf" ; "" )

FM123_Modulo ( modulo10 ; "8216158" )

Error Codes

0 = No Error

1 = Input Syntax Error, incorrect number of parameters

2 = File could not be created / deleted

3 = Text could not be appended

4 = Missing source file path parameter

5 = Missing destination file path parameter

1. Create / Append File with FileMaker Field Data

Explanation

Trying to export the contents of a field to a text file using the script command "Export Field Contents" using FileMaker 10 in Windows XP has some disadvantages: The return character ( ¶ ; a "vertical tab" character; ASCII 11) used in FileMaker doesn't export as a hard-return (ASCII 13) and therefore the text file consist of all the text on one line without the returns.

Soft tabs are substituted to "real" tabs when the "write" function creates or appends to the file.

If a given folder (e.g. c:\texte\2009_Letters) does not exist yet the plugin creates the folder.

If a given file already exists the text will be appended to the file.

pParameter = writeASCII (all non-ASCII characters are filtered out)

pParameter = writeUNICODE

Resources

[url removed, login to view]

[url removed, login to view]

Character Set Conversion:

[url removed, login to view]

2. Copy File

FM123_File ( copy ; "c:\templates\Template1.rtf" ; "c:\text\2009_Letters\Lê Văn Quý_001.rtf" )

By copying the file name can be changed if wanted.

3. Delete File

FM123_File ( delete ; "c:\templates\Template1.rtf" ; "" )

4. Modulo 10

FM123_Modulo ( modulo10 ; "8216158" )

Resources (Google with words: modulo 10 recursive):

[url removed, login to view]

[url removed, login to view]

FileMaker Modulo 10 Plugin:

[url removed, login to view]

[url removed, login to view]

C++ Code

int modulo10(const char* lpszNummer)

{

// 'lpszNummer' darf nur Ziffern zwischen 0 und 9 enthalten!

static const int nTabelle[] = { 0, 9, 4, 6, 8, 2, 7, 1, 3, 5 };

int nUebertrag = 0;

while (*lpszNummer)

{

nUebertrag = nTabelle[(nUebertrag + *lpszNummer - '0') % 10];

++lpszNummer;

}

return (10 - nUebertrag) % 10;

}

Plugin template of 24U Software has to be used:

[url removed, login to view]

Please mention whether you can WINDOWS version and MAC version or only WINDOWS version of the plugin. Functions must be the same on both platforms.

*NO PAYMENT RENDERED UNTIL COMPLETION OF PROJECT

*AFTER PAYMENT WE GET THE SOURCE CODE, AND EVERYTHING IS TO BE OWNED BY US

Skills: C Programming

See more: modulo filemaker, modulo recursive, filemaker write text file, filemaker ascii export, filemaker ascii plugin file, filemaker modulo, filemaker plugin development, filemaker rtf plugin, filemaker write file, filemaker write ascii file, filemaker plugin copy file, create file path filemaker, filemaker export append file, write recursive function, trying function, website software mac, website development wiki, template source file, templates website php, software website development wikipedia, software development resources, return path, recursive function examples, platforms website development, php plugin development

About the Employer:
( 22 reviews ) Herisau, Switzerland

Project ID: #573561