Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ScriptMaster by 360 Works

Discussions regarding ScriptMaster plugin allowing you to run Java code directly within FileMaker. Share, compare and discuss your code.

360Works ScriptMaster is a free, general-purpose, modular plugin. It comes out of the box with modules for file manipulation, URL and network utilities, Web Services, shell scripting, event/script triggering, and many others. ScriptMaster Product Page

  1. This is a ScriptMaster module sent in by Benjamin Brittain. It generates bar codes using the barcode4j library from Krysalis. This only demonstrates 4 bar code types, but there are many more supported by this library. ===Input Variables=== barcode_contents=07g129091pe01 type=datamatrixrectangle size=10 ===Jar Files=== Barcode4j.jar (268.1k) Barcodes <http://sourceforge.net/projects/barcode4j/files/barcode4j/> ===Notes=== ===Script=== import org.krysalis.barcode4j.impl.datamatrix.DataMatrixBean import org.krysalis.barcode4j.impl.code128.Code128Bean import org.krysalis.barcode4j.impl.pdf417.PDF417Bean import org.krysalis.barcode4j.output.ja…

      • Like
    • 21 replies
    • 30k views
  2. Hello I don't know if my title is clear enough but french user I dont have english very fluent ! In a FMP 18 Adv solution I should like to offer to the user a window in which the file name would be pre defined (SAV_15032025 : the numbers being the date of the day). I know how to define that file name but is it possible to put it in the filename. The user could choose where to create that zip file on a foler of his HDD or on an external support. Thanks for help !

  3. Depuis une solution FileMaker j'ai besoin de parcourir mes disques pour choisir un fichier et en récupérer le chemin d'accès pour l'utiliser ensuite. 360 Works scriptmaster me le permet-il ? Puis-je trouver un exemple ? From a FileMaker solution I need to browse my disks to choose a file and retrieve the path to use it later. Does 360 Works scriptmaster allow me to do this? Can I find a sample file ? Thanks

  4. Started by Noél Dubau,

    Hello Indeed my question seems strange ! But a FM 14 solution running on a PC under windows 7 uses SM. The plugin downloaded doesn't appear in the list from Edition/Preferences. Thanks for your help !

  5. Started by Bailey,

    We are getting this error on Windows computers Unable to copy plug-in JAR from C:\Users\sneadkr\AppData\Local\FileMaker\FileMaker Pro Advanced\18.0\Extensions\360Works_ScriptMaster.fm to C:\Users\sneadk\AppData\Local Temp\360Works_ScriptMaster_ 461E.fmx: Invalid access to memory location. Any ideas?

  6. Started by NateAD,

    I was interested in screen capture for a WebViewer and just tried ScriptMaster out. It appears to not have permission to screen capture. Coordinates seem to check out but it just returns my monitor background image. Is that an implementation error on my part or the reality of screen capture in MacOS Ventura?

  7. Started by okabe,

    Hi, A Christmas gift. With minor improvements to "RunShellScript" module in ScriptMaster_16+ sample, I have wriiten "RunCommand" module. With a parameter "command" that cantains command and its parameters delimited by Filemaker newline "¶" s. , the function run the any command that can run at your computer and get the stdout strings as a return code examle(case of widows os): set variable [ $a = RunCommand( "tasklist¶/nh" ) ] or set variable [ $a = RunCommand( "cmd¶/c¶dir" ) ] I use only Windows machines, but perhaps this module will work in Mac environment You can freely use it at your own risk. Thank you source is her…

    • 0 replies
    • 906 views
  8. Started by christian,

    Hi Today I started the "ScriptMaster_16+.fmp12". While starting, it prompted, that the ScriptMaster plugin is not installed properly and it proposed to update. So I updated. After that I created a plugin myself via "plugin generation". It asked if I want to generate only Mac or windows compatible plugin too. I checked only Mac. Then suddenly an error message popped up (see attachment). What goes wrong here? Thanks for answering!

  9. Started by christian,

    Hi, I try to make a plugin. Everything ist installed in the Jar libraries section in ScriptMaster_16+ and I have created a script calling the jar File. When I test it by clicking Run Script in the ScriptMaster Modules Section, I get the Message above. The script seems to execute without other errors and returns the expected result. What could be the Problem here? Do I have the same Problem, if I use the generated Plugin? Thanks Christian

  10. Hi I bought the 360works ScriptMaster extended plugin to create own plugins. Until now I made two plugins. each of them works perfectly. But what, if I want 2 of them use simultanously in my filemaker 19? Only one of them shows up in the preferences.plugins. Is there something I have to consider that both are shown? They have different functionalities. Thanks Christian

    • 0 replies
    • 782 views
  11. Hi, I saw a response to the question about how to export field contents server side and Jonathan Perel, said he had developed a script and provided a link to it in FMForums. Unfortunately the link is no longer there. Jonathan, or anyone else who may have it, can you repost it here, or provide an updated link? Thanks, Evan

  12. Started by Noél Dubau,

    in an FM script I have an error return from scriptmaster (error 14) when using the BaseElements command; but the script still succeeds. How to avoid the display of this message? dans un script FM j'ai un retour d'erreur de scriptmaster (erreur 14) lors d'utilisation de commande BaseElements ; mais le script aboutit malgré tout. Comment éviter l'affichage de ce message ? Merci Noël

  13. Hi, I desperatly try to sign a self created plugin based on scriptmaster. I always get a badexeformat error. My signing code is: .\signtool.exe sign /v /f "path\to\certificate.pfx" /p [mypassword] /td SHA256 /fd SHA256 /tr http://timestamp.sectigo.com "path\to\SwissQRBillGenerator.fmx64" The exact error message is: The following certificate was selected: Issued to: FSL Consulting Gmbh Issued by: Sectigo Public Code Signing CA R36 Expires: Sat Aug 31 00:59:59 2024 SHA1 hash: DF4CD5F66E0A86BDE7E166D91D149CE259ACE951 Done Adding Additional Store SignTool Error: SignedCode::Sign returned error: 0x800700C1 For more information, please…

  14. Some time ago, in this thread, I shared a ScriptMaster script to send HTML e-mails which supported multiple recipients and attachments. I am going to switch from using our own SMTP Server to the gMail SMTP Servers, which of course require authentication. Therefore I've updated the script to allow for this. The code is as follows: HTMLEmail ( from ; to ; cc ; bcc ; subject ; htmlBody ; attachmentPath ; smtpHost ; username ; password ) import javax.mail.*; import javax.mail.internet.*; Properties props = new Properties(); if (username == null){ props.setProperty("mail.smtp.host", smtpHost); } else { //If a username is specified then use security …

  15. I'm using RunShellScript to run a Ping on WIndows. This works well if the host is working, but if it times out it pops up a ScriptMaster error and returns 'ERROR' instead of the Ping output. I'm not good with Groovy but it looks like it's not trapping the error output. Is there a way to do that with RunShellScript? Alternatively has someone created a Ping script for ScriptMaster?

  16. I created a plugin with ScriptMaker for Windows10 x64 and MacOs (BigSur). In Windows the plugin runs as expected, but in MacOs the plugin is not recognized by FileMaker. In Preferences->Plugins it is not shown. Then I put it in a FileMaker container field and tried with install plugin file. With result it could not be loaded. What is the problem here?

  17. I succeeded finally to create a bundle using scriptmaster. Now i tried to execute it in a filemaker file. First astonishing: my module name is "generate swiss qrcode" but the function is "qrBillGetVariable". Why that? is it possible to use a selfmade name? Second: executing throws an error saying "You can only get ScriptMaster variables after evaluating a script, and before setting any new variable. What das this mean? Thanks in advance!

    • 0 replies
    • 1k views
  18. Started by christian,

    Hi, I am new to ScriptMaster, so it could be, that I am doing something wrong. But let's start: I added a new script module with content as following: com.fasterxml.jackson.databind.ObjectMapper mapper = new com.fasterxml.jackson.databind.ObjectMapper(); java.util.Map<String, String> map = mapper.readValue(json, Map.class); net.codecrete.qrbill.generator.Bill bill = new net.codecrete.qrbill.generator.Bill(); bill.setAccount(map.get("iban")); bill.setAmountFromDouble(Double.valueOf(map.get("amount").doubleValue()); bill.setCurrency(map.get("currency")); // Set creditor net.codecrete.qrbill.generator.Address creditor = new net.codecrete.qrbill.generator.Addr…

      • Thanks
    • 1 reply
    • 1.7k views
  19. @ryan360works any timeline for a version of ScriptMaster that works with Linux on prem??

  20. Hi, I use the native default script to erase a file. When it fail to erase the file (and in some case, it's OK) I have an error dialog that popup ... bla bla bla "OK" Win10, FMS16, FMA17 #1- How can I disable that error message, can't delete the file, no worry, that's ok. #2- For some unknown reason, when it's called with a card window, it might go background.... and I'm stuck, I can't press "OK", can't bring it back to front. If I kill FM process, the record is now lock on the server, disconnect the user doesn't release the record I'm in the process of switching to FM19, that as the native delete file, but for now, I'm…

  21. Hello My subject is the error message I get when launching FileMaker 14 Adv ; I've seen some advices on that link but everything seems OK ! I uninstalled FileMaker before a new insallation ; always in error. Hope in some help I thought that updating Java had solved the problem ; the pi was activated once but no more ...

  22. Started by Noél Dubau,

    Hello I have a FMP solution I did under FMP12 using some scripts from Scriptmaster ; everything runs fine ! Opening this solution in FMP14 Adv when one FM script using SM is executed I get a warning window I join a screen copy. I precise that after that the FM script runs fine till its end. I don't understand at all what is said and don't know in what direction I must search to avoid this alert. Thank for your help ! Noël

  23. Hi, Maybe a stupid question, I have no clue, not really a JS guy. With the new FM19, can we run Javascript natively in FM without the use of the plugin ? I run Win10/Server2012 and in the process of updating from FM17, I need to get rid of some old 32 bits plugins first. I created some on the function that I wanted with SMaster into a custom plugin.... but now FMS required a signed plugin, on Windows 🙄 not an easy task, for a newbie like me. So can we run some basic JS code in FM19 directly and get the result ? Or we still need to run them with SMaster. Thanks JF

  24. Brief report on the following problem: fresh installation of FMPA 19 on Big Sur will not allow the Scriptmaster plugin to initialize. Of note, prior installations (e.g. FMP18 running on Catalina upgraded to Big Sur) work fine. The solution (not sure which of the following did it): - allow Full Disk Access for "Terminal" and "Filemaker Advanced" in the Security preference pane - enable "Programming Tools", for good measure - make sure your Startup Disk name is ASCII-compliant (mine was originally in unicode Greek)* Restart and profit. Hope this helps someone! *I suspect that this is critical, as the java run-time (created on-t…

  25. Started by JF Fortier,

    Hi, Going to FM19, I'm updating some old plugin and I need to know if an application is running or not on the client PC. I used Moo Plug for years and it work https://mooplug.com/docs/functions/moo_processrunning ** Edit: A new x64 version is on the way, Adam send me a beta version ** I'm trying this code try { String line; Process p = Runtime.getRuntime().exec (System.getenv("windir") +"\\system32\\"+"tasklist.exe"); BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((line = input.readLine()) != null) { System.out.println(line); //<-- Parse data here…

    • 2 replies
    • 1.7k views
  26. Started by ignotum,

    I read an earlier thread that suggested updating .jar files https://fmforums.com/topic/98122-scriptmaster-442-convert-pdf-into-text/ I do not understand what/how to do this. Is there some info somewhere that can help?

    • 3 replies
    • 1k views
  27. Started by mk.h,

    Hi, wondering if anyone else is experiencing this. ScriptMaster 5.3 has been working fine and well on my client's FMS for a while. Suddenly this morning I noticed it is disabled. And toggling it back on doesn't work. It flicks to disable by itself. The only thing changed in the last few hours is upgrading FMS from 19.0.1 to 19.1.2. I have tried rebooting server x2 and doesn't help. Is this a known issue? or I am the only one seeing this? Cheers. Kevin.

  28. "Unable to read from stdout on JVM startup after 3 seconds" This happens intermittently. Sometimes it starts up perfectly. Is there any way to increase the timeout? Thanks

    • 13 replies
    • 3.9k views
  29. I have a problem under Windows10 and the very old Filemaker 12 Advanced. Idownloaded the last version 5.3 an put the 2 elements in the extensions folder.When I start Filemaker nothing occurs ; no error and no installation of the pi. Going through Preferences / Plugins I see 360Works not checked. If I try to check I get the error you can see on attachment. Hope in your help ! Thanks

  30. I need to be able to restart a Windows server running FileMaker server via a script. I would like to run a server side script in the Filemaker Server software. I was interested in using the 360works ScriptMaster. Any advice, pointers, problems I should be aware of?

    • 9 replies
    • 2.3k views
  31. ListAllFilesInDirectory had been working great in the past. Now it appears returning blank, even though other ScriptMaster functions appear to work. I am running under MacOS Catalina 10.15.4. Under FileMaker Pro Advanced version 18.0.3.317. I am calling the function with the following, as an example: /Macintosh HD/Users/djswatski/Documents/Doug Books and Short Stories/Short Stories/ Attached is my ScriptMaster log file. Any help would be greatly appreciated. This is a huge win to be able to programmatically use this to analyze files and I really want to get this working again. Thank you. -Doug. 360Works_ScriptMaster_FMAdvanced.log

    • 1 reply
    • 1.1k views
  32. Started by nolamike,

    Hi Forum, So I am trying to figure out how I might encrypt some fields in Filemaker, using Scriptmaster. Here's where I am at: - Want to have the interface as follows: user sees encrypted text in the field by default, clicks a "Reveal text" button, is prompted for a password, and if the correct one is entered, sees the unencrypted text in a dialog. - I could just use EncryptDES() and DecryptDES() and be done with it, but I understand AES is stronger, so I'd like to use Encrypt/DecryptAES() if possible. - So I need a 128-bit key to work with AES. But I don't want the user to have to memorize/deal with that—rather, just with a conventional password. So, I am…

  33. Started by Andreas T.,

    I would like to know if it is possible to use the PBEWithMD5AndTripleDES algorithm in the EncryptDES and DecryptDES functions and thus use the more secure 3DES algorithm. It seems to work in the demo file, but I would like to be sure that it actually works the way I think it does just by replacing the PBEWithMD5AndDES with PBEWithMD5AndTripleDES or if it is necessary to also change parameters or other parts of the script. Cheers.

      • Like
    • 4 replies
    • 3.1k views
  34. Started by Noél Dubau,

    I am disconcerted and can not find a solution to my problem. So I use Scriptmaster modules in PC and Mac programs. I use the ChooseFolder function on PC and it works perfectly. On the Mac and still FMP14A the colored wheel launches and I have to force the FileMaker shutdown. Examining step by step the script it is on the line calling ChooseFolder that it blocks. I made a simple module that I joined together with the Apple error report. Who can understand the reason ? Thanks and regards Noël rapport_erreur.rtf test_SM_chooseFolder.fmp12

    • 6 replies
    • 1.4k views
  35. Hi, and greetings from Athens. I've upgraded my -free- Sciptmaster plugin to 5.3 (OS X Catalina, FMP18) and noticed that "ChooseFolder" results in a hard freeze / beachball. Version 5.1 is OK in this respect. BTW, gate keeper is disabled system-wide. Please note that my groovie functions have been installed by the "copy to clipboard" procedure. For example, this line installs "ChooseFolder": set variable $install_ChooseFolder = RegisterGroovy( "ChooseFolder( startingPath ; prompt )" ; "import javax.swing.JFileChooser;¶ ¶ JFileChooser chooser = new JFileChooser();¶ chooser.setFileSelectionMode( JFileChooser.DIRECTORIES_ONLY );¶ //You can switch this to JFileC…

    • 0 replies
    • 951 views
  36. Started by Noél Dubau,

    Hello I use the old FM version 12 under Windows 10. In that system is installed the version 8 of Java 64bits. I conserved the 360Scriptmaster pi which was installed previously under Windows Seven. When I lauch FM I have an alert about the version as you can see below ; and if I look in preferences the SM pi is not checked Is that error signified by the pi or some script in my solution ? Thanks for help ? Noël

    • 3 replies
    • 1.4k views
  37. SHORT VERSION: I need the Unsigned version of ScriptMaster 5.3 in order to make my Custom PlugIn. However, the link in the documentation http://docs.360works.com/index.php/ScriptMaster points to https://s3.amazonaws.com/com.prosc.public/ScriptMasterUnsigned/360Works+ScriptMaster-5.2.zip I want/need the unsigned 5.3 version not the 5.2 version. LONG VERSION: When I try to "Generate" my Custom Plugin I am getting a SOAP error - screenshot attached. Log files attached. I hypothesize that this is caused because I am referring to the ScriptMaster 5.3 Plugin that we get by default when downloading ScriptMaster 5.3 When I find the link in the documentat…

  38. Hello I'm having a problem again with a SM module (again because I always have the one with ChooseFolder that appears in the background): I use SelectFile to choose some file; it works perfectly under Windows or MacOS since FMP14Adv But since the standalone solution the dialog box does not appear even under MacOS while under Windows the application crashes. Thank you for your attentionI Noël

  39. Started by Noél Dubau,

    Hello In the SM sample file exists an Unzip module requiring to choose the zip file ; the file is expanded in a folder named as the original file Has someone adapted this module in the idea of unzipFile(filesource ; folderDestination) Thanks for links Noël

  40. Just re-installed on a parallels vm Windows 10 the FMPA v14 32bits (because another pi doesn't run in 64bits). I copied and paste the two files for the pi (.fmx and .fmx64). After launching FMP and looking preferences/plugins I wanted to check the box of that pi ; and it returns What must I do ? Thanks Noël

    • 4 replies
    • 1.2k views
  41. Started by ericire,

    Hi An example of bcrypt password hash with scriptmaster bcrypt.fmp12

    • 0 replies
    • 2.2k views
  42. Started by Noél Dubau,

    Hello I use a function that allows me to recover data on openbooks (title, author, publisher ... cover image ...); if one of the elements is missing I have an error returned. Attached is the one returned if the image is missing. How to handle this and prevent the message from appearing? Thank you for your help

    • 17 replies
    • 2.2k views
  43. When we are using proxy server for all outgoing connection on a network, when 360worksSM try to download the JRE at startup, the plugin make a direct connection and don't use default computer proxy's value. That cause the error : An error occurred while downloading https://s3.amazonaws.com/com.prosc.store.download/jre/win/1.8.0_152.zip. Couldn't connect to server. (7) So, could you please add support of current computer proxy settings ? And could you also please add an option to use already-installed version of JAVA on the computer instead of downloading the JRE ?

  44. Started by Noél Dubau,

    Hello I use a John Renfrew function to zip an entire folder has a similar function been created to Unzip folder/files ? Thanks Noêl I am half ashamed because there is indeed a module applying to the expansion of files ...

  45. Hello ! I thought I had an error in a script under FMP14A and just understood what happens. In that script I call the selectfile function by defining a variable ; nothing was happening compelling me to force FMP to leave ☹️ In fact the dialogue window opens in the background !!!! How to force it to appear in the foreground? Noël

  46. Started by ericire,

    Hi where can I download the last scriptmaster plugin compatible with FM10, especially the 4th branch ?

    • 8 replies
    • 1k views
  47. Started by Noél Dubau,

    So many modules have been developed under Scriptmaster that I dare to ask the question: does anyone know of a function that would acquire an image by scanning it from a scanner? I dream, no doubt! Noël

  48. Started by ericire,

    Hi I use scriptmaster 4.206 with FM10adv and in a groovy script I want to handle scriptmaster specific errors in the grovvy script itself (com.prosc.fmkit.FmCalculationException 102, 106 etc). where can i find an explanation list of scriptmaster error numbers please ?

      • Thanks
    • 2 replies
    • 752 views
  49. Started by john renfrew,

    I have client machine Mac 10.15.something and latest ScriptMaster For some while the plugin seems to turn itself off after being used successfully The machine was recently updated, and I was in yesterday to install FMP18.0.3 but this morning I am getting error notifications which are because it has turned off again. Can you offer any light on why this might be and how to go about troubleshooting it??

  50. Hi, I know nothing about Java or Groovy etc! I want to deploy my solution and take advantage of dual screen. So I need to have information, if a 2nd screen is installed, is it to the left or right of the main screen. I have found many script exemples, but every time I copy them in the ScriptMaster file and run them, I get a compilation error. So if you want to help, please just don't say, use this command, or x,y,z... I would need to full script from A to Z, as I know nothing how to write a Groovy script, debug or else ! Thank you for your help. JF

      • Like
      • Thanks
    • 10 replies
    • 1.6k views
  51. Hello We updated to Filemaker 18 Server and we are using a Custom PlugIn made by ScriptMaster 5.2. On the Filemaker Server 18 the PlugIn can not be loaded. What we need to do for using the PlugIn on MacOs and Windows Server? Kind regards Philipp

    • 4 replies
    • 2.6k views
  52. Hi, I have absolutely no knowledge in Java. I'm using all the function already in the demo file of ScriptMaster (Send Email With Attachments), I have a licence so I generated my plugin and run it on the server to send email. It's not a mass mailing, I send individual email, it's a system that confirms appointment. The email is HTML formed for a better-looking experience. I need to add: #1-header info (maybe multiple items), otherwise I get flag (mostly by Hotmail) as spam, the header should at least include the "Unsubscribe-list:" attribute #2-with the HTML email, I need a "text/plain" short version I have a score …

      • Haha
      • Like
    • 5 replies
    • 2.7k views
  53. Started by Vegas Fred,

    I am working on solving an issue that requires me to list all of the files in a share. I am hoping to use a command like : ListAllFilesInDirectory( $Path ) But I am running in to issues. My FileMaker server is running on a windows server and I can not for the life of me get it to list the files from the share. I have tired \\Computer name\Share Name, filewin:\\Computer name\share name, I have tried mapping the share to a drive letter, and even creating a symbolic link to the share. The drive letter and link both work from file explorer or terminal, but I can not get it to work with the "ListAllFilesInDirectory( $Path )". Any help would be grea…

    • 3 replies
    • 1.3k views
  54. Hello, Since 2 days, we have more and more java instance, after few hours we have lot of java process, and the plugins crash (see disable in the admin console) I need to restart fmse, and in admin console re-active the plugins. FMS18, SM 5.2, JAVA 8 (1.8.0) WIN SERVER 2016 (We have 2 cron task using SM, the first every 3 min and the other one every 8 min ) Do you have any issue ? Thanks for your help.

  55. Started by cril,

    Hi I'm trying to develop an interface between my filemaker database and a SOAP service. No where in the wsdl is there any authorisation so I believe I need to send my username and password before the SOAP envelope. I'm trying to do that with Scriptmaster but there are only three input parameters none of which appear useful for generating or inputting the HTTP authorisation Basic that needs to be in place. I can't see the fedex modules which may have had the parameters I needed. Can anybody help/advise or suggest another plugin I should use. Many thanks for reading this.

    • 5 replies
    • 4.3k views
  56. We do use the "Select File" function - registered as variable with the 360 works Scriptmaster 5.1 plugin - in our FM database. This works fine up to FM16. When you open the same database with FM17 the dialog window is in the background and Filemaker will get stuck as it waits for the input in the window that is not visible to the user. The problem also exists with the new 5.2 version of Scriptmaster plugin. If you execute the function in the "ScriptMaster_16+.fmp12" sample database the dialog is in the foreground (as it should) - if you select the option "Register on startup" or if you register the function via clipboard the dialog is in the background. Did anyon…

    • 1 reply
    • 771 views
  57. I have RunScript function in ScriptMaster. It does work, but is crashing in FileMaker 18 debugger. Faulting application name: FileMaker Pro 18 Advanced.exe, version: 18.0.1.122, time stamp: 0x5cc7476c Faulting module name: KERNELBASE.dll, version: 10.0.18362.86, time stamp: 0x3fee4d7f Exception code: 0xe0434352 Fault offset: 0x001133d2 Faulting process id: 0x12b4 Faulting application start time: 0x01d51241e3990fca Faulting application path: C:\Program Files (x86)\FileMaker\FileMaker Pro 18 Advanced\FileMaker Pro 18 Advanced.exe Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll Report Id: 411cb5d9-9ff7-4299-9bd3-41a06648b472 Faulting package f…

    • 3 replies
    • 2.7k views
  58. I just upgraded to FMP18. I use Scriptmaster to convert Base64 for electronic message delivery via PDF. This has been working perfectly with version 4.42 using the following: EvaluateGroovy( "File tempFile = File.createTempFile(\"/base64\", suffix);" & ¶ & "FileOutputStream stream = new FileOutputStream(tempFile);" & ¶ & "stream.write( new sun.misc.BASE64Decoder().decodeBuffer(encodedText) );" & ¶ & "stream.close();" & ¶ & "return tempFile.toURL();" ) In the new version of the plugin, when this same script runs I now get the following error: "Compliation failed: startup failed: Script1.groovy: 3: unab…

      • Thanks
    • 4 replies
    • 1k views
  59. When I fired up FMPA 18 the first time with plugins installed, I received an alert for a number of well-known commercial plugins as well as every one of the plugins created with ScriptMaster Advanced. Will a near-future release of ScriptMaster Advanced allow us to create "digitally signed" plugins? If so, ETA or a workaround? Thanks in advance, - - Scott

      • Like
    • 3 replies
    • 2k views
  60. I upgraded to FMP18 from FMP17 and downloaded the latest (5.2) version of ScriptMaster. When I started FMP18, I got the new (haven't seen this before) warning that "The plug-in is from an unidentified..." and I selected to always load for all of them. However when I start FMP18, the 360Works Scriptmaster fails to load. All the others load just fine. When I replace version 5.2 with 5.1 (all 64 bit, Windows 10), it loads fine. So my work-around is to stay with 5.1.

  61. Hi there! I have installed ScriptMaster to Filemaker Server 16 under Windows Server 2012 R2 If I use getContainerStream in a server script I get an exception: Returns com.prosc.fmkit.FmCalculationException: 106 The containerField is defined as external / open. Exporting the content using Export Field Contents works fine. This worked fine before updating from Filemaker 14. Am I missing something? Regards, Thorsten P.S.: Same error occurs on fmpro.getContainerFileName

  62. Started by Max Morley,

    Hello. Thanks for reading my request. I want to email a group from my file. (See attachment "Data Page"). Find the "email" field. I want to find a group from this page and then send an email to the found set. I go to SEND, and then I get error messages about the server. Please help. Thanks. Max Data Page.pdf

  63. Started by john renfrew,

    With the latest versions of ScriptMaster the error message java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException is not exactly helpful as it gives no clue as to what the error might be. And I have been getting requests from people about broken code as this gives them no clue as to what is going on. AND you can't turn it off to be able to just get the choice of being the full stack trace which gives a lot more clues as to the potential source of the error. How can this be suppressed???? I have amended my v12 file for several years now but the latest version of the plugin shows this system dialog rather than returnin…

  64. Started by Max71,

    Hello, I'm trying to fetch a QR using a simple URL. I'm getting an error I'm not able to handle. Can anybody help? This is the string that is giving errror: https://qrickit.com/api/qr.php?d=FV841PM&qrsize=150&t=j&e=m If I open it via browser no error. But if I test it in the 360 ScriptMaster, I get this error: groovy.lang.MissingPropertyException: No such property: url for class: Script1 Parameters: {} ---Script--- Script: new URL(url); Thank you in advance for any help you can provide Max

  65. Started by Phil Mood,

    Hi, I use the CropImage function to insert an image from a file into a container field, Base64Decode ( Base64Encode ( CropImage( $importpath ; myTable::img_X ; myTable::img_Y ; myTable::img_pic_width ; myTable::img_pic_height ) ) ; myTable::img_destination_fieldname ) It works perfectly but, if the XY coordinates are negatives, the background that fills the empty space is set automatically to black. Ex: Base64Decode ( Base64Encode ( CropImage( $importpath ; -200 ; -75 ; 500 ; 250 ) ) ; myTable::img_destination_fieldname ) https://punto-rosso.d.pr/GHn8Vv I use negative coordinates to position the picture inside the container. How I can av…

      • Like
    • 7 replies
    • 1.6k views
  66. Started by john renfrew,

    While answering the previous question I found sometihng that's not terribly brilliant, well at least on this machine Retina iMac with i7 and 32gB RAM... if you just do return new BufferedImage(3000, 3000, 1) you get a black RGB image 3000 * 3000 If you bump up the x param to 10000, you get a nice wide image If you bump up the y param instead, (tested at 4000) then FMP freezes and you have to crash it to get anywhere... This feels completely counter intiuitive and I never love crashing out of FileMaker. Any clues as to why???

  67. We used to put the jdbc drivers into /Library/Java/Extensions restart FileMaker and then either of the follwing methods would connect (second is more Groovy) import groovy.sql.Sql try{ driver = Class.forName('com.filemaker.jdbc.Driver').newInstance() } catch (e) { return e.getMessage() } try{ sql = Sql.newInstance('jdbc:filemaker://myserver/file', 'user', 'pass', 'com.filemaker.jdbc.Driver') } catch (e) { return e.getMessage() } If I create an /ext folder in the JRE/lib then ScriptMaster does not load correctly, if I put the jar in the /lib or in a /lib/Extensions folder then all you get back from that is com.filemaker.jdbc.Driver meaning th…

    • 11 replies
    • 1.2k views
  68. Started by KoenK,

    Hi All, At the moment I'm using ScriptMaster 4 for a while. Was wondering if I can upgrade from 4 to 5 without any problems? Or do I have to re-program my Filemaker file(s)? Cheers Koen

    • 8 replies
    • 920 views
  69. Started by Noél Dubau,

    Hello I have a solution in which I use many functions requiring 360SM plugin. I'm under a virtualmachine Windows 10 through Parallels Desktop 14. I installed my FileMaker Advanced 14 and the last 5.1 of Scriptmaster. The plugin is activated (Preferences/plugins) When I open my fmp12 file I get a message saying it requires version 4.02 of SM minimum What can I do ? Thanks and regards ! Noël

  70. Is it possible, in the current version of the Post XML Data module (ScriptMaster_16+), to include a user:password string to the script? Is it as simple as adding another Input Variable, ex. auth, and modifying the Script code to include the variable which has to be placed at the start of the connection to the Web Service? Thanks

    • 0 replies
    • 819 views
  71. Started by swl,

    Hi all, I'm a "noob" at ScriptMaster and have seen how to zip a selected file with the example code. Does anyone have a good example of how to zip an entire directory/folder? TIA, Denis

  72. Started by GerhardL,

    Hello, When using the ScriptMaster plugin you can always see "PipeChild" in the power settings with high energy consumption. How can you fix this? :-) Gerhard

    • 0 replies
    • 934 views
  73. Started by dburnham,

    I have Scriptmaster installed on Filemaker Server 16, and on my iMac workstation as well in FMPA 17. The Export Container example works perfectly on my workstation when connected to the server, but when the same script is executed on the server, nothing is written to the destination file path FileMaker Server/Data/Documents. I know that the script is running properly on the server because all other elements of the script run. It is intended to send an email message with an attachment that is exported from a container field. The email is delivered, but missing the attachment and that's because the export to the "Docs" folder fails. I also observe that there…

  74. Hello, Since I switched from FM16 to FM17, I have had problems with Scribe and ScripMaster plug-ins... (I have downloaded the latest versions available on the site.) The first problem was crash of plug-ins, same problem as here : I downloaded the beta version of scribe proposed in this topic, since the plug-ins are stable. But another problem appears, the temporary folder keeps getting bigger and bigger... Yesterday I noticed that I had more than 400 copies of the plug-ins in this folder (more than 48GB!). So I stopped FM services yesterday, delete all element in temp folder, and restart... This morning I have copies accumulating again,…

    • 8 replies
    • 1.5k views
  75. Started by Noél Dubau,

    Hello Is it possible in the various functions sendmail to - send to many recipients - send with many attachments ? Thanks Noël

  76. Started by Noél Dubau,

    Hello I need to create from FileMaker 12 a remote folder on the server hosting a website I manage. I saw in scriptmaster the CreateFolder sample but it is on the computer. Is my wish feasible ? Do you have a link to a sample ? Thanks and regards Noël

  77. Started by mvoogt,

    I've got an archive server that I'd like to get the path of every file in a list. The function 'List All Files Recursively' can do this. The problem is that there are 1.2 million files in the directory. Is there an economical way to get this in a list in filemaker? The function just seams to choke (unless I'm doing something wrong).

  78. When I register and run just the ChooseFolder( startingPath ; prompt ) function…all is good. But if I register a "few" more functions, the choosefolder freezes and quits FM. This is with FM 15, 16, 17 and Mac or PC. SM4.43 doesn't not have any problem. Seems a memory issue. Anyone else seeing this? I've loaded up a file that you can edit and test. Thanks. directory test.fmp12

  79. Started by dburnham,

    • 4 replies
    • 998 views
  80. Started by john renfrew,

    As promised... With the new ScriptMaster which uses a sandboxed JVM it is now possible to load driver jars at runtime, whereas before they had to be installed in the Java/Ext folder This makes a function to tak to MS sql server possible. Sample code below... Get the jar file referenced from the Microsoft website. As this is from some production code we are using record as the column name for the record index, and the data comes back pipe delimited, but you easily change those... If you leave the find blank it will just return the id of the first record in the list. if you UPDATE it should return the number of rows affected, and hopefully if you INSERT it w…

  81. Hi, this is an odd one... Only in two Windows 10 - 64-bit computers Filemaker won't see the installed plugin. I already copied by hand the are libraries and still no luck. I've tried with FM16 and FM17. Same result. We've deployed this plugin as part of an upgrade and it has been successful in at least 50 computers so far. Only these two are failing. I've attached the plugin to see if you have the same result. EikonsysOne_CFDi.fmx64

  82. Hello I'm looking for a sample script that allows me to sign a xml file using a p12 certificate and obtain it with a Xades-EPES signature. I've seen some examples based on Java but don't know how they can be translated to Groovy, if possible. Any help will be appreciated.

    • 3 replies
    • 1.9k views
  83. Hello Yesterday I created a plugin with ScriptMaster 5.1. It only has 5 functions. In most computers it shows the "Preparing Plugin for First use Dialog", sometimes it takes several minutes but finally it ends and the plugin starts working as expected. However, in 20-25% of the computers I've installed it (via Install Plug-In script step) I'm getting initialization errors. The plugin shows unchecked and it fails to initialize if I try to activate the check box. I've looked everywhere to see what I can delete in order to have the "Preparing Plugin...." dialog again to see if I am luckier this time but nothing seems to help and my users are starting to get an…

    • 5 replies
    • 2.1k views
  84. Started by David Wikström,

    I've had users report an odd error with a ScriptMaster-based plugin on Windows. I have very limited information at this time, and will get the logs, tem files, etc next week, but am hoping to hear about experiences from others to debug the issue more efficiently. "Sometimes" it causes an error with a message: "Plug-in Initialization Error" when you launch FileMaker (a runtime, in this case). I haven't found that specific phrase on the forum or on the support pages - has anyone seen it before? Restarting the computer seems to help, and since it's intermittent, it doesn't look like it's an error on the actual first initialization of the plugin.

  85. Platform: MacOS (10-13) FMP/RT: 16 Use is specifically targeted to Runtimes. (yes, I know they are deprecated, but one can still create them) Is there a way to install the JRE for 360 works (specifically ScriptMaster) in such that all users automatically see the install and do NOT download? Need to work around download blockades at customer sites. Currently, each user has to download the JRE file on launch. This is an issue in that some clients block downloads from the web for apps. I'd like to install the java runtime with the app so every user can just open the app and use it without downloading the JRE. In Windows, there's a C:\ProgramData\360Works f…

  86. Started by Pete,

    Hi all, I am an amateur FM user with trying to achieve something fairly simple. I have a DB of clients. When I add a new client, I want to create a folder on my Mac named with the client's ID number. I have Scriptmaster, I have registered the create folder function, which now shows up in my list of functions. My problem is how to write the script to create the folder? Which script command would I use to deploy the function? Or am I missing something important? thanks in advance Pete

    • 9 replies
    • 1.3k views
  87. Upgraded ScriptMaster 4.42 > 5.09 on clients and server. It caused such slowdowns that nightly scheduled scripts timed out or hung completely and users have been complaining bitterly about performance. We've rolled it back on the server (performance improved immediately) and are in the process of rolling back the users. Any thoughts? Server: 12 core Mac Pro, 64GB, SSD, Sierra, FMS 14.0.4.414. Clients: Mix of El Capitan and Sierra, FMP 15.0.4.

  88. Started by Lape,

    Hi guys - first - a warm thank you for making this plugin available, we have used Scriptmaster for 4 years now and have had NO problems until now - please advise: The setup: FMS 13 on Windows 2008R2, ScriptMaster 4.1 and once a month a Email-blast with a few Emails/PDFs to recipients - no problems ! Now: we are relocating to another smtp-gateway, which only supports port 587....! And THEN no more mails ! I have read/googled for days now, so i think I have tried the most common solutions, to no avail.... This is our code i SM-INIT-script and I THINK that its the "port" statement that is wrong: ---------cut------------ //Load ScriptMaster Fun…

    • 7 replies
    • 2.1k views
  89. Started by sfpx,

    Adapted file from http://leodicroce.com/combine-pdfs-without-using-fm-append/ Changes from the demo file: -Latest Scriptmaster version instead of 4.32 -Loaded 2 additional Jars (bcprov-jdk15on-160 and bcpkix-jdk15on-160) The merge PDF function RegisterGroovy( "MergePDF( files ; output )" ; "import java.io.FileOutputStream;¶ import java.util.ArrayList;¶ import java.util.List;¶ ¶ import com.itextpdf.text.Document;¶ import com.itextpdf.text.pdf.PdfReader;¶ import com.itextpdf.text.pdf.PdfCopy;¶ import com.itextpdf.text.pdf.PdfImportedPage;¶ ¶ try {¶ String[] inFiles = files.split(\"\n\");¶ int f = 0;¶ int pageOffset = 0;¶ String outFile = output;¶…

    • 3 replies
    • 1.3k views
  90. Started by john renfrew,

    There's a bit of a thread on the FM Community site about working with lists, to which I wrote an example SM function which I post here for interest.... https://community.filemaker.com/thread/188322 // liststest ( list1 ; list2 ; select? ; separator? ) // 18_07_10 JR // v1.1 // // JOIN = select?select.toInteger():1 LISTA = list1?list1.tokenize('\n'):[] LISTB = list2?list2.tokenize('\n'):[] SEP = separator?separator:' - ' switch(JOIN){ case 1: LISTA.addAll(LISTB) return LISTA break case 2: LISTA.removeAll(LISTB) return LISTA break case 3: LISTB.removeAll(LISTA) return LISTB break case 4: LISTA.addAll(LISTB) return LISTA.unique() break case 5…

    • 0 replies
    • 816 views
  91. Started by john renfrew,

    import groovy.json.JsonOutput class Person { String name } def result = JsonOutput.toJson(new Person(name: 'John')) This 'should just work' - this is Groovy 2.4.0 Mac 10.12.6 Scriptmaster 5.07 up to 5.1 all fail with this Ideas on a postcard please...I BUT it does work all the way back in 4.42 and FM15

    • 16 replies
    • 1.7k views
  92. Started by john renfrew,

    I have functions which read data from containers using fmpro.getContainerStream ( fm_field ) this seems to fail with a 106 error when run as a server-side (PSOS) script when the same function passed an external file&path does not using new FileInputStream any clues or enlightened opinions??

    • 7 replies
    • 1.9k views
  93. I'm seeing a "FileMaker Script Engine process has terminated abnormally" error when I attempt to register modules on Filemaker Cloud 1.17 using Scriptmaster 5.1 Unfortunately, the database stops responding when it encounters this error, forcing me to close the database. I noticed a similar issue on the forum related to Filemaker Server 17 that was fixed in 5.1. Could there still be an issue for Filemaker Cloud 1.17? EDIT: 5.09 works, as mentioned in my post below. I suggest that people use Scriptmaster 5.09 on Filemaker Cloud until this is fixed. EDIT 2: There is potential to corrupt data if we attempt to close the database when it is not responding after attemp…

    • 2 replies
    • 1.2k views
  94. Started by davidsilverthornsoftware,

    Are there any plans to implement Groovy 2.5 into Scriptmaster?

  95. Hello everyone, I changed my old pc with Win 7 today for a new one running Win 10. On the old machine I ran FMP 9 (...I know :) ) using also the ScriptMaster Plugin. Starting FMP on the new machine I receive a Java error message: "360Works plugins require Java 1.5 or later which is not installed on this computer..." Actually I have Java 1.8 up and running fine on the new PC - someone has a clue what might be going wrong? Thanks in advance Farid, Milan/Italy

  96. Started by jaboda,

    So last week I spun up a Microsoft Azure VM to test FMS 17 and it was working well. Last night started migrating our second server and all was good. One of the final things was to install ScriptMaster. Didn't work and stupidly didn't test it last week. Had to roll back to FMS 16 and wasted several hours of work (my mistake for lack of QA)! Today I tried it again on a new VM and could reproduce the issue so it's not specific to our build. Here's what I did to reproduce the issue: Create an Azure VM running Server 2016. Change the language to UK. Install FMS 17. Install Web Sockets (an issue my Colleague sussed out here). Copy the S…

    • 3 replies
    • 1.6k views
  97. Hello. I have the next line: List<String> line= pdfread.convertToLine(pdfread.readContentPDF( path )); But, I had working with different path (absolute, relative, changing location) but ir doesn't work. I set the path of the parameter from FileMaker Script. I'm looking for documentation but I can't find some interesting yet.

  98. Started by bigitinc,

    Are any of the announced distribution/release changes at https://java.com/en/download/release_notice.jsp going to impact our ability to use our plugins made with ScriptMaster?

    • 2 replies
    • 1.9k views
  99. Started by swl,

    Hi all, I'm beginning to delve into Scriptmaster and I'm curious if it can use any of the grails functionality? I know 360works released their SafetyNet plugin, but I'm curious if I could script my (non-server based) solution to upload a ZIP file to S3 using ScriptMaster. Has anyone tried this kind of functionality? Cheers, Denis

    • 3 replies
    • 2.6k views
  100. Hello If I understand well the dialog returns in a variable the value clicked (in the original sample "Whatever" or "Neat") and I can define actions according to that value. In my database I have a lot of dialogs to create each one having 2, 3 or more choices. I wanted to register a function with 5 options... But is I don't fill all I get an error of the script ; is there a way to adapt the script to have only values filled ? In the sample I defined the option4 as "" Thanks for your help test_dialog_SM.fmp12

    • 4 replies
    • 1.4k views

Recently Browsing 0

  • No registered users viewing this page.

Who's Online (See full list)

  • There are no registered users currently online

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.