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. Started by David Wikström,

    Anyone got the recipe for extracting files from a zip-file (stored in a container field, though that's probably irrelevant since I can export it) to a specified location? I need it to work on Windows XP and Vista.

  2. I'm evaluating Scriptmaster as part of a potential solution for a client project. We have written a one line script to test whether we can send TCP Socket requests out of FileMaker to a hardware device (remote power switch). Our FM script is actually 2 lines (the first simply set's the "ip" variable - the second is as follows: EvaluateGroovy( "s = new Socket(ip, 80).withStreams { input, output -> output <<'TCPCommandGoesHere'; r = input.getText();}" ) This works for a few minutes (TCP command is sent and the remote device responds with either 'ON', 'OFF' or 'BUSY') but then FileMaker 10 (Trial version) freezes and will accept no further input requiring …

    • 0 replies
    • 1.8k views
  3. Started by seraph_nyc,

    Hi, Is there a way with scriptmaster to put text into a container. Kaostika

    • 5 replies
    • 2.8k views
  4. Started by Ken Newell,

    Looking through the documentation and previous post but was not able to find any information regarding this. I use scriptmaster for sending emails. Basic text only no HTML. The quote character gets changed to Ô. Any help on how to change this would be appreciated. Thanks in advance.

    • 1 reply
    • 1.8k views
  5. Started by seraph_nyc,

    Hi, I am trying to use SM with FM 10 on a Mac Air. It crashes on opening. I remove the plugin from the Directory and it works. Kaostika

    • 0 replies
    • 1.4k views
  6. Started by Infomatics,

    Hi, Since SwingBuilder can handle menu's and ScriptMaker can handle calling FM scripts is it possible to make a dropdown box at the cursor position, or at the position of a button (or at a given position) with the script parameters to pass on to a script? That way I can use one print button with a dropdown to select several options to print like: List with prices List without prices List internal Best regards, Ruben van den Boogaard Infomatics Software

    • 8 replies
    • 11.2k views
  7. Started by glenneg,

    In my FM 10 app I'm trying to use the ScriptMaster popmenu function. Sorry but I'm really confused! I would like to build a menu on the fly, but not sure how? Does any have an example or suggestions. Are there any Input parameters for this function? Can I pass it a list, then have a fmp script run based on the selection? Thanks for your help... Glenn Greathouse

    • 0 replies
    • 1.7k views
  8. I'm trying to use the following function in my solution. int delayMilliseconds = Integer.valueOf( delaySeconds ) * 1000; new Timer().runAfter( delayMilliseconds, {fmpro.performScript(fileName,scriptToRun)}); return true; I'm basically using it to fire a script regularly. So once it fires, it is automatically calls this function again to set it to fire again after X seconds. It works for a while, but then crashes filemaker completely with the error "Runtime Error" and code "R6025 - Pure Virtual Function Call". When it crashes I get a log file that includes this: Java Threads: ( => current thread ) =>0x0f18ec00 JavaThread "Timer-32…

  9. Started by daehl,

    I am using 360Works' ScriptMaster Plug-In (1.66) on a Mac running FileMaker Pro Server Advanced 9.0.3.325. It is installed for use with IWP in the folder: FileMaker Server/Web Publishing/publishing-engine/wpc/Plugin Twice now in the last ten days, the plug-in has stopped working in IWP. In each case, simply stopping web publishing in the FMP Admin Console and immediately restarting it made the plug-in start working again. Of course, clients running FMP (with ScriptMaster installed locally) were unaffected and continued to work properly. So I'm trying to figure out whether the problem is with FMP's web publishing engine or with ScriptMaster. I'm not sure h…

    • 22 replies
    • 6.3k views
  10. Started by David Wikström,

    It seems you can't use the Get URL as container with the data protocol. Any suggestions? I'm trying to automate the extraction of images stored on FileMaker layouts to put them in container fields instead; I've got a file imported from the DDR xml where I display the images in the webviewer using a data url; I can of course simply drag-and-drop from the webviewer to a container field, but that's pretty boring.

  11. Started by Reinhold,

    Hi, I modified the script "Popup Menu" in the demofile to call a script, but it ignores this step. I extended the function in line 51 about an if-clause like this: public void actionPerformed( ActionEvent e ) { String menuText = ( (JMenuItem)e.getSource() ).getText(); //Here starts the if-clause if (menuText == "Choice 1"){ // If you would like this to trigger a script, reeplace this with some call to a FileMaker script, like this: //calling the script "Whatever" fmpro.performScript("ScriptMaster", "Whatever"); } } What's going wrong? Reinhold.

  12. Started by rubenj,

    Hi, I'm a newbie to Java and Groovy... I'm trying to setup FM to interact with a Java application through its API which is supplied with the app. I have made some functions/classes in the Eclipse IDE which work well, I get back the expected return in its console. What I don't understand is, when I run the code in FM, I expected to get a return just like in the Eclipse console, but the result_text in FM stays empty (no errors). Is there a difference in type of output? Most of the code, gives a 'System.out.println' which gives no result in FM. All help is welcome, thanks, Ruben

    • 2 replies
    • 2.2k views
  13. I need to be able to trigger a script on record exit that checks the "order status field" and presents a dialogue box/message when the order status is "open" and then sets the order status field if the user's response indicates the order should be closed. I am able to do this in "events" but someone recently told me that Scriptmaster was a powerful solution as well. I am looking at the program right now but so far do not see how I would accomplish this. Any help would be greatly appreciated. Thank you, Steve

  14. Started by Dillon J,

    I wanted to use the PostXMLData function that comes in the scriptmaster.fp7 file. When I Copy the Function into my file under the scriptmaster external functions I get PostXMLData with out the URL or any other input in the (). But for the PostDataToURL( key ; value ; url ) It shows up like normal Filemaker Functions. Did I do something wrong. Thanks

  15. Started by webax,

    hello (sorry, I'm french and don't speak English very well) I test scriptmaster, and I want to copy one file in other directory from my filemaker server/IWP I write this code java.io.FileInputStream sourceFile=null; java.io.FileOutputStream destinationFile=null; new File(destination).createNewFile(); sourceFile = new java.io.FileInputStream(source); destinationFile = new java.io.FileOutputStream(destination); byte buffer[]=new byte[512*1024]; int nbLecture; while( (nbLecture = sourceFile.read(buffer)) != -1 ) { destinationFile.write(buffer, 0, nbLecture); } but scriptmaster return an error about the type "BYTE": …

    • 2 replies
    • 2.2k views
  16. This may already exist, but in any case, I think it would be kind of nice if somebody would set up a library of useful ScriptMaster functions people have developed - similar to the various ones that already exist for FileMaker custom functions.

    • 1 reply
    • 1.9k views
  17. Started by Karstyn,

    I just tried ScriptMaster with FMv10 on XP. In FM Preferences I see that the plugin is loaded and in the Calculation Editor I see all the functions. However when running the auto-update script it generates an error, and looking at SMVersion in the Data Viewer I get the question mark. Any one running ScriptMaster in v10? Did I miss a notice about incompatibility? Thanks -- Hmmm plot thickens! I just tried the same database in v9, which had been working with ScriptMaster, and I get the same behavior. Any ideas why - Could it be a java version issue? Latest windows update issue? FMv10 install issue? --- One more thing - now tried testi…

    • 3 replies
    • 1.8k views
  18. Hi I am using the SendEmailWithAuthentication funtion to send batches of email from my database, however when I input the body of the email as HTML source code, direct from Dreamweaver, the emails are more likely to be marked as SPAM as apposed to just inputting text into the field and using the GetASCSS function to convert it to HTML. Is there anythink I am missing or a particular way the HTML needs to be presented to not flag up as SPAM? Many thanks for any help you can provide Regards -- Orlando

  19. Started by Karstyn,

    I can easily get a file listing from a directory, but then I would like to move all of those files to other directories. I may also need to create the new directories these files will be moved to. I was surprised that these two functions (fileMove and directoryCreate) are not already a part of ScriptMaster. So I thought I would take a crack at creating these myself. Looking at the Groovy Reference site, in the File category, I don't see these methods. Am I missing something simple? Thanks.

  20. Started by Jesse Barnum,

    This is a little bit more involved - it's not a one-liner, but it's not too difficult. You'll create the new directory with mkdir(), and then you'll copy the files by opening an InputStream for each file, an OutputStream for where you want to copy it do, and then writing a loop that transfers bytes from the InputStream to the OutputStream. There may be a shortcut to do this in Groovy (I know the Java way of doing it, and Groovy tends to have many more convenience methods than Java) - try googling 'copy file groovy' or something similar. If you'd like to have us write the script for you, it will probably take 20-30 minutes. Our hourly rate is $155.

  21. Started by Graham Adams,

    The 'Select File' script works fine in the application I use it on. However when I make a Run Time version the browse window to select the file goes behind the FileMaker application and is hidden. Does anybody know of a way to keep this window at the front or if not to minimise the FileMaker application whilst choosing the file. Any help would be very much appreciated. Graham Adams - PlesTech

  22. Started by daehl,

    Help! I'm having a terrible morning. Just tried upgrading my ScriptMaster plugin from 1.66 to 2.0 and it's not working. In fact, I can't get 1.66 to work anymore either. I am running FMP Adv Server 9.0.3.325 on a iMac G5 running Mac OS 10.4.11 and Java version 1.5.0.13. The FMP Server and my solution have been running fine for months without any problem, but my attempt to upgrade to ScriptMaster 2.0 has been disatrous so far. I removed the older ScriptMaster 1.66 plugin, and installed the scriptMaster 2.0 plugin in both the folders: ..FileMaker ServerDatabase ServerExtensions360Works_ScriptMaster.fmplugin ..FileMaker ServerWeb Publishingpublishing…

    • 10 replies
    • 4.2k views
  23. Started by JamesBand,

    I am still supporting a few WinXP workstations that are running FMP 7v3. ScriptMaster 2.05a is not loading on them. : Is there a way I can download the last release that will load on FMP 7v3? Thx

  24. Started by David Wikström,

    I'm using SM 2.05a on Mac OS X 10.5.5. The encryption/decryption doesn't seem to work for various non-latin characters (inserted from the character palette). I suppose this should be easy to fix by modifying the code!?

  25. Started by Asda,

    In the filemaker calculation dialog, under scriptmaster , I fin d a few additional functions, such as: GenerateGradient( width ; height ; blendpoint ; alpha1 ; alpha2 ; color1 ; color2 ; angle ; key ) RenderColorBlock(height,width,R,G, However there is no documentation on how to use these functions in the Filemaker file that comes with the plugin. Can't seem to locate it on the website too. So...how does one go about figuring out how to use the functions. Thanks in advance. kev

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

    Hi, i'm currently building some address/letter solution under filemaker 9 for our office. one part of it will be the creation of .rtf documents based on some template using address-, salutation-, etc. data from the filemaker database. this all works fine already. for the creation of the new letter on the intranet file server i use scriptmaster and the java OutputStreamWriter. the java code bit looks like this: //writes text in var 'textToWrite' to file in var 'filePath' RegisterGroovy( "SM_writeNewFile ( filePath ; textToWrite )"; " OutputStreamWriter writer = new OutputStreamWriter( new FileOutputStream( filePath ), "ISO-8859-1" ); writer.write( textT…

  27. Started by Ken Newell,

    Using the latest version to send emails. I've isolated it not working to accounts that do not have full access. I've set the script to run with full access without any luck. Thanks.

  28. Started by Chrisjon,

    Hi I've been trying to use the writefile function to write a file out to the root directory on a Windows server running FMSA9 with IIS. The path to this directory is C:Inetpubwwwroot But I am not clear as to what the exact string should be to acheive this that I should pass as a parameter to writefile. In the Scriptmaster example for this, the test path given is /tmp/whatever.txt Can someone tell me what the correct syntax should be for a path in a Windows environment to get a file written out to the Web server directory as above? It's not clear whether the volume needs to be included in the path, whether to use / or in a Windows environment…

    • 0 replies
    • 1.9k views
  29. I was hoping that within a Groovy script I could do something like this: fmpro.performScript(fileName, scriptName, scriptParam); result = fmpro.evaluate("Get ( ScriptResult )"); ... However, it appears that calling fmpro.performScript(...) triggers the FM script asynchronously - i.e., the FM script will be on a different thread, so the Groovy script doesn't wait for the script to complete before it continues on to the fmpro.evaluate(...). So the fmpro.evaluate of "Get ( ScriptResult )" just sets "result" to an empty value, since the FM script hasn't completed (and therefore hasn't returned its value yet). So, that being the case, does anyone have any othe…

  30. Started by Tori Mitchell,

    Oi... there any way to increase the heap allotment ala -XmsXXXXm in SM? I can call another process inside the app that I'm writing but that's kinda... ghetto.

  31. Started by daehl,

    It looks like a new version was released yesterday, but the release notes don't list any changes. Anyone have any details as to the changes?

  32. My goal is to get the SendEmailWithAuthentication to work within IWP. I am running FMP Adv Server 9.0.3.325 on a iMac G5 running Mac OS 10.4.11 and Java version 1.5.0.13. So far, it's worked successfully approximately 3 out of 50 tries. Not sure what the problem is. It was working consistantly within the FMP client, but now that has stopped working for me as well. While in IWP I get the ERROR result and the message: I've checked the logs and I see a lot of instances of this (private info replaced with "X"s )... It appears to be saying that I've registered the SendEmailWithAuthentication function multiple times, but I haven't. and…

      • Like
    • 4 replies
    • 1.8k views
  33. Started by Rob_,

    Hi there, I'm having a little problem with running a java script with scriptmaster and was hoping for a little help. The script runs fine in a normal editor but when run using Scriptmaster on a Mac allow the image to be viewed but when you try to delete it, it doesn't allow you to, saying 'the file is current being used by an application'. On PC it has the same problem but also won't display the image. The script is; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import javax.imageio.ImageIO; import javax.imageio.ImageReader; import javax.imageio.metadata.IIOMetadata; import javax.imageio.stream.File…

    • 2 replies
    • 2.5k views
  34. Started by MacSig,

    Hello folks, I'm working on a small IWP project and I need to trigger a script when a new record is created. I guess ScriptMaster can help me out on that. Is it correct? I have read the plugin documentation but I still miss how it works. Let us say I need to update a field value on the last record when I create a new record. How can I do that? Can someone please provide me some hints? THANKS FOR YOUR HELP and HAVE A NICE DAY.

    • 5 replies
    • 1.9k views
  35. This code (with the return replaces by println) works fine in Netbeans, but not when evaluated within Filemaker. I am loading the Oracle JDBC JARs (the Java 6 jar ojdbc6.jar and orai18n.jar) - which JDK does Scriptmaster use? Am I missing something obvious? import groovy.sql.Sql; import oracle.jdbc.OracleDriver; def town = 'Birmingham'; def sql = Sql.newInstance("jdbc:oracle:thin:@192.168.1.192:1521:orcl", "username", "password", "oracle.jdbc.OracleDriver"); firstRow = sql.firstRow("select * from customers where postaltown=${town} order by surname"); return "${firstRow.forename} ${firstRow.surname}");

    • 0 replies
    • 1.4k views
  36. Started by DM&A,

    I found out today that the Get URL "new URL(url)" does not handle TIFF images. The FileMaker container fields do display TIFF images fine, and ScriptMaster seems to load other images fine. Playing around with the imageIO libraries has availed me nothing. THe most I can get is a file reference. I am guessing this may just be something internal to ScriptMaster, and was hoping for some guidance. Thanks! PS. I have looked at using SuperContainer, but the IE engine used in the Windows Web viewer doesn't handle TIFFs, and the web viewer doesn't seem to handle plugins.

    • 2 replies
    • 1.9k views
  37. Started by Jed69,

    Hi. I am very new to using plug ins so please forgive me if I am making a complete balls up of this. I am using SendEmailWith Authenitacation. This works great and I have to say is getting me out of a very big hole. The problems I am having is with registering this at start up. I have set a variable in the script I use at the start up of the database and inserted the code given. But it does not seem to work. If I use the Scripmasterfp7 to register it it works like a dream. Just to give you all the facts. I am giving the variable a name of $reg_plugin.

    • 4 replies
    • 2.6k views
  38. solved! sorry, i should read the docu more carefull. C:ProgrammeFileMakerFileMaker ServerWeb Publishingpublishing-enginewpcExtensions is not the same like C:ProgrammeFileMakerFileMaker ServerWeb Publishingpublishing-enginewpcPlugins... created the plugins folder, put plugin in there, now the plugin loads... ---------------------- Hi, i try to use scriptMaster in IWP under FMS9A with IIS6 on win server 2003 x86. it is not starting. for testing a made a very simple filemakerDB only to display result of SMversion , which is "?", so the plugin doesn't load at all. i placed the plugin in folder C:ProgrammeFileMakerFileMaker ServerWeb Publishi…

  39. Big thanks to Matt Petrowsky at http://filemakermagazine.com for his video article on using the 360Works ScriptMaster plugin with iText to combine PDF files. Check it out - it's the September 29th, 2008 article.

  40. Started by teridon,

    Hi, I just downloaded and installed version 2.03. I have FMSA 9.0 running on Mac OS X 10.4.11, and I'm using a FMP 7.0v3 client on WinXP. I installed the plugin on both the server and on the client. The logs on the server seem to indicate the plugin loaded there. On the client, I opened one of the existing databases, then tried defining a new calculation field using SMVersion(). However, in my client, the SMVersion function is not listed. If I manually type it in, FMP complains that the "specified field cannot be found". If I open the client's preferences, the plugin is not shown on the Plugins tab, even though it resides in C:Program FilesFileMake…

  41. Started by sprosser,

    I'm using ScriptMaster to Post XML data to an Oracle server. The test form I'm using has multiple form areas, so all I'm getting in the result is the source code for the page. I know the test page works, because I get a successful result when I just paste xml code into the proper code and click the button. Is there a way to address a specific form on a page, or should I try to get the Oracle dba to make a page with a single form on it?

  42. I've installed the ScriptMaster plug-in for use with FileMakers Web Publishing engine on my FMSA 9.0.3.326/Windows 2003 server A few hours after running RegisterGroovy under the Web Publishing Engine (WPE), the Web Engine fails and the fmswpc.exe process takes up over 90% CPU. This didn't start happening until I started trying to use the ScriptMaster plugin and RegisterGroovy under WPE. The "360Works ScriptMaster_WPE.log" shows the plugin loads and functions registered but nothing is added to the log when the failure happens 360Works ScriptMaster_WPE.log: (C++ Fri Aug 29 14:09:21 2008) Writing to log file at C:Documents and Settingsnambetec…

    • 2 replies
    • 1.9k views
  43. Started by Jed69,

    I am really sorry if there is an obvious answer to this one. I am sending a mail using SendEmailWithAuthentication and this is the calculation I am using. SendEmailWithAuthentication( "[email protected]" ; Customers::Email_Business; "Welcome to Exel gaming read this and how you view life could change forever!"; "Dear " & Customers::Title &" " & Customers::Last_Name & ¶ & Customers::M1 Mail Text & Customers::Qualifying_Name & ¶ & "Client Relations" & ¶; "Q:PDFM1.pdf" ; "xxxxx"; "xxxxx"; "xxxxxxxx") I have replaced the email settings with xxxx. But when I use this code there are no line breaks in the body text. I have trie…

    • 3 replies
    • 1.6k views
  44. Started by Gary Brusanowski,

    I've got a script that backs up my FMP file's data called "Backup System"... when the file initially opens it runs "AutoBackup" (see screenshot), which runs the backup script, sets a time field to the current time + a # of minutes designated by the user, then runs the "CallScriptAtScheduleTime" function using an unstored timestamp (i.e. "AutoBackup_Next_TS") equaling the current date and that future time and the script called is "AutoBackup" (therefore, the script just keeps calling itself ever X minutes). Strange thing is that it wasn't working so I opened the script window and started poking around, and then it just ran! However, I haven't been able to reproduce th…

  45. I am using RegisterGroovy to register a script when my Database opens. The problem I'm having is that the registered script gives me the following error unless I make a EvaluateGroovy call before using the registered script: java.lang.NullPointerException: Cannot invoke method evaluate() on null object Parameters: {} ---Script--- Once I make a EvaluateGroovy call the registered script starts working correctly. The weird thing is the EvaluateGroovy call doesn't need to have anything to do with the registered script. For now to patch the problem, I have added a line to the end of my open script that just has EvaluateGroovy return the verison of F…

  46. Started by nambesal,

    I am trying to use ScriptMaster to trigger scripts in my IWP solution. I have the following calculation which works properly via FileMaker 9 Advanced. Let ( [ setFileName = SMSetVariable("fileName";Get ( FileName )); setScriptName = SMSetVariable("scriptName"; "test"); setParam = SMSetVariable("Parameter"; "1") ]; EvaluateGroovy(" fmpro.performScript(fileName, scriptName, Parameter);¶return true;") ) but gives me the following error when being evaluated via IWP: com.prosc.fmkit.FmScriptException: Error 100: There is no file open named 'NMDDPC_OOG' Parameters: {fileName=NMDDPC_OO…

    • 5 replies
    • 2.2k views
  47. ATLANTA, GA - 7/30/2008 - ScriptMaster 2.01 is available with a new module, XML HTTP Post. This allows you to post any XML data to any HTTP or HTTPS URL. This is perfect for sending simple SOAP Web Service requests. Combined with the new ScriptMaster 2 ability to register modules as regular FileMaker functions, this makes FileMaker a perfect platform for Web Services - the registered module shows up like this in the FileMaker functions list: PostXMLData( url ; xml ) The demonstration included with the ScriptMaster development file shows an example of a SOAP web request to convert numbers to words.

    • 0 replies
    • 2.3k views
  48. Started by Jesse Barnum,

    ScriptMaster is a completely free, modular plugin for FileMaker that includes a variety of modules for doing file manipulation, URL downloads, XML Web Services, encoding / encryption, FileMaker script triggering, shell scripting, audio and video, email sending, and much more. In addition to the modules that come with ScriptMaster, you can even extend ScriptMaster by writing your own modules in Java! ScriptMaster 2.0 takes the power and flexibility of the original ScriptMaster, and adds a new function registration feature that lets you use ScriptMaster modules the same way that you would use regular FileMaker custom functions. Now using a module from the ScriptMaster…

    • 0 replies
    • 1.7k views
  49. Started by JamesBand,

    h = new GroovyHTTP('http://zip4.usps.com/zip4/zcl_0_results.jsp') h.setMethod('POST') h.setParam('address2', _addr2) h.setParam('address1', _addr1) h.setParam('city', _city) h.setParam('state', _state) h.setParam('visited', '1') h.setParam('pagenumber', '0') h.setParam('firmname', '') h.setParam('urbanization', '') h.setParam('zip5', '') h.open() h.write() h.read() def _html = h.getContent() h.close() //_html = _html.replaceAll(’(rn?)|n’, ‘ ‘) //match = _html =~ / match = [] _html.eachMatch( // ) {match << it[0]} return match //return _html // // * A Simple HTTP POST/GET Helper Class for Groovy // * // * @author Tony Landis …

    • 5 replies
    • 2.8k views
  50. Started by Ocean West,

    is it possible to prepend files add text or lines at the beginning of the file vs only append?

    • 3 replies
    • 2.2k views
  51. I am trying to get the Scriptmaker Plugin to work with the Web Publishing Engine using Filemaker Server 9 Advanced running on Leopard Server as described in the documents I have created the following Plugins directory: /Library/FileMaker Server/Web Publishin/publishing-engine/wpc/Plugins Next I copied the Scriptmaker Plugin to the above directory and set permissions on the directory and the plugin to include group +rwx. I have also set the owner and group of the folder and plugin to be fmserver:fmsadmin I set up a test Filemaker database that test whether the plugin is working via a calculation which calls the version function of the plugin, and display th…

    • 5 replies
    • 2.7k views
  52. Started by Jeparg,

    I added the sljc.jar file as a jar in the example database and tried to use the DataDirect sequelink jdbc driver with scriptmaster. I get a "Driver error" dialog box. The exact same groovy script works fine in standalone groovy. Any ideas?

    • 1 reply
    • 1.8k views
  53. Started by grantwood,

    Hello, Included with your ScriptMaster plugin is an examples database that contains functions for Base64 encoding/decoding. However, the encoding function inserts returns every 76 characters (as per the Base64 standard). Ideally, I need an encoding function that does *not* insert returns, and I found one in this library: Apache Commons Codec My questions revolve around implementing the above library (the library loads just fine). I'm not a Java programmer, but after browsing the library documentation, I came up with the following custom functions: 1) Base64.encode ( text ; chunk ) /** Converts any string into another string composed of only t…

    • 7 replies
    • 6.5k views
  54. Started by wallabri,

    Hi, I have just downloaded the latest Scriptmaster and the documentation "implies" that the plug-in will work with Server. It works great with FMP9. I installed it in the correct folder on the server and the FMS9V3 admin console recognised it and said it was installed and active. I tried a few of the examples with the file hosted by FMS9, on a machine without the plugin installed, hoping it would run from the server and I get plugin not installed. Does it work as a server plug-in and if so how ?

    • 4 replies
    • 3.1k views
  55. Started by MoleSoft,

    Is it possible to do this? I found a site (http://java.sun.com/products/javamail/FAQ.html#smtpauth) that says that this can be done by changing Transport.send(msg); into String protocol = "smtp"; props.put("mail." + protocol + ".auth", "true"); ... Transport t = session.getTransport(protocol); try { t.connect(username, password); t.sendMessage(msg, msg.getAllRecipients()); } finally { t.close(); } but when I try this I just get an error message about an unexpected token. Crispin

    • 1 reply
    • 2.2k views
  56. Started by Drew Boone,

    I just downloaded scriptmaster and was playing with the demo database, but I can't get any of the example scripts to work. I keep getting the following error java.lang.NoClassDefFoundError. I am running FMPA 9.0v3 on Mac OS X 10.5.2. TIA Drew

    • 2 replies
    • 2k views
  57. Started by grantwood,

    NOTE: This may not have anything to do with ScriptMaster. Hello, I have the following setup: FileMaker Advanced 9.0v3 Mac OS X 10.5.1 ScriptMaster 1.63 When trying to run a script I sometimes get the following errors on the console: iText library, if that helps. Here's the script I'm using: 2/11/08 9:49:53 PM [0x0-0x91a91a].com.filemaker.pro.advanced[18549] 3: *** HEY, I GOT A CALLBACK in thread -1607008416! *** 2/11/08 9:49:53 PM [0x0-0x91a91a].com.filemaker.pro.advanced[18549] 3: Got a lock, clearing keepRunLoopAlive 2/11/08 9:49:53 PM [0x0-0x91a91a].com.filemaker.pro.advanced[18549] 3: keepRunLoopAlive before stopping 0 2/11/08 9:49:53 PM […

  58. Started by grantwood,

    Hello, I'm using your ScriptMaster plugin (1.6.3), and I have a Java/Groovy problem that I cannot resolve, despite researching it online. Suppose I have the following code: fruits = apple~orange~banana~~~; fruitsArray = fruits.split("~"); Apparently, Java discards the trailing empty strings, which means referencing fruitsArray[4] produces an error (which often causes FileMaker to hang), so how I can preserve the trailing empty strings? Regards, Sean Mills

    • 2 replies
    • 3.1k views
  59. Started by mschiff6,

    Hi. I am brand new to Filemaker. I need to setup SMTP in XP for filemaker to send email of problems. Can I do this setup via Outlook or must it be done elsewhere. Thanks for any help

    • 9 replies
    • 3k views
  60. Started by Kranky,

    I am attempting to use the fmpro.evaluate() function inside a class. I get a 'groovy.lang.MissingPropertyException: No such property: fmpro for class:' error. Do i need to import a package for it to work?

    • 2 replies
    • 2.2k views
  61. Started by wallabri,

    Hi, I installed ScriptMaster (after seeing ref to it on talk) and see huge potential for it. I am trying to use on FM9A with Java 1.6.0 and most of the functions work but anything to do with email give me the error: "No object DCH for MIME type text/plain ..." Any ideas on what the problem is, I have filled in valid info for SMTP & other settings and definately have an active internet connection. Thanks for any help.

    • 19 replies
    • 5.5k views
  62. Started by JamesBand,

    Requirements: ScriptMaster for FMP (AWESOME!) Install Groovy and Reboot (yes you have to reboot, the ActiveXProxy won't work without it) (During setup ActiveXProxy is an option, make sure it installs with Groovy.) Recommended: Install Advanced Security for Outlook Should be in a startup script: (if this runs more than once, it stops working!) SMLoadJar ( "file://C:/Program Files/Groovy/lib/scriptom-1.2.jar" ) & SMLoadJar ( "file://C:/Program Files/Groovy/lib/jacob.jar" ) Returns the Number of Contacts, followed by the Type and Name of each Item: EvaluateGroovy ( " import org.codehaus.groovy.scriptom.ActiveXProxy; // C…

    • 0 replies
    • 2.4k views
  63. Started by JamesBand,

    LoadJARs( _paths; _results ) Let( [_path = LeftValues ( _paths; 1 ); _rem = RightValues ( _paths; ValueCount ( _paths ) - 1 )]; If( _path = ""; _results; LoadJARs( _rem; _results & SMLoadJar( _path ) & "¶" )) ) So, just use a Global field to store the fullpaths of the JARs you want loaded and this little function will load them and return the results in the same order. This function uses Values, so use a ¶ delimited value list instead of a repeating field. LoadJARs( fieldname; "" ) -- where fieldname is the name of your field Hope it's useful! ;)

    • 0 replies
    • 1.8k views
  64. Started by JamesBand,

    EvaluateGroovy( " import org.codehaus.groovy.scriptom.ActiveXProxy; //import java.io.File; def word = new ActiveXProxy("Word.Application"); word.Documents.New; return word.Documents.Count; " ) I am calling the above from a Dialog Box, the return is blank. Any ideas?

    • 7 replies
    • 3.7k views
  65. Started by Jesse Barnum,

    ScriptMaster is a free java plugin from 360Works (http://www.360works.com/scriptmaster) which allows you to execute Java code from within FileMaker Pro. This forum is the official discussion area for discussing how to use ScriptMaster. It is also where we will post notices of new utilities (ready-made script snippets) for use with ScriptMaster. Please use this forum to find out about the newest utilities and features of ScriptMaster; comment on existing utilities; and provide feedback and suggestions for ways in which we can improve ScriptMaster. There is an RSS feed available with this forum

    • 5 replies
    • 4.1k views
  66. Started by JamesBand,

    I currently work with FMPro 7 and MS Word. I have to create reports in Word with info from Filemaker. Since my reports are quite lengthy and require alot of script iterations and calculations (I break DDE everytime), I was wondering, does this plugin do any cleanup before control goes back to the user?

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.