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 Perren,

    Hi again 360Works staff! Is there any particular reason / justification for putting the SM log files in a folder in the user's My Documents folder AND in a folder on the root system drive on the Windows platform? At first I never even noticed because it's in the proper place on Mac OS (buried in ~/Library/), but one of my users called me today concerned that this folder magically "appeared" and maybe we had caught a virus or whatever... Obviously it doesn't affect the usage of SM, but some folks apparently are picky as to what gets put in their My Docs folder. Don't suppose you could change this behavior in your next release to store logs in %USERPRO…

    • 2 replies
    • 1.6k views
  2. Started by CaptainSkol,

    i just can't get some command lines to work. for example: osascript -e 'tell application "Finder" to activate' it works in the terminal, but scriptmaster produces a syntax error : unknown token. i tried various escape sequences but all failed. can someone please help me out here ? thanks

    • 2 replies
    • 1.3k views
  3. Started by Aurigo,

    Hello folks I am relatively new to groovy or JavaScript and therefore I got stuck with a situation in a coding and need some advice or help: The script shown below works quite fine (eMail-sending with multiple mail addresses and attachments). In the middle, there's a section starting with the comment "//add multipart...". There I would like to set the correct mail multipart type, but somehow the plugin does not accept this and the if-statement is not even entered. Could anybody "enlighten" me what error there must be in my code? Thanks a lot for your appreciated help! Martin ---Parameters--- {from= Newsletter|[email protected], to=Martin …

    • 0 replies
    • 1.5k views
  4. Started by Cabinetman,

    After days of attempts I'd just like to scream... LOL 1. I have been able to do a lot using other peoples examples and amending but I don't know Java. 2. I'm sure straight Java is the best way to go but if I can get this right I can at least speed up SOME of my work while I try to figure out/learn the rest. I've downloaded and played with the java libraries and the scatchpad but to no avail.... I currently use Scriptmaster to adjust prices with a crude method of opening a FFox window and uploading a tab file thru that. I also have one adapted to generate the HMAC signature to request product data although I didn't write it. I have tried and t…

    • 3 replies
    • 2.5k views
  5. Started by john renfrew,

    I am trying to accelerate my learning by looking at extending some of the examples as well as writing my own After doing some swingbuilder learning today I wanted to make sure I could capture the returns from the dialog. I have amended it so that it will take multiple button values in a list as: // DynamicMessage ( fm_Title, fm_Message, fm_Buttons // creates a dialog with html body and buttons from a return sep list // captures exit values as false and ESC is -1 (int) import groovy.swing.SwingBuilder swing = new SwingBuilder() buttons = fm_Buttons.split('n') def dialog = swing.optionPane( message:fm_Message, options:(buttons) ) dialog.create…

  6. Started by Perren,

    Oh amazing 360Works staff - what version of Groovy is in 3.33 ScriptMaster? Regards, --Perren PS - Best plugin of the decade in my opinion. The only one I've decided to actually use in my production application - it just works, Mac OS, Windows, Citrix, whatever. Love it!

    • 2 replies
    • 1.6k views
  7. Started by Noél Dubau,

    Hello, In scriptmaster I found the script DeleteFileOrFolder ; I can't find how to pass jokers to delete all files in the folder without deleting the folder itself. Indeed I saw that there's also a script to create folder, but it would be great if there's a possibility to perform that in only one command. Thanks for your help ! Noël

    • 3 replies
    • 1.6k views
  8. Hello! I'm absolutely new to programming Java or Groovy. That's why I ask for your support. I'd like to set a different port in an authenticated mail than the one that is set by default. Can anybode give me some directions how to program that in Groovy for the ScriptMaster Plugin? I have tryed to add a new parameter portNumber and then to replace the "-1" with that paramter but constantly get errors. // Send with authentication Transport transport = Session.getDefaultInstance(props).getTransport("smtp"); int port = -1; // use the default port transport.connect(smtpHost, port, username, password); transport.sendMessage(message, message.getAllRecipien…

    • 1 reply
    • 1.3k views
  9. Started by yaacovCR,

    Hi, I am curious as to why the log file for ScriptMaster's installation on the server seems to be placed in one of my users' My Documents360 Plugin Logs folder instead of in the FileMaker ServerLogs folder. Is this possibly because I have both FileMaker Pro and FileMaker Server installed on the same machine? Could this be a cause of random crashes of 360Works's ScriptMaster, which happens on my machine, if the user's My Documents folder was unexpectedly deleted, which happens on my machine with Citrix Users? Warm regards, Yaacov Please help!

    • 6 replies
    • 3k views
  10. Started by john renfrew,

    Is is possible to pass a parameter to the script you are performing using fmpro.performScript?? If so, how?

    • 3 replies
    • 1.6k views
  11. I have just begun working with Script Master. So far all I have done has been to send an HTML email (which worked great!). I have a question to see if script master can solve through Java, or if someone knows of another way to achieve the results I am looking for. People using my database will be importing picture profiles for each record from a camera. [color:red]These files are quite large and I am looking to have the image size smaller so that the database will respond better over the network. I have been searching for a solution that would allow me to change the resolution of a picture imported into FileMaker. Those using my filemaker database are very low-t…

    • 2 replies
    • 2.6k views
  12. Generally speaking, RunShellScript works very well. However, in some instances, it will hang. Today I managed to find out that it will hang if the data returned is large. For instance: RunShellScript("cat small_file") is ok, but RunShellScript("cat larger_file") is not

    • 6 replies
    • 1.8k views
  13. Started by andries,

    Hi we are experiencing some problems with the ScriptMaster, and installing the new ScriptMaster plugin or updating the Java environment seems to work. The problems is easily identifiable as FileMaker simply does not launch anymore. You see the startup screen, and while loading ScriptMaster it simply crashes FileMaker. However... I am really wondering if there is a way to control this. We have customers calling us all the time, and the solution is always the same: update Java or install the new plugin for ScriptMaster (depends when we installed the soft on their machines)... What is causing this problem? So we are able to give a good description of…

    • 2 replies
    • 1.5k views
  14. Started by bcooney,

    I'm dizzy after reading java forum posts. I just need a new ScriptMaster script that adds a blank pdf page to an existing pdf. If anyone has such a ScriptMaster script, I would be very grateful if you'd share.

    • 19 replies
    • 3.7k views
  15. Started by Christopher D Bailey,

    The following script seems to work fine in 'groovyConsole' (i.e. separate from FileMaker), but gives me an error when I'm in FileMaker with ScriptMaster. I'm wondering if there's a .jar I need to load or something. def rooraa = ' "what up"rn"how, is it going?"rn"yay pop" ' def Listoo = [] rooraa.eachLine{ Listoo << it } Listoo In FM I get the error: groovy.lang.MissingMethodException: No signature of method: java.lang.String.eachLine() is applicable for argument types: (Script1$_run_closure1) values: {Script1$_run_closure1@4c55ff} This snippet is part of something bigger I was doing, but I isolated the problem I was having for…

  16. Started by Bob Schwenkler,

    Hi All, I'm having a really tough time getting the send email with authentication script to work in Scriptmaster sending SMTP to Gmail. I don't have any prior experience with javamail or groovy, so that's making it really tough to figure out. The problem I'm stuck at is issuing a start tls command. I've inserted this line: props.setProperty("mail.smtp.starttls.enable","true"); with no success. I started going back and trying to reconstruct a script based off of the send email (html formatted) script, and I just don't know enough about groovy or javamail to make this work at this time. It seems like there have got to be other folks who've made this …

  17. Started by Noél Dubau,

    Hello I'm using FusionCharts Free to include charts in a FileMaker 9 application. So I have to create 2 files, an html one an an xml one, the last containing datas from my database. To create the xml file I use the following code Define variable($xml_code;" " Then, in a second time I use the SMaster function to write that file as data.xml //This simple version uses utf-8 //new File( filePath ).write( textToWrite ); //This more advanced version allows you to specify the character encoding OutputStreamWriter writer = new OutputStreamWriter( new FileOutputStream( filePath ), "utf-8" ); writer.write( textToWrite ); …

    • 2 replies
    • 1.5k views
  18. Hello, As you sell a plugin to draw charts, I think that there is no script avalaible to do that for free in Scriptmaster ? But perhaps someone has comitted such a file ? Hope, hope, hope ! Noêl

    • 3 replies
    • 1.7k views
  19. Started by dafechtor,

    Two naive questions from a new user of ScriptMaster Plug-in for Filemaker: 1) Why can't I "register" most of the modules? They'll all "evaluate" correctly, but only a few modules allow me to register them. For the others (including the StockQuotePrice module that I'm particularly interested in), I get a pop-up message box saying "You cannot register this function, because it will not compile: java.lang.illegalArgumentException: Invalid parameter name ": parameter names can only contain alphanumeric characters and underscores". FYI, I'm running FileMaker Pro 7 on an iMac G5 under OS 10.5.8 ("Leopard"), with Java Runtime Environment 1.5.0_22. 2) Why won't Scri…

    • 1 reply
    • 2.2k views
  20. In the past the PopUpMenu function works OK in FMPA10. After Update to MacOSX 10.6 there is a problem to make this function work in german localized and now also in the english Version of FMPA10 and also 11. By implementing in a script there is an error as shown in the enclosed screenshot. Has anyone any idea to make this function run properly? Thanks in advance HB

    • 2 replies
    • 1.3k views
  21. Started by mcstar,

    Hi All, I am using the WriteToFile function in ScriptMaster v3.33 with FM 10 Adv on Windows. I want to create a plain ASCII text file with CR/LF as the end of line characters. First I put my text field into a local variable $text and replace all CR with CR/LF using: Substitute( $text; [Char( 11); ""]; [ Char( 13); Char( 13) & Char (10)] ) Then I use WriteToFile to create the file. I have tried several character encodings when I register the WriteToFile function (ASCII, utf-8) but they replace my CR/LF with LF. I tried to specify MS-DOS but that encoding is not supported. Does anyone know what character encoding I can use? Or a simple tr…

    • 4 replies
    • 6k views
  22. Started by mcstar,

    Hi All, What are the supported character encodings for the WriteToFile function? I had success with utf-8 and ascii, but get errors with DOS or MS-DOS. Are there other valid options? Thanks - Mark

  23. Hi, I am are trying to push data from File-Maker Pro 9 (On a Mac-OS X) to Microsoft SQL Server 2008. I want to encrypt this. I want to enable SSL (Secure Socket Layer) for the connection. I have ZERO knowledge of Java, JDBC drivers, and Plugins, so I may be asking some things wrongly. Pls excuse me for that. I bought 360 Works Plugin (http://www.360works.com/plugins/JDBCPLUG/documentation.html#jdbcOpenDatabase) and Microsoft JDBC drivers (sqljdbc4.jar). By default in the JDBC driver the encryption is set as False. In the Microsoft-JDBC driver documentation, they mentioned the following to enable SSL from a Java application: String connectionUrl…

      • Like
    • 6 replies
    • 10.9k views
  24. Started by okcpenguin,

    Hey guys, I'm trying to use the Read File Contents function to work by looking in a folder besides the tmp folder. The function works in the example, using the tmp/ScriptMasterExample.txt file but when I try to substitute my own path to a file it won't work. If I place a test file in the tmp folder and have it find it there it works. When ever I change it something like: /Macintosh HD/Users/okcpenguin/Desktop/list.txt I get this error message: Same thing happens if I try to run it in my live file. If I place the file in the tmp folder its perfect, otherwise I get "ERROR" And I'm staring at the file on my desktop, so I know its …

  25. Started by Noél Dubau,

    In the ScriptMaster Sample file there is a script giving the size of a file. Has someome done, and is it possible to get the size of a folder with all its sub-folders and files ? Thanks Noël

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

    HI, I stumbled into a problem when I write text to a file. Irrespective of which format I choose for the ascii file, when I open it with Notepad everything comes out on one line. With Word/Wordpad it looks fine. Whether it is FileMaker, ScriptMaker og me that is the problem I don't know but can anyone help me out? The application that is supposed to import the file requires it to be correct. If I fix it manually in Notepad it works fine, but of course that is not feasible for an automated interface. The text I am exporting looks something like this: Set Variable [$text_export; Value:$text_export & ...stuffdeleted... & "","",0,"",0¶¶"] Theoreti…

    • 5 replies
    • 2k views
  27. Started by Krioni,

    I have a machine running Windows XP SP3. ScriptMaster 3.1 works without a problem on it. However, when it let it auto-update to ScriptMaster 3.33, the plugin is downloaded into the correct folder, but appears to be failing. Restarting FileMaker doesn't help. When I go to the plugin preferences in FileMaker and click on it, no version displays. When I then quit FileMaker and check the 360works log file, it has many errors. The log is included below. Checking the value of SMVersion returns "?" even though the plugin is in the correct folder (was put there by 360works AutoUpdate file) and the plugin is listed (and checked on) in FileMaker's Preferences -> Plugins. C…

    • 4 replies
    • 1.9k views
  28. Started by andries,

    I am playing around with the function CallScriptImmediately. When I place this function as an auto-enter in my database definition, it is really really slow, even causes FileMaker to crash sometimes. This issue is only occurs in FM 11, not in FM 10 on a Mac OS X 10.5. When running it from the dataviewer there is no problem (except it is called many times -) ).

    • 2 replies
    • 1.4k views
  29. Started by Ward,

    My initial test of GetURLasText was a great success. But I quickly discovered a problem with all IMDb.com URLs -- "java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.imdb.com/" A little Googling turned up a hint about what's causing this error -- IMDb may be using browser detection to determine the page request is not coming from a real browser. Web page fetching works fine in New Millennium's MediaManager plug-in, which I've been using with FileMaker 10. Unfortunately, MediaManager doesn't work in FileMaker 11, and there's no word when the new version will be released. -- Ward

  30. Started by John.M,

    Hello, I'm using the scriptmaster command line function to send files via lpr to a remote printer. The script works fine except after sending so many files, my script will hang for 75-90 seconds, then the script will continue. The correlation seems to be with the amount of data being sent to the printer which is roughly 11 MB. The script will consistently hang on the same files when the process is run, and the amount of data is consistently ±11MB. Any ideas what might be causing this? Thanks, John

    • 2 replies
    • 1.6k views
  31. Started by Gazza01,

    Hi, The Scriptmaster file from 360 works seems a great tool but I am having trouble though with this one. I registered it by the copy and paste into the solution startup script with 5 options. However, some of the scripts that I want to use it on in the solution only have 4 options(ie more than the "show custom dialogue" script step allows (3). Whenever I enter 4 parameters, I get an error message "There are too few parameters in this function". If I set one of the parameters to "" (empty), there is an error message when the script runs. Could I ask please, how can I have a variable number (3 4 or 5) of option buttons in this function? Thank you Gary P

    • 2 replies
    • 1.3k views
  32. Wanted to get some input/ideas on something I have been kicking around in my brain since finding ScriptMaster and beginning the journey of learning Java/Groovy. Can SriptMaster/Groovy be used to create an FM database that is Object-relational? This is just strait brain spewing, but if you code your own classes and package them as jars for use with ScriptMaster could you leverage java/groovy classes in a way that would allow FileMaker tables to become more like persistent objects and thereby avoid some of the pitfalls that accompany traditional relational db data normalization? Can we bring the concept of inheritance to FileMaker? Example...Leads/Prosp…

    • 3 replies
    • 1.9k views
  33. Started by Noél Dubau,

    Hello, Has someone an idea to use SendMail to send to multiple recipients ; I tried to put ; or , between adresses, but unsuccessfully ! Thanks for your interest Noël

    • 6 replies
    • 3.6k views
  34. Started by kaostika,

    Hi, Is there a way in the gradient example to put 2 side by side? Oreste

    • 1 reply
    • 1.5k views
  35. Started by ferdly,

    Hi All, So I was poking around in the amazing ScriptMaster file by 360Works when I noticed something interesting. Now these folks are too smart to do anything by accident, so I believe that this must be a "Tool Tip" that I have never heard of before. In their "Register all selected functions" script just after they Adjust Window, and just before they Freeze Script they Pause for Zero Seconds. What does that do? The closest thing I know of is that when I want multiple "Beeps" (when a user is about to do something dangerous) I need to put 1 second pauses between to make them distinct. So what do our friends at 360Works gain by Pausing for Zero …

    • 2 replies
    • 1.8k views
  36. Started by owangolama,

    I'm trying to grab the text from a url that requires a password to view. Of course, if I use the GetURLasText function I simply get the page that asks for the password. I tried setting up an adjacent WebViewer in which the username and password are entered, but that doesn't seem to allow the GetURLasText function to reach the desired page. Is there a way to do this? Thanks in advance for any help or advice!

    • 4 replies
    • 2k views
  37. Started by ChiTownRunnr,

    I've been trying (unsuccesfully so far) to get the FedEx functions to work with my FedEx production information. I'm able to get an accurate response with the demo information but when I enter my own, I only get a "0" returned as the result. Any help would be appreciated.

  38. Started by Noél Dubau,

    Hello, I had posted my problem from an old topic ; I think it's better to do a particular discussion. I use the last version of ScriptMaster on an iMac under 10.5.8. When I use the sample ScripMaster file I can use the SendMail function. From the button Register a the bottom of the screen I get the model where I can copy the script. I create a test file with a script on_open to register that function by setting in a variable the copy... And after running the script the senmail function is not avalaible in External functions ; Looking in the FileMaker data viewer only a word is returned for that variable ERROR ! I don't see where is my error ! I someone ccoul…

  39. Started by Isis,

    I worked up some scripts that call some Scriptmaster java functions that have been registered with RegisterGroovy. One is mail with authentication and the other is MD5 hash. My scripts were fully debugged and were able to send out email with MD5 hash value of text when run on FM Pro 8.5 connected to database being served by FM Server 10. When i asked the admin of the FM serving service to add Scriptmaster 3.0 they did and then i had them set up an automatic execution at 1am every day of the same script i can run manually. This is where the trouble starts. 1. The MD5 hash returns a '?' not a value. 2. The email function says it was successful but the mail never…

    • 9 replies
    • 2.3k views
  40. Hello, I'm a french user ; using the send mail modules I see that french accentuated characters are replaced by question marks ! How can I proceed to avoid that mistake ? Thanks for your answer. Noël

    • 17 replies
    • 3.1k views
  41. I have created two modules in Scriptmaster. One that checks my email inbox and returns a count of messages. The other retrieves a specific message number from my inbox. These functions work well inside of scriptmaster and work fine in my solution as long as I register them via scriptmaster. However whenever I try to use the registergroovy function they both register fine and return "1" but when I try to use the functions they return an error. How can it work when scriptmaster registers it but not with registergroovy? I know that could just use the register on startup to register the functions via scriptmaster, but i want to use these functions server side so tha…

  42. Started by andries,

    Everytime I use the standard Java For loop ( for ( i = 0 ; i < 10 ; i++ ) ) I cannot run the script and it blocks on this line. The message error is "unexpected token "=" @ line X column Y". Is it not possible to use the standard Java For loop, and do we need to use the groovy alternative? Kind regards Andries Heylen edit: nevermind, the problem was located somewhere else... my mistake...

    • 2 replies
    • 1.5k views
  43. Started by RvH,

    I have not been succesful in sending mails to multiple recipients using a field containing a comma separated list. I tried modifying the script by adding .parse(to, true) to InternetAddress in msg.setRecipient, but to no avail. Any help/hints would be much appreciated.

    • 4 replies
    • 3.4k views
  44. This is the hard.software context: crash report FMP 10 on OSX10.4.11 Mac G5 2.66 Dual Core Intel Xeon java version "1.5.0_19" Java 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306) Java HotSpot Client VM (build 1.5.0_19-138, mixed mode, sharing) I load several of the Scriptmaker functions as a startup script. I do get two times a warning panel with he following text: "java.lang.illegalArgumentException: Invalid parameter name ":parameter names can only contain alphanumeric characters and underscores" all the startup Scriptmakers functionsI use have been put in a set of varibales in my startup script; each of these codes I …

    • 1 reply
    • 1.4k views
  45. Just testing several of the useful scripts of 360... and once again I bump into this bad habit of using these incorrect terms: (left, top, right, bottom) x and y position left top = correct but right bottom should better say, or at least ad a note: the size of the rectangle to be captured starting from the left/top position See this bad habit already for 25 years!!! A simple way to grab a screen shot of a specified rectangle of your screen. Pass in the coordinates (left, top, right, bottom) of the area that you want to take a picture of. You can use the FileMaker Get(ScreenWidth) and Get(ScreenHeight) to get the entire screen area.

  46. Started by patate,

    Hi 360Works team! I tried the new plugin version, 3.301, on Mac and PC. When a script doesn't return anything or there is a process error, I get 2 windows explaining the error. Before the update, there was no window and the returned value was either null or "ERROR". If I set the SetErrorCapture flag, will I get rid of the error dialog? There is nothing in the documentation about that flag. How can I use it? With the FMPRO object? Thanks in advance

  47. Started by ianmuir,

    The job no on my database is generated by Filemaker. This is no problem. My boss wants to use the same job no on 3 or 4 records. I can put this in manually., trouble is it seems to carry information like calculations from the original record. by changing the job no all works. is there any way we can do this? Thanks

    • 1 reply
    • 1.2k views
  48. Started by andries,

    I am trying to implement the Aspirin framework to send SMTP messages. However I always get the bas version number in .class file error. Apparently this means that I am running an older version of Java then in which the Aspirin.jar file is compiled. This actually surprises me as my current Java version is really up to date ( I am working on Mac OS X ). I have following Java Environment installed: J2SE 5.0 Does anyone have a clue? or got already into this problem?

    • 11 replies
    • 3.1k views
  49. Started by ferdly,

    Hi All, This is my first post, so be gentle -). I am extremely excited about ScriptMaster and learning Groovy to write my own and customize what 360 offers 'out of the box'. I looked (as I could) for a similar post, but I didn't see any. So I thought I would ask if anyone else was having the experience that when I call a ScriptMaster function (maybe it is the registering not the calling... chicken-egg?) that when I shut down FileMaker that I cannot open FileMaker again immediately. When I investigate the Task Manager that FileMaker is "hanging" there as a Process. Of course, this isn't much data, but that is why I am posting, since the aggregate experience on…

  50. I'm looking for a ScriptMaster module (or modification of a current one) to read a PDF and write the first page to a container field in Filemaker. Similar to GetFileAsContainer but with the PDF to JPG/PNG translation in the middle. Any thoughts? Thanks, wbr

    • 1 reply
    • 2.3k views
  51. Started by Savery,

    I've written a simple shell script command to join two files together using cat. From the command line I would write something like: cat fileA.txt >> fileB.txt My shell command, which compiles, is: RegisterGroovy( "AddToFile( addfrom ; addto )" ; "String[] cmd = ["cat", addfrom, ">>", addto];¶ Process process = Runtime.getRuntime().exec( cmd );¶ String processResult = process.getInputStream().getText();¶ process.waitFor();¶ exitValue = process.exitValue();¶ return processResult;" ) However, this merely returns the contents of each file and does not add the contents of fileA.txt to fileB.txt. Any thoughts?

    • 0 replies
    • 1.8k views
  52. Started by Nanigi,

    This function simply returns '0' when i use it with the FedEx supplied Test account. Am I doing something wrong? What is the output suppose to look like? Is there any documentation for this funciton? Thanks in Advance Byron

    • 6 replies
    • 2.8k views
  53. Started by bcooney,

    Hello 360works! I'm researching the use of Scriptmaster and iText. Since it is nice to know that it CAN be done, even before you know HOW, can I use iText and Scriptmaster to: 1. Combine multiple pdfs, and have the resulting combined pdf paginated Page X of Y in a footer. 2. When I combine the PDFs, always start the next PDF on an even page. The client would like to xerox the final pdf front/back. (Seems I'll need to know the page count) 3. Add a running Header to the combined pdf using data from FM. 4. Get the final size of the pdf, and perhaps store that in a field, so as to warn a user if it's huge and will take forever to download and possibly won't fi…

    • 4 replies
    • 3.4k views
  54. I have solution that uses Scriptmaster. I have had a few Mac users reporting crashes when opening the solution. I have not been able to resolve the problem for them. I have received crash reports from 2 of the users and they both mention "JNI_CreateJavaVM" . It appears that it may have something to do with Java. Any suggestions? Thanks. Crash Report: Runtime Identifier: com.filemaker.client.runtime Version: 10.0.3 (10.0.3) Code Type: X86 (Native) Parent Process: launchd [89] Interval Since Last Report: 9118 sec Crashes Since Last Report: 1 Per-App Interval Since Last Report: 6 sec Per-App Crashes…

    • 2 replies
    • 1.9k views
  55. Started by dommail,

    Apparently I'm doing something wrong but I just can't seem to get a script to trigger. Script name: Active Trigger Set Variable ($Trigger;Value:CallScriptatScheduledTime (filename;"Active Trigger";"mm:dd:yyyy h:mm:ss" When I put the function in a field of it's own, I get a 1 result. I'm trying to evaluate scheduled items against the current time to promote them automatically to active status. Any help would be appreciated.

    • 3 replies
    • 2k views
  56. Started by jax4work,

    Hi, I installed the Scriptmaster plug-in on a Mac and a PC (thanks 360Works for the free plug-in). I registered the StockQuoteSymbol and added a couple of scripts to my file. The problem is that while it works fine on my Mac, it doesn't work on the PC. I keep getting the message that the Scriptmaster plug-in is not installed. I have checked the forums here, so already deleted all of the files on the PC and redownloaded them. Still not working. I've checked for the plug-in in FileMaker under Preferences and it is there and checked. I can also see the external scripts in FileMaker. Any ideas what might be wrong with the PC version. When I run the script, it…

    • 1 reply
    • 1.2k views
  57. I read that you can use iText in ScriptMaster to manipulate a PDF file. I was wondering if someone can give me a script to find out the pagecount of a PDF file. Like the GetFileSize (filePath) but instead of returning the File Size, returns the Page Count. I'm not even sure how to import the iText.jar into ScriptMaster. I added it using the Add button on ScriptMaster, but do I need to add it once? Or do I have to also open it in my other solution? Thanks.

    • 9 replies
    • 4.6k views
  58. I am trying to enable the ScriptMaster plugin on Windows Server 2003, FMS10, but getting Error 474 - Plug-in failed to load. Any idea how to fix this? Thank you, Ed McPike

    • 2 replies
    • 3.4k views
  59. Started by NancyAdelman,

    I've downloaded and installed the latest version of the ScriptMaster plug-in. It doesn't show up in the Preferences dialog box and the functions are not available to me in the calculation area. I tried this with different versions of FileMaker (10, 9, 8), and downloaded the plug-in twice to test with 2 different downloads. This is Windows XP, SP 3. Any help, quickly, would be appreciated. Thank you. Nancy

  60. Started by kaostika,

    Hi, I am confused about the screen shot function. I cant seem to figure out where the coordinates are for something. I want to take a screen shot of a webviewer on a layout. Where can I get the coordinates of the viewer. The problem I have is that it works on osx but not windows.

    • 1 reply
    • 1.7k views
  61. Hello, I am so amazed at the possibilities offered by Scriptmaster that I ask the following question: would there be a possibility of driving a Twain scanner for an acquisition of image? We can dream, no? Thanks for your answers, even negative ! Regards Noël

    • 1 reply
    • 2.1k views
  62. Started by ZorDesign,

    I'm looking for a way to: 1) Show a dialog box to the user allowing for the selection of a location to create a folder. This is just like SelectFile but with a folder instead of a file. Maybe the user should be allowed to name the folder but this is not crucial. 2) Dump a number of files into that folder. This is done by FileMaker exports and I already have that part up and running. 3) Zip the folder with all included files. It may be safe to assume that there are no subfolders within the folder. I seem to have read someplace that the plugin should be able to zip folders but even in the most recent 3.22 version I only seem to be able to do single file…

    • 3 replies
    • 2.3k views
  63. Started by jsubiros,

    Hello, I was trying to register that without scriptmaster database fp7, in my solution directly, by [color:red]registergroovy,... and cannot do it. It doesn't appear on external functions : . Do I have to call [color:orange]jar. library first On the other hand, For example, I did it with "selectfile" and was running good, but "sendEmail...." not. why? : : Thanks a lot...

      • Like
    • 13 replies
    • 2.5k views
  64. Started by Gregory Jones,

    Is there a way to have a scheduled server script that would call GetURLasText and load the return in a table that I would access later? I am running FM10 Server on Windows Server. When I execute the script currently I get no return value.

  65. Started by Ocean West,

    is there a more definitive list off all allowable parameters for sending email? When sending thru SM the email received is seen as spam cause there is missing header information like USER, Also would like to know if you can set the priority too? Thanks SD

  66. Started by carey262,

    Im trying to make the Quick Time Frame Capture module work in a cross platform environment. Works great on a Mac, but I can not get it to work on a PC. I saw a previous posting, but no one really commented. Are there any tricks to making this module work on a PC? (Java and QTP are installed on the PC)

  67. Started by ralvy,

    I register ScriptMaster's CheckWhetherFileExists in my solution's startup script this way: If [ RegisterGroovy( "CheckWhetherFileExists( pathToFile )" ; "new File( pathToFile ).exists()" ) = "ERROR" ] do a Custom Dialog that tells the user to contact me about an error loading ScriptMaster. I never see an error this way. However, not infrequently, when the file I want to detect indeed exists in the proper subfolder where the solution is running, CheckWhetherFileExists fails to see it. I find the only way to get it to work in such a situation is to exit and restart Filemaker and my solution. Even exiting my solution isn't enough. The line that fails to see the…

    • 4 replies
    • 2.1k views
  68. Started by metroart,

    Anyone have SM code to modify SelectFile so that a parameter can be be passed with a folder path, so that the file dialog opens that folder rather than whatever the previous path was?

  69. Started by glenneg,

    In my testApp I'm using the getFedexRates function and getting the following error msg. I'm using my own Fedex testing accounts and keys. It works with the scriptmaster app but not in my own. Thanks for any help!! java.util.MissingResourceException: Can't find bundle for base name javax.xml.bind.Messages, locale en_US Parameters: {} ---Script--- This is how i'm calling the function. Let ([ _accountNumber = $accountNumber ; _meterNumber = $meterNumber ; _accountKey = $accountKey ; _accountPassword = $accountPassword ; _originCity = "Anacortes" ; _originCountry = "US" ; …

  70. Started by wonfuji,

    Hi This all started a week or so ago when I was reading the "Appending to PDF from Container Field" on a Tech Talk thread and a client asked about something that resonated with that thread. The client has a db table with a container field that references a number of promotional/training PDFs on their server. They would like to eMail from Filemaker (v10 on Macs) to a client and attach a single PDF file that contains merged/appended PDFs that they feel would be useful for the client. We can get all the PDF names into a simple portal. They can then check off the PDFs that they require. With 20 or more PDF choices there are a lot of possibilities. We can …

  71. Started by johnmaclulich,

    I have implemented a client solution that requires downloading linked files from remote servers. The "Get URL as Container part2" function worked perfectly. However, if the downloading file takes anything but a few moments to populate the container in the client's database, it looks for all intents and purposes as if FM has frozen: there is no indication of progress of the download at all. The best I can manage is to temporarily go to a layout with a message on it, telling the user that the download is in progress, and return when the download is complete. However this gives no indication at all of progress. I figure it is probably not too difficult to ad…

    • 1 reply
    • 1.5k views
  72. Hi there, I'm running a virtualized Windows 2003 Server with FileMaker 9 Advanced and the scriptmaster plugin active on the IWP/plugins directory. All functions work correctly under Filemaker Pro environment but none of them can actually compile under IWP. I checked with SMVersion and it correctly returns 2.03 in both Pro environment and Instant Web Publishing. Evaluating all groovy expressions in a calculated field however returns "ERROR" but with SMlasterror I only get a question mark as output. I'm attaching the IWP log file of the plugin: (C++ Sun Oct 05 11:34:40 2008) Writing to log file at C:Documents and SettingsDefault UserDocumenti360…

  73. Hey folks, I'm trying to use Scriptmaster's GetURLAsText command to do POSTs to a web site. The site wants me to authenticate first, at which point it builds a cookie on my hard drive. That seems to work fine when I do the posts from a web browser - I do the authenticate post, followed by the info request and all is well. The trouble comes when I use GetURLAsText. The authenticate post works fine - but wherever the authentication cookie got set up, doesn't seem to be available for the second POST. Any idea how to make authentication cookies work with GetURLAsText? (I could do my posts with the web viewer, but it uses safari, which this site disprefe…

    • 1 reply
    • 1.5k views
  74. Started by TASC,

    Hi, I am trying to test the zip file functionality and am getting the error missing property exception (see attachment for details). I made sure I have the latest Java Virtual Machine installed. I am not familiar with Java or Groovy. Any suggestions on what I am doing wrong? Thanks, Constance

    • 3 replies
    • 1.6k views
  75. Started by Coriolan_66,

    Just bought your chart plugin. I just need very simple things like a bar chart to display boys and girls in a classrrom. Can someone make it simple for me to understand? I guess you'll need to create a calculation field in Classes table, something like that Set Variable [ $result = Let( debug = pieChartCreate( "Gender distribution" ) and pieChartSetDataPoint( "boys" ; Class::Class_total boys ) and pieChartSetDataPoint( "girls" ; Class::Class_total girls ); pieChartShowGraphic( 360; 360 ) ) Please make it simple for me to understand, without error messagens and stuff. Thanks Test_Chart.zip

    • 6 replies
    • 2.1k views
  76. Started by brian rich,

    I'm working in Filemaker 9, so can't use the OnRecordLoad trigger in FMP10. I'd like to use Scriptmaster's Call Script Immediately module to run a script when a record loads, (so I can select a particular tab on a tab object depending on a field value on the record) I can't see where to define the appropriate event condition for the Call Script Immediately module. Am I missing something or is it not possible to select the event that you want the script to trigger on? Thanks Brian

  77. Started by Nick Stockbridge,

    Hi Sorry this is such a basic stupid question but I have searched and can't find - how do you actually run a ScriptMaster script? For example, I have registered the Send HTML formatted email function, so I now have the following in my external functions: SendEmailHTMLFormatted( from ; to ; subject ; htmlBody ; smtpHost ) ... and all I have to do is make sure my parameters are set correctly. But how do I actually send the email?! In the ScriptMaster demo file I click the "Run Script" button but what do I do in my own FileMaker solution? I apologise if this is obvious but I have missed this basic requirement somewhere. Many thanks. Nick

  78. Started by Nicholas Orr,

    Does anyone have any sample SM code for deleting files and creating folders? Thanks, Nick

    • 4 replies
    • 2.6k views
  79. Started by sprynmd,

    I'm trying to use CheckWhetherFileExists on both a Mac and a PC to access a Windows server volume. I can't figure out the path name format to get it to look outside the primary disk volume. I can find folders and files on my main volume just fine, but nowhere else. ...Mike

    • 4 replies
    • 2.1k views
  80. Started by Bill Doerrfeld,

    1) When the popup menu is clicked on, the entire screen dims slightly until the popup value is selected. Is there a way to prevent the dimming? 2) Once the popup menu is "popped up" if the use clicks outside of the menu a null value is sent and the popup is closed. This is quite annoying. Nothing should be sent. Is there a way around this?

  81. Started by Josh Ormond,

    Has anyone successfully posted to Twitter using the Post Data to URL function in ScriptMaster? Any tips? I apparently am not getting how to use that script.

  82. Started by Josh Ormond,

    When I try to register a function, I get the following compile error. I get something similar if I just run the script. I tried installing the plugin using the AutoUpdate, and manual installation. OS: Windows XP SP3 FMP: 10 Advanced Any ideas? I didn't get this error with 3.0.

  83. Started by seraph_nyc,

    Hi, I am trying to use the drawing example provided in the file. I have two concerns. I want to put in a single picture at a specified location. So I need the function to look like this. picture ( url, x, y) How do I do this. Oreste

  84. Started by Oticon,

    Hey, I can not get QuickTime Frame Capture to work on my Windows XP, is it because I do not use QuickTime Pro? or my webcam (Logitech QuickCam Pro 5000) does not support QuickTime? Here is the error message I get from script Master: quicktime.std.StdQTException[QTJava:7.6.0g],-9405=couldntGetRequiredComponent,QT.vers:7628000 Regards Morten

    • 1 reply
    • 2.6k views
  85. I'm somewhat new to ScriptMaster. Can the example for the Formatted Dialog With Dynamic Buttons be modified to add popup menus, radio buttons, checkbox sets, or even fields for entry? I'd like to be able to ask the user for data along with OK / Cancel buttons. Is there another way to accomplish this? Thanks, Hal CampSoftware.com

    • 2 replies
    • 1.7k views
  86. Script Master does not show up in my list of plugins. Here are the steps I have taken: Download fresh copy Copied plugin out of mac folder and into: Server HD/Library/FileMaker Server/Database Server/Extentions I then ran sudo chmod 777 360Works_ScriptMaster.fmplugin sudo chown fmserver 360Works_ScriptMaster.fmplugin sudo chgrp fmsadmin 360Works_ScriptMaster.fmplugin The plugin does not show up in the list of available plugins on server admin. Any suggestions? Thanks, Drew

    • 3 replies
    • 1.7k views
  87. Started by fabriceN,

    Hi, does anyone know if ScriptMaster would be able to communicate with FileMaker via the ExecuteSQL interface, as plug-ins such as myFMbutler DoScript or 24U Toolbox do ? Thanks,

    • 3 replies
    • 2.6k views
  88. Started by webax,

    hello sorry, my english is bad ... I want to send an email without authentification, but without succes I have configured IIS and SMTP I use this code import javax.mail.*; import javax.mail.internet.*; Properties props = new Properties(); props.setProperty("mail.smtp.host", smtpHost); MimeMessage msg = new MimeMessage(Session.getDefaultInstance(props)); Multipart content = new MimeMultipart(); MimeBodyPart bodyPart = new MimeBodyPart(); bodyPart.setText(body); content.addBodyPart(bodyPart); msg.setContent(content); msg.setSubject(subject); msg.setFrom(new InternetAddress(from)); msg.setRecipient(Message.RecipientType.TO, new Inter…

    • 3 replies
    • 2.6k views
  89. Started by RvH,

    I am trying out the various functions provided by ScriptMaster 3 using the method of copying the scripts into variables of the start-up script of the test file. This works fine with ListAllFilesInDirectory and GetFileModificationDate, also after restarting the test file on its own (i.e. without ScriptMaster). However this does not apply to the SendEmail function. As soon as I restart FileMaker, the latter function disappears. When debugging the start-up script, the variable for this function shows to return "error" instead of "1" as for the other functions. The SendEmail capability returns as soon as I open the ScriptMaster file again. Can someone help me and tell me wh…

    • 2 replies
    • 1.6k views
  90. How can you test to see if SM is installed?

  91. Started by Booyah,

    Hello and thanks for a great plugin! I have ScriptMaster loaded and working correctly. I would like to call a script that opens a custom dialog box based upon the time of day but I am lost in how to make this happen. Please forgive my "Newbie" ignorance. Any help would be appreciated.

    • 15 replies
    • 3.4k views
  92. Started by moicpit,

    Hi everybody. I've got a problem using ScriptMaster to execute a Dos script. As a fact, only several commands are working. For exemple, when I am trying "ping 127.0.0.1" with the "Run Shell Script" exemple from the ScriptMaster.fp7 file, everything is going great. But, when I try a "dir C:", everything goes wrong and I've got this error : And with more info : Is somebody's got the same problem ? Please, tell me. I just want to know if the problem comes from my Windows or from ScriptMaster. Of course, if you have a solution to this problem, you'll be very kind to tell me. And sorry for my english. I'm on Windows XP, with F…

    • 3 replies
    • 1.9k views
  93. Started by Jesse Barnum,

    I'm flattered and amazed to see the support that ScriptMaster has been receiving from the FileMaker community! I wanted to post two ScriptMaster resources that I've come across recently. One is a video tutorial from Matt Petrowsky, "Learning & Using ScriptMaster", posted at http://www.filemakermagazine.com/videos/learning-using-scriptmaster.html The other is a very nicely formatted PDF version of the ScriptMaster manual suitable for hard copy printing, from Daniel Marr: http://demo.360works.com/ScriptMaster_User_Guide.pdf Thanks everybody!

    • 0 replies
    • 1.5k views
  94. Started by Angelo Luchi,

    If anyone was ever looking to get the computer name of the client rather than the host, here is the groovy to do that: import java.util.*; import java.lang.*; import java.net.*; try{ String computername = InetAddress.getLocalHost().getHostName(); return(computername); }catch (Exception e){ return("Exception caught ="+e.getMessage()); } Enjoy! Angelo Luchi The Drooling Dog, LLC. www.thedroolingdog.com 1-877-810-8378

    • 3 replies
    • 5.5k views
  95. Please excuse the simple question ... Can anyone tell me the syntax for sending a single email to more than one "To" receipient at a time? SM_v3.0. Thanks. DSW

    • 2 replies
    • 1.8k views
  96. Started by atlzbest,

    First off, This product is amazing and has amazing potential! What i'm trying to do is alter the cropImage function so it pulls the image from a container, image has already been uploaded, resize it and put it back in the container. is SM able to retrieve data from containers? i havent seen any sample doing that? thanks atlz

    • 2 replies
    • 4.2k views
  97. Started by grubber,

    Hi Very green with scriptmaster (and groovy), though been meaning to try it out for a while. very very cool. Am looking to get the track length of a bunch of wav files into fields in Filemaker. Can someone point me in the right direction. Do I need a quicktime/audio jar library? Thanks Olly XP /FM10.2 Adv

    • 2 replies
    • 1.6k views
  98. Started by Smef,

    360Works Releases ScriptMaster 3, Newly Updated Version of Free Multifunctional FileMaker Plug-In Latest version of complimentary plug-in contains re-designed user interface, simplified integration, and dynamic text, container and number crunching modules ATLANTA – 360Works, a leading FileMaker product developer and innovator, today released ScriptMaster 3, the latest version of its popular free FileMaker plug-in. The newly updated general purpose, modular plug-in enables developers to effortlessly manipulate files, perform AES level encrypt and decrypt functions, utilize robust URL and network utilities, and incorporate Web Services, shell scripting and event/s…

    • 0 replies
    • 1.5k views
  99. Hello, I am attempting to install 360Works ScriptMaster on my Mac but am getting error messages. The messages I am getting are: The plugin 360Works_ScriptMaster is not installed on your computer, and is not available for auto update from the server. Also The ScriptMaster Plugin is not installed. Drag it to your FileMaker Extensions folder, quit filemaker, and restart. I have dragged the ScriptMaster plugin to my FileMaker Extensions folder, quit filemaker and restarted however I still get the same not installed error messages. I have checked my system requirements and I have the latest version of Mac OS/X and I did a check for software updates and was not prompted …

    • 2 replies
    • 1.8k views
  100. I am trying to figure out how to extend SM SendEmail to also contain CC & BCC options?

    • 2 replies
    • 2.6k 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.