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

    Sorry if this has been asked. I've searched but haven't found anything on point. I'm trying to use a variety of SM modules, but none of them will recognize a path other than something on my local HD. FMP itself works fine to get to system files on the network, and can follow paths using the syntax "filemac:/blah/blah/filename.pdf" Using, for example, the "choose folder" module in SM, the dialog box won't let me navigate to anything that's not on my local HD. We are a Mac shop. We've got FMP 11 Advanced. Scriptmaster.fp7 is loaded up on our FMP server and is opened when a user starts FM. (I used the "second method" to make sure I had all the chosen module…

    • 2 replies
    • 1.1k views
  2. Started by Tim Anderson,

    I have created a plugin using ScriptMaster Advanced that I want to use on the server but it is not working. To be sure it is registered I ran a registration script using the admin console that also entered the result in a field so that I can verify that it is registered, but I am getting no success. The function I am using is the ExecuteSQL function. it works fine if I have the same plugin installed on the FileMaker client, the server is set to use plugins and it is enabled in the admin console. What am I missing? Thanks

  3. Started by Multigraphic,

    I created a plugin folder and I added the extension runtime files created with FileMaker. I send the run time to a customer but does not work. Plug-ins created with advanced Sm should be validated with license key and user?

    • 2 replies
    • 1k views
  4. Has anyone else experienced problems with generated plugins that have jar files attached? When I generated a plugin with an external jar file dependancy (e.g. SendEmail) the plugin causes FileMaker Pro to crash on start up. This is only in Windows Environment, it works fine on the Mac. Has anyone experienced this problem? Help would be very much appreciated at this stage as we are very much behind and regretting changiing from using the free version at this stage.

    • 1 reply
    • 1.1k views
  5. Started by matato,

    Filemaker hangs and produces the spinning beachball when I attempt to use - curl http://www.website.com/folder1/folder2 in 360's RunShellScript Here's the script - Set Field [Web Page Info; RunShellScript (Curl Script 1)] Curl Script 1 = "curl " & Web Address Field Should I be adding something to the curl command? I can do it in a shell just fine, it just doesn't work for filemaker. I'm using Filemaker 10 Advanced. Thanks!

    • 0 replies
    • 1k views
  6. Started by Multigraphic,

    Hello, my name is Lorenzo. This ismy first time with scriptmaster and I don't write english... Can you help me with this error? An error occurred: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 553 sorry, you need to supply the correct username and password for SMTP-AUTH (#5.7.1) Before today I had send more mail with no problem. Thank you

  7. Started by SmartEnergy,

    I am trying to post data to a url with multiple fields The post also has a login and password. I think the post string should look like this: http://smartenergy.vicihost.com/vicidial/non_agent_api.php? function=add_lead& vendor_lead_code=SEABOG007& phone_number=1234567890& first_name=JOSE& last_name=LOERA& address1=229 LA PAZ DR& city=IMPERIAL&state=CA& postal_code=92251& country_code=USA& [email protected]& comments=sdsdssd& (homeowner?)=YES& (monthlyElecricBill?)=500& user=4002& pass=andresoro& source=ceeintegrity& list_id=5001& campaign …

  8. Started by Opotoc,

    Hey Guys, I'm looking for an UNzip function in Scriptmaster. I've searched the web for hours but wasn't able to find anything. Unzipping of single files would be fine for me. Best, Alexander

  9. is there an example list of properly formatted examples of sql statements that can be used? thanks.

  10. Started by ericire,

    Good evening I have a system ( Vista) and Filemaker installed on the partition D of the hard disk. And I noticed that the function "SMVersion" verified the version of SM on the C disk and not on the D disk.

    • 2 replies
    • 1.1k views
  11. Started by Wim,

    I am trying to use the send emial with attachment script and just get a returned value of "ERROR". I am able to run the script using the scriptmaster file to successfully send email. I also run the RegisterGroovy step right before this step and get a result of "1" - which I think means it worked. Here is my code: Set Variable[$test; Value:SendEmailWithAuthentication( "[email protected]" ; " [email protected]" ; "Send Mail Test" ; "Test Body" ; "" ; "smtp.******.com" ;" wim@*****.com" ;"*****" )] Any obviuos mistakes? I checked SMLastError and its says javax.mail.AuthenticationFailedException but I have no idea what that means.

    • 2 replies
    • 1.2k views
  12. Started by jptrue,

    Is it possible to have a FileMaker calculation field, which utilizes a ScriptMaster External Function, store the resulting value for indexing? I seem to be unable to make this happen. Any help would be greatly appreciated. Thanks, Jeff

  13. Started by Infomatics,

    Hi, I am using the Get URL as Text function to get the XML for the following URL http://maps.googleapis.com/maps/api/geocode/xml?address=Gilles+van+Ledenberchstraat+27,1052TX,+Amsterdam,+Nederland&sensor=false the strange thing is that if I use this URL in a webview or browser I get the geocoding for the street_address, but if I use the ScriptMaster plugin I get the coding for the postal_code! What is going wrong here? Best regards, Ruben van den Boogaard Infomatics Software

    • 13 replies
    • 2.2k views
  14. The following function works in the Scriptmaster sample file new File( fm_Path ).exists() only it does not produce the right output is if it registered as a function It does if changed to return new File( fm_Path ).exists() Is here a reason why the 'return' needs to be explicitly used when it is not when the code is run in the groovy console nor is it needed according to the Groovy documentation??

  15. Started by xavier782,

    Do you know any list or repository of jar files compatible with this plugin? Or, can you recommend any 3rd party Jar files that works well? I've read something about FTP, MS SQL or Mail, but, is there anything else? Thanks

  16. Hi All, I am trying to connect to MS SQL server from FM-9 using 360 works plug-in. I am using MS sqljdbc4.jar in a global container field. I tested the connection from my mac and it got connected, but when I put it on server the driver does not get loaded from all the clients. I am thinking it is related to behavior of globals on the server. I followed the following to procedure: 1) Un-served the FM files. 2) Copied to my mac. 3) Created the global field and inserted the sqljdbc4.jar file. 4) Copied back on to the server and served the files. Is there any thing that I am missing ?? thanks, venkat vallala

  17. Hello, Suppose a scriptmaster with in entry two fields of a FileMaker database. I want to do some actions only if both of thesse fields are not empty. I'm at level 0 and don't find the correct syntax to use : if field1 and field2 are not empty my command endif Thanks for the helper ! Noêl

  18. Started by john renfrew,

    Would anyone know why the following code works correctly on Windows but not on Mac??? The CORRECT answer for today (24/11/2010) is 47, not 48 as returned on macOS, as according to ISO8601 Same on 10.5.8 and 10.6.4 // DKSwebWeek ( fm_date ) // 11_11_24 JR // v1.1 // returns filenames for current week of diary // also prev && end to insert into html import java.text.SimpleDateFormat def lPad = {it -> st = '00' + it.toString() return st.substring(st.length()-2, st.length()) } dfm = new SimpleDateFormat("dd/MM/yyyy") cal=Calendar.getInstance() cal.setTime( dfm.parse(fm_date) ) now = cal.get(Calendar.WEEK_OF_YEAR) cal.add(Calend…

  19. I want to use the Get URL as Container ( url ) command to save an image into a container field but I find that after several loops the command might get stuck and never time out, this will cause filemaker to lockup and I have to force quit the program, this corrupted my database file also. I have a feeling that if a timeout feature were implemented that would fix the problem can code be added to this function to allow for that?

  20. Started by brian rich,

    I'm experimenting with the ScriptMaster SelectFile module so users can store links to documents within Filemaker; this works very well. I'm registering the module using the third option suggested, which is to use a set variable step to execute the necessary registration code. However, when I do this, the database which runs the script on startup hangs, sometimes for up to 10 seconds before it responds again. Is there any way of speeding this up, or is that the necessary compilation time for the module? FWIW, the database is hosted on a Filemaker 8.5 server running of a Windows Server 2003, and I'm running FMP Advanced 11.0v2 on a Windows 7 Professional PC (2.…

    • 5 replies
    • 2.4k views
  21. Started by Noél Dubau,

    Hello, I use a script which encodes a query (for books on Amazon) and builds the url to reach after signing it ; it brings back either an xml file, either an html one in a filemaker webviewer, files I have to parse to get various informations of the book. That runs fine -and I must thank F. Seipel who helped me in that project- but a new problem occurs if the computer is behind a proxy nothing is in return ! What parameters are necessary to include in the url to pass through the proxy, and how ? Excuse my english which is not very pure ! Noël

  22. Started by John Armstrong,

    Plugin generation stopped working (I am an advanced user/paid user). Using a fresh install of ScriptMaster (4.02) (fresh ScriptMaster.fp7 and the included plugin installed in FMP and licensed) when I select one of the bundled scripts (Send Email for example) and try to generate the plugin it pretends to do it and then freezes up with a spinning beachball. I have to forcequit. Anyone have any ideas? Getting behind schedule now because of this :(

    • 1 reply
    • 1.1k views
  23. Started by john renfrew,

    Is there an easy way to add a FileFilter to the Choose Folder example which I have now turned into a Choose File example, preferably by taking a single or list of file endings (for example to just select all PDF files)?? THe examples I have tried to apply all seem to be trying to extend the class and as a result nothing I do seems to bring me anything other than exceptions

  24. I'm getting this when trying to load a large file from a web server into a text element using GetURLasText. I am not familiar with Java at all - is there a way of increasing the size of heap space globally on OSX? Any assistance appreciated.

  25. Started by Katie McGettrick,

    I recently purchased ScriptMaster Advanced version. I was very impressed initially, I've been able to generate the plugin and it works well. However, I have noticed that if I need to make a change to one of the methods in my plugin, rebuild it and place it in the Extensions folder, all my functions are now in my scripts and I now need to go into each set variable and re-select the method which is really not good. Has anyone got any ideas on what I should be doing to avoid this problem?

    • 1 reply
    • 1.2k views
  26. Hello Filemaker Version: Filemaker Pro Adv 11 v.02 Something strange is going on, and my skills do not alow me to understand whats going on. Replace the "Zip File" function in the Scriptmaster.fp7 file with the function below. Then add a second container field into the Demo table. do "Insert File" on this container. Choose the any file. This new container is your "src" parameter. Run the function, and it works perfectly. The function save the contants of the container as a temporary file, and returns its path. Problem: When I register this function at startup with my own filemaker file, then it can ONLY be used when I export(once per fi…

  27. Started by john renfrew,

    The Groovy documentation says that you do not need to explicitly return from executed code I have just been troubleshooting why the following code // XMLinject ( fm_xml ; fm_key ; fm_new ) // 10_07_21 JR // v1.1 // replace value at key from XML value import groovy.xml.StreamingMarkupBuilder import groovy.xml.XmlUtil root = new XmlSlurper().parseText(fm_xml) root.setProperty(fm_key, fm_new) result = XmlUtil.serialize(new StreamingMarkupBuilder().bind { mkp.yield root }) //return XmlUtil.serialize(new StreamingMarkupBuilder().bind { mkp.yield root }) works with either of the last two lines enables in the Scriptmaster file, but when I registe…

  28. Started by oldyetnew,

    If using ScriptMaster advanced and creating a plug-in will the plug-in: - have the 3rd party jar (email one in my case) inside of it so I don't have to register the jars in my script? - work as a server side plug-in? - require all the clients that use it to have java? Thanks

    • 2 replies
    • 1.2k views
  29. Started by 360ScriptNoob,

    I wanted to use a FileMaker script to register my license of the ScriptMaster plugin rather than using: Edit > Preferences > Plug-Ins > 360Works > Configure... Other plug-ins I have installed use a function to register, I have searched and am unable to find a function for ScriptMaster do they have one?

  30. According to the release notes of the latest Java for Mac OS X update, Apple is now depreciating their port of the JVM. Java for Mac OS X 10.6 update 3 and 10.5 update 8 release notes Apple's port is the officially recommended one . Does anybody know of alternate ports of the JVM? My reading of the above suggests that Mac OS X 10.7 (coming out next summer) won't be guaranteed to ship with a JVM and we can't depend on the old port of the JVM to run on it. Does this spell gloom and doom for ScriptMaster on the Mac in 10.7 and beyond?

  31. Started by akappy,

    I've been running a script that imports orders from our client and posts a response in the format: http://company.stage.program.com/updateOrderXml.asp?xml=12345RECEIVED BY PRINTER11/4/2010 9:30:06 AM > I need to run the script server-side, so I want to use scriptmaster to post the URL. We've registered the PostDataToUrl and the result of our script using the function is only "Error" Not having a "Key" or "Value", I formatted the setfield to: PostDataToURL( "" ; "" ; URLField ) Any suggestions? Andy

  32. Started by ProZachJ,

    In my solution I use the script master function to check if a file exist on a layout as conditional formatting to change the color of text based on the condition of the files system. This was working fine on my win xp systems but on my new windows 7 system it causes a serious loading loop in the layout.

  33. Started by Colleen,

    I'm attempting to convert an image stored in a container field to Base64 encoded text. I've tried using csm_base64_Encode with the container field as the input; however, it appears to me that rather than passing the image in the container I'm simply passing the text result (ie: image name) How do I pass the image itself? Many thanks!! Colleen

  34. Started by baumm,

    I have a Filemaker client/robot machine which in the past we've automated using Lingon, shell scripts, and Filemaker opener files. I'm trying to replace this with a simple local Filemaker file ("Automation") using ScriptMaster and a series of scripts internal to "Automation" which then call scripts in other files (originally I thought I could just call scripts in other files directly but have found that to be unreliable). Note that because "Call Script At Scheduled Time" calls at a Scheduled *Date* and Time, I need to re-setup my series of script calls every day by running through the table. But I'm wondering the following: 1) How do a clear a schedule…

    • 9 replies
    • 3.3k views
  35. Started by mx4px,

    Once I've got a jar loaded, is there a way to list its classes, etc. so I know what I can do with it?

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

    Can anyone confirm that it is possible to get the Run Shell Script module to work on Windows, and if so, what is the magic? I am using the latest version of ScriptMaster, 4.0.2, and Filemaker Pro 11 Advanced on WinXP, and trying to run very simple commands like PATH or DIR does not work at all even though it does work in cmd.exe. I managed to get it to work on Mac OS X, although I found it to need quotes, but nothing works on Windows for me. In fact, if I try to run the command "cmd.exe" it locks up FmPro. Thanks in advance. The error message is: java.io.IOException: Cannot run program "PATH": CreateProcess error=2, The system cannot find the file specified Par…

    • 19 replies
    • 7.8k views
  37. Started by brosiusad,

    I have a user reporting that they just updated to Java 1.6.0_22 on their OSX 10.6 machine and now SuperContainer is showing just the Java "coffee cup". I can't access their system directly (it's behind a VPN), so I can't test. And I have not yet updated my OSX machine so I can do my own local testing (mostly b/c of this potential issue). Can anybody confirm or deny that the 1.6.0_22 update breaks SC on OSX? Thanks, Artie

    • 2 replies
    • 2.1k views
  38. Started by Wim,

    I am running into an error when I use this function. I am trying to get a word count on a paragraph that is written in html. I have a field that looks like this: word count = WordCount(RemoveHTMLTags(HTML Text)) I am using php to display this number on a webpage. When I display the field word count on a layout in Filemaker, I get a good number. However, whenever I display the same field in a php page, it shows 0. The wired thing is if I change the formula to word count = WordCount(html text) and change nothing else it works fine...although the answer is wrong because of all the extra HTML code. This is my first attempt to use any ScriptMa…

  39. Started by John.M,

    Is there a function to get the file modification time that I'm not seeing? If it doesn't exist, is there a way to get it added as a function? Thanks, John

    • 3 replies
    • 1.2k views
  40. Started by john renfrew,

    Not far off deploying a solution which uses a lot of Groovy Scripts, so thought the best thing to do would be to create a custom plugin with everything they need.... you know the score by now. Only thing is, and I asked ESPECIALLY about this at Devcon, it is true that all your functions keep the names that are the same as the script steps where you created them BUT BUT BUT Now I have 487 script steps that have missing functions BECAUSE even though the names are the same it doesn't think it is the same function AT ALL. This is not made clear in the documentation, nor was the answer I was given in person wholly correct either. That's a disappointing was…

    • 3 replies
    • 1.5k views
  41. Started by mleering,

    Hello all; Since mid-last week, FileMaker Server has been failing to activate 360 Works ScriptMaster. FMS is running on Win Server 2003(Hyper V Virtual Server). I believe at that point in time it was running v3.3 of the plugin. In case anything had happened to corrupt the plugin file itself, I've upgraded to the newest version 4.02, and am receiving the same results. The plugin appears on the list of available plugins within FMS, but generates this error upon trying to activate it: Event Type: Error Event Source: FileMaker Server 11 Event Category: None Event ID: 474 Date: 10/4/2010 Time: 3:58:54 PM User: N/A Computer: FMDEV Descripti…

    • 0 replies
    • 1.4k views
  42. Started by IT Heroes,

    Hi, I have been trying to make a plugin that launches a Java window and then keeps it open. Then this Java window and filemaker can interoperate (filemaker can modify the window by calling scripts and accessing the window stored in a static variable and the Java Window can use the fmpro object to work with filemaker). It seems to generally work ok, but it is unstable and filemaker crashes after a little while. Are there any rules to using the fmpro object? Should this be only called while performing a script in filemaker and not stored and used?. I noticed all the provided scripts that use a GUI pause FM and wait for it to exit rather than keeping on runnin…

    • 0 replies
    • 1.2k views
  43. [color:gray](Sorry, if this has been covered already, but if so I was not able to find it.) I'm running ScriptMaster on my server. I have added an admin password. But the guest access is still left open. The guest is read only. Will it be safe enough to leave guest on? It makes interaction with ScriptMaster a bit more convenient. But I don't feel clever enough to outrule that some smart guy might be able to take advantage of some of the java to open some backdoor. I know that the java is probably not being activated on the server, rather on the client, but I wouldn't be able to rule out some funky trick.

    • 1 reply
    • 1.1k views
  44. Started by john renfrew,

    My Scriptmaster4 file seems to have an issue... I have patiently imported and rebuilt all my scripts so I can re-do my RegisterGroovy steps using the gui=false etc etc etc BUT when I go and copy function to the clipboard it works only the first time, and then does not empty the clipboard to load a second or third. Any idea why?: ** Further to above, not only is is not clearing the clipboard but it is only copying the Groovy code not the *copyable* version ready to paste *** How about changing the last part of the field definition for copyable to be: Substitute ( Quote ( script & " ; isGui = " & If ( Is GUI function ; "true" ; "fal…

    • 5 replies
    • 1.8k views
  45. Started by john renfrew,

    Sorry guys. Great work but I am not getting stuff from the documentation. Can you tell me about how SMRegister ( licenseKey; registeredTo ) is supposed to work, where I use it and what it does. Does it need to be internet connected? What about machines that are completely stand-alone??

  46. Started by burningpony,

    I have built a proof of concept for a script that scans a folder for files using scriptmaster ListAllFilesRecursivly, sort files based upon filename using (MoveOrRename), and create a record in a Documents table including a reference in a container. Here is the issue. The Script runs fine processing about 1500 files in about 3 or 5 minutes. But upon completion Filemaker is nearly locked up. It hangs even when trying to get to a drop menu like "Format". I have the script flush the cache periodically through the loop. I am kinda at a loss since the script runs at a decent speed yet makes me have to quit and relaunch the application upon completion. A…

  47. Started by Calle Kabo,

    Hi, I've done a couple of modules in scriptmaster and registered them using RegisterGroovy in a startup script. It works great on my mac and on another mac. But it doesn't work on windows. The scripts that are using the functions are showing instead of the function name. RegisterGroovy returns 1 and SMLastError is empty. Anybody have any idea what's wrong?

    • 10 replies
    • 2k views
  48. Hi there, I'm writing a ScriptMaster-Plugin to upload data from a database to an FTP-Server. FTP stuff is clear but I'm having trouble with more basic stuff. I want to perform a search on a table and get the result in an array. By looking through the examples I figured out how to access FM's calculation engine but I still don't know how to access the database and get records to deal with. Any help, hint or example would be appreciated. Regards, Lumpi23

    • 11 replies
    • 2.6k views
  49. Started by john renfrew,

    Just read the change log and discovered something I missed. Any clues on how to use convertPathToFileMaker method???

  50. Started by gabradshaw,

    Hi I have a word file that i would like to replace text in but i am new to scribe and word I have a bookmark in the word file called Text156 that i want to replace with what is currently contained in a field but i get the error "No occurrences of 'Text156' were found in the document. Try using a shorter placeholder string, as longer strings with spaces and other characters may not be recognizable due to extra metadata." my script contains the line ScribeDocSubstitute( "Text156"; PR_Invoice::PR number current ) I have tried many different combinations but i am now convinced i do not have a clue what i am doing or if i even can do what i want. i a…

  51. Started by Daniel Shanahan,

    Can ScriptMaster move files between directories? For instance, two directories exist, one called "In" and the other called "Out". In a workflow process, one person manually adds files to the "In" folder. A scheduled script from FileMaker Server would take those files and move them to the "Out" folder (folders would be on the same machine as FM Server). Moreover, the "In" folder would be completely empty, but the "Out" folder would be cumulative, so files would be added to the directory's existing contents. I see there is a "DeleteFileOrFolder" and a "CreateFolder", so I imagine the "In" folder could simply get deleted and recreated. That would empty out the …

    • 29 replies
    • 9.6k views
  52. Started by IT Heroes,

    Hi, I wanted to run an ExecuteSQL in a background thread because it takes a while to run and freezes up the UI. Is there any issues if I just run it in a new thread? (eg. new Thread(){run(){fmpro.executeSql("UPDATE...");}}.run(); Is the fmpro object shared? and is it threadsafe if it is shared?, or should I try and synchronise on a static field? Cheers, Ryan

  53. Started by mcyrulik,

    When generating my own custom plugin, is there a way to change the name that you have to register the generated plugin with? Currently I noticed that it uses the name that the scriptmaster plugin is registered under. Thanks, ~Mark

  54. Limitations on GeturlasText command, It's fantastic and now that I can scrape my websites and geocode my addresses, problem is I have built quite a table of them. Are there some limitations I should be aware of, ie quantity of calls for geocoding, number of urls called in a day?? There may not be and it could be me dealing with ISP limitations, in which case so be it. However with the command itself or google geocodes/mapping stuff, anything? I find after awhile I get nothing but 0 or consistent ERRORS even when the addresses are good. Thankyou

    • 4 replies
    • 1.7k views
  55. Started by pracau,

    I work generally on the Mac. Here Scriptmaster and the plugin I have generated works brilliantly. But when I restart fmp after moving the Win plugin to Extensions the plugin has not been initialised. And when I check the box to try and configure it Filemaker crashes. The Windows plugin was generated on the Mac, because I found that you had to be online which is a state the borrowed Windows box doesn't want to be in. Maybe that's the issue? Has anyone any ideas on what I am doing wrong? I have the latest ScripMaster and FMP versions and the Win operating system is XP. I just checked to see if the registered modules that formed the basis of the plugin were …

  56. Started by Bill Doerrfeld,

    I haven't looked closely at the XML libraries with SM, but, I didn't see any mention of Xpath. Is there a way to use an existing jar file with SM for Xpath support? Anyone gone this route yet with pointers on exactly what to do?

  57. Hi, I was wondering why SMLoadJar and SMRegisterGroovy aren't available in the generated plugin?. I can't register the ScriptMaster plugin on a client machine with a script, but I can register my own generated plugin. So to get the advanced functions eg. fmpro.executeSql() I need to use my generated plugin. But I would like to be able to register scripts at runtime and also load jar files at runtime like I can with the base ScriptMaster plugin. This would save having to re-deploy an updated plugin every time I change something. I am thinking it is probably issues with distribution... If my own plugin allows loading code dynamically and registering custom scripts…

  58. Started by pracau,

    Don't know if you can help with this. I am trying to use the shell to covert an .rtf file to .pdf the script is: cupsfilter /Volumes/Macintosh HD/Users/pracau/Desktop/CHCAD3A Activity.rtf>>/Volumes/Macintosh HD/Users/pracau/Desktop/CHCAD3A Activity.pdf It does the job when I use the terminal but I get an Unrecognised MIME error when I use RunShellScript. The problem may well be syntaxical. Any ideas. _______________ edit The error message I get is: java.lang.Exception: cupsfilter: Unable to determine MIME type of "/Volumes/Macintosh HD/Users/pracau/Desktop/CHCAD3A Activity.rtf>>/Volumes/Macintosh HD/Users/pracau/Desktop/CHCAD3A Act…

  59. Hi, I've generated my own plugin. But I can't get it to show up in filemaker. The Edit -> Preferences -> Plugins only lists The 360 Works Scriptmaster plugin, not my custom one. I've copied the plugin to the extensions folder. Am I doing something stupid? Running FM 10 Advanced on Win XP. Thanks, Ryan

    • 2 replies
    • 1.3k views
  60. Started by andries,

    Hi I am trying to build an HTTP listener, so it would be possible to remotely trigger a filemaker script. I was thinking in the direction of the ServerSocket class. However the methodg .accept(), enables this socket to start listening for incoming calls, but completely blocks FileMaker. I guess because the ScriptMaster script never finishes, this is completely according to the Java documentation which states: So... my question is: is there a way so we can make a scriptmaster script run in the background? Or is this not possible using ScriptMaster?

  61. I just created my first custom ScriptMaster module -- a clone of PostDataToURL that posts two key/value pairs. What's the most practical way to transfer my module to the next release of ScriptMaster? I found the discussion of SMLoadJar and SMCreatePlugin in the User Guide. I'm hoping for something that doesn't need the Advanced Edition of ScriptMaster. -- Ward

  62. Started by IT Heroes,

    Hi, I was hoping to build a complex query using the executeSql function. However I am finding even a really simple query is taking a long time to execute. I have a table "Job Tracking" with approx 36000 records. Executing SELECT COUNT(*) FROM "Job Tracking" takes about 5 seconds. To load the entire table up in a FM table view is instant. If I increase the complexity of the query it takes even longer!. Any reason why it would be so slow? Or have I got something wrong? Just running on a local filemaker database using filemaker pro 10 advanced Thanks, Ryan

    • 5 replies
    • 3.5k views
  63. Started by Hal_S,

    A client of mine has been using scriptmaster with an iSight camera for product shots. Since updating to the latest version of Java, Filemaker crashes when they try to capture an image. FileMaker 10, OS X 10.6.3, Java SE6 1.6.0_20. Anyone know if reverting to an earlier version of Java solve this problem?

  64. Started by wintergreen,

    It looks like the runshellscript function won't allow printing of utf-8 characters, just ascii ones. Am I correct? Is there any way around this?

  65. The following code is part of a solution that I am close to finishing. It appears to have stopped working properly under the 4.02 plugin while it works perfectly in both Groovy Console 1.7 and SM3.34 This will go to a folder ready to select a PDf to return the name so it can be imported into a container, BUT if you click on the button 75percent of the time it locks up FM with a beachball of death.. This doesn't happen if you double click the file chosen FM11.2 on Mac 10.6.4, only your plugin.. Any ideas??? def fm_Path = "a valid path" def fm_Message = "Pick a FILE" def fm_Button = "Get PDF" def fm_FileType = "p" def fm_Select = "f" // Choos…

  66. Started by wintergreen,

    Tested this in the ScriptMaster.fp7 file and the results are the same. System is OS 10.6.4 Execute RunShellScript module with this shellScript: system_profiler -detailLevel mini This causes filemaker to hang This worked perfectly with the previous version of SM.

  67. Started by Seppel,

    Hi. Is it possible to create a new Word file with the Scribe Plugin? Best Seppel

  68. I Had the issue with Scriptmaster 3 and though I had hopes, Scriptmaster 4, including 4.0.2 still freezes FMP 11v2. I've set and example file to reproduce it, It's just an import then processed with a replace. It's inside a timing script and it's repeated 4 times and then displays a custom dialog. I think in fact that it's the Custom dialog that triggers the problem, or more-so that the switching from a non gui function to a GUI one. I think script master doing intensive GUI less functions and then resuming back to the GUI causes problems. See the attached file, just run the tim script. After it completes and you click ok in the dialog FMP freezes and CPU goes …

  69. Started by bcooney,

    Hello 360, I've used Matt P's catpdf function for about a year to concatenate pdf's, and strip any bookmarks. Matt puts the Register step in a custom function. Now that I've updated SM and Java, this function no longer works. I've tried simply registering the function in an Open script and bypassing the cf, no joy. All the functions Val wrote for us are working just fine. : So, where do I begin to see what Matt did differently that broke with the upgrade? (I don't want to post the code, as it requires a subscription to ISO Mag.)

    • 1 reply
    • 2.1k views
  70. Started by john renfrew,

    Is there any documentation about what is in this so it can be tested to see if it works?: Duh. Worked it out.... It loads all the Scriptmaster scripts in one go but with csm_ prefix...

    • 0 replies
    • 1.1k views
  71. Started by Savery,

    I've written a little shell script which essentially takes a backup of a FM database (from passed arguments). The last step is to scp the ZIPd file back to our remote server. Testing the script from the command line works a treat. We get a lovely fresh copy of the database archived and sent to our remote server using scp. However, if I use 360Works SM to call this shell script with the same parameters it fails when attempting the scp command. Note: I am calling the FileMaker script, which uses SM to call the shell script, as a scheduled task in FileMaker Server Advanced 10. There is a very good reason for this, and this means that, unfortunately, this cannot be …

    • 9 replies
    • 3.1k views
  72. Started by Noél Dubau,

    Hello, I'm trying to attach a file to a SendMailWithAttachment but I can't in my database and even from your sample. The error is always relative to the path javax.mail.MessagingException: IOException while sending message; nested exception is: At first I tried then and many other ways including /Volumes... The file is really present ! Can you help me ? Noël

    • 4 replies
    • 2.7k views
  73. Started by Ken Shick,

    New to this but got the function registered. I want to test if a file exists so I am using a FM scrip step SetField( MyDB::TextField ; CheckWhetherFileExists( "/Users/Dekstop/outlook.pst" )] I get a zero in the TextField regardless of the path I use. I am using Win7 and FMProAdv11.v2

    • 4 replies
    • 1.8k views
  74. Hi there, I just downloaded ScriptMaster plugin (which is awesome, i can replace all of my plugins with this one and create easily another, but really working ones : It works on my another computer, which runs on Windows 7, Java ver. 1.6.0_17, Scriptmaster version 3.33, FM version 10Adv. But it doesnt run on my laptop - Windows XP Pro, Java ver. 1.6.0_17 (also tried 18, 19 and previous 15 - dindt run neither), Scriptmaster version also 3.33. I am using Filemaker server here - FM Server 10 Advanced. The main problem is, that i start filemaker, on the splash screen i manage to read that he is loading Scriptmaster plugin and everything runs like normal. But whe…

    • 13 replies
    • 4k views
  75. Started by wintergreen,

    From the changelog: How do I do that?

    • 2 replies
    • 1.3k views
  76. Started by Noél Dubau,

    I discover with the version 4.01 that script which is very interresting... Is it possible to modify it by passing in XpathQuery many parameters to have in return the content of for sample title / author / price Thanks for your help Noël

    • 2 replies
    • 1.5k views
  77. On a German VISTA installation (both 32 and 64 Bit) Scriptmaster 3.0 crashes FM10 Adv. reproducible time after time already at startup. This even happens when starting with no file at all but just calling the program. It was especially annoying as the Scriptmaster auto download feature doesn't load the plugin into the program's extension dir but somewhere deep into a hidden dir c:Users(Current User)AppData ... where it was quite hard to locate and remove to get FM back to starting up at all. Is this behaviour restricted to only my systems? To German VISTA installations with FM10 in general? Thanks in advance for any feedback.

    • 33 replies
    • 7.9k views
  78. Greetings All, I downloaded 4.0 with great excitement about the ability to create my own plugins. I bought a registration, and properly registered the ScriptMaster Advanced plugin, no prob. I then made my own plugin and installed it. Seems to work fine, before it expires in two hours! After making the plugin, the registration function set to my clipboard by the plugin generation mechanism would not be accepted. the error returned was: "The license key is valid, but the registered to name was entered incorrectly." I went thru the Docs, watched the video (cool, btw), started over with a new plugin (and new registration info), and several other exe…

    • 3 replies
    • 1.5k views
  79. Started by john renfrew,

    http://www.360works.com/static/ScriptMaster/core/plugin.jar gives a 404 error

    • 2 replies
    • 1.3k views
  80. Started by Tim W,

    I am using v.4 on windows xp sp3 and experiencing a screen redraw twice during the execution of my scriptmaster function. Is there a way to avoid the screen redraws? Thanks, Tim p.s. I have this same issue if registering the function in my startup script or running the function from the sample file.

    • 4 replies
    • 1.5k views
  81. Started by john renfrew,

    A: Am I being thick? I can't see any link anywhere to enable me to buy the $95 dollar licence on the pages stated. **B: Would it be useful to indicate in the demo file which ones will not work without the Advanced plugin other than an error message??** updated this, I was meaning in the title. I was looking at the file on a netbook with small screen, and missed the text in the description... C: Without wishing to seem ungrateful, do you have a timeline for integration of 1.7.3 Groovy?? I am extremely keen to use the tr() function which will simplify a code generation by turning a whole script into a single line of code?:)

    • 2 replies
    • 1.5k views
  82. I reinstalled my mac, and now I cannot find the log files of ScriptMaster anymore. Can someone give me the path? Another question: I have the feeling that if you do too many subsequent calls to ScriptMaster (for example in a loop or something like that), that after a while FileMaker freezes... This is also the reason why I want to see in the error log what is exactly going on. The function I am using is CheckIfFileExists. new File( pathToFile ).exists() I have the feeling that the first 20 are going fine and really fast, but after that it goes slower, until it freezes. System is: Mac OS X 10.6 // FM 11v2 I have the same experience wi…

    • 7 replies
    • 2.4k views
  83. hi, i have a filmaker pro advanced 11.0.2 on windows 7 x64. when i install the scriptmaster plugin 3.34 ( or 3.33) , filmaker doesn't start anymore. java 1.6.20 32bit and 64bit are both installed. is this a known issue ? reg. konrad

    • 4 replies
    • 1.8k views
  84. Started by Aurigo,

    Hi Folks I try to copy a file from an FTP-Folder on a Raid to the documents folder of FileMaker Server Advanced 10 on a Mac OSX Server. The case is, that I will daily get files from an external source into the FTP folder, have to copy them to the documents folder as FileMaker allows only this folder for automatical import. I tryed with the provided functions in ScriptMaster and do the following steps: 0. Register all needed functions 1. Set src and dest pathes (incl. FileName) 2. Check if file exits 3. Copy file 4. Import file 5. Delete dest file I come until step 2, but there I get the information that the file does not exist. The variables def…

  85. Started by Howard Schlossberg,

    I am loading an image from a URL into a container field, using this one statement: new URL(url) The URL it calls is of the form: http://www.sample.com/competitions/image.php?entry=B217&sz=l&c=8x10-1&y=2010 This works great on my local machine (inserts a JPG image), but I get FileNotFoundException errors when running it from a server-side script. As a test, I ran the same on the server using a static url (i.e. "http://www.fmadvocate.com/square/base_elements.gif") and this works fine. So it would seem to be something with lack of a standard image extension? And only on the FM server? The server is using Java 1.6.0_07-b06 (as dete…

  86. Started by john renfrew,

    I have a Core2Duo iMac running OS 10.5.8 and Java prefs is set with SE 6 64 bit above the JSE 5 versions If you do java -version from terminal it returns: java version "1.6.0_20" Java SE Runtime Environment (build 1.6.0_20-b02-279-9M3165) Java HotSpot 64-Bit Server VM (build 16.3-b01-279, mixed mode) If you do System.getProperty("java.runtime.version") from Scriptmaster it returns 1.5.0_24-b02-357-9M3165 If you turn off the JSE5 in prefs then SM complains on load that it needs Java 1.4 or later to work. On the MacBook Pro with 10.6.4 and only Java 6 there is no complaint Can you shed some light on what is causing this and if there…

    • 1 reply
    • 1.2k views
  87. Started by john renfrew,

    Any ideas on your timescale for the next release of Scriptmaster with newer Groovy versions in it?? There is some functionality that would really help me out which has only appeared in 1.7 Thanks

    • 3 replies
    • 1.4k views
  88. Hello I am struggling with an annoying issue, using the excellent ScriptMaster by 360 Works. I try to define a function called $$sendHTML in the startscript of my database with RegisterGroovy( "SendEmailWithAuthentication( from ; to ; subject ; htmlBody ; attachmentPath ; smtpHost ; username ; password )" ; "import javax.mail.*;¶.... If the demo database from 360 Works has been opened, it works. If not, no chance. $$sendHTML returns a ? What did I forget? Thank you for your advice

    • 10 replies
    • 2.3k views
  89. Started by Michele Olson,

    I would like to send an email through FM with a PDF attachment, then have that PDF attachment automatically uploaded to a SuperContainer web viewer. Is this possible? If so, do I use an external function and which one?

    • 6 replies
    • 2.1k views
  90. Started by PowerSystem,

    Hi, I try to create a function in Scriptmaster where I can connect to a TCP Service by using Sockets and get an result back. The script in Scriptmaster looks like s = new Socket(host, port); s.withStreams { input, output -> output << "pingn" result = input.newReader().readLine() } s.close() I always get an error like. [color:red]groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.net.Socket(java.lang.String, java.lang.String) what is wrong? why did Scriptmaster not find the java classes or is there an other error? the same groovy file running local on the machine has no problem th…

    • 2 replies
    • 2.1k views
  91. Started by icook,

    I am using PopupMenu on OS X using fmp 10 without any problems. The same code in Windows XP makes the popup menu the same size as the current FileMaker window. I have enclosed two screen shots of the same menu on each platform. Any ideas would be greatly appreciated.

    • 4 replies
    • 2.1k views
  92. Started by kpalser,

    Hi! The following is almost certainly a bug. I have an auto-enter calculation for a field called Family: Family & EvaluateGroovy("fmpro.performScript(fmpro.evaluate('Get(FileName)'), 'DisplayFamily')") With FMP 10, Mac OS X 10.6.3 and Java 1.6.0_20 this calls the script 'DisplayFamily'. It's not perfect because the following is dumped to the system console: [0x0-0x3e03e].com.filemaker.client.advanced[961] Jun 2, 2010 8:56:22 PM com.prosc.fmkit.PluginContext evaluateExpression [0x0-0x3e03e].com.filemaker.client.advanced[961] WARNING: evaluateExpression called from non-FileMaker thread: Thread[AWT-EventQueue-0,6,main] [0x0-0x3e03e].com.filemaker.…

    • 7 replies
    • 2.4k views
  93. : Hi there! Is there a limitation of size for the "ReadFileContents" function? For a 35 MB file I'll get an Error ("Error"). And if so, how can I prevent this limitation? Thanks HB

  94. FM Server 10.0v2 running on Windows Server 2008 Enterprise SP2, Xeon x3220 2.4ghz, 8 GB RAM; Scriptmaster 3.32. Running into a problem where FM Server crashes when I execute a script on the server side that uses Post XML Data; when I run it client-side, it runs without apparent trouble. As far as I've been able to narrow it down with both server and script logging, the crash happens right after I call PostXMLData. The crash itself is just the server process, not the OS; I can open the FM Server Admin Console either remotely, or when RDP'ed into the server, and restart the server process without any trouble. The script uses PostXMLData to retrieve an updated cate…

    • 10 replies
    • 3.3k views
  95. Started by Daniel Shanahan,

    I just downloaded ScriptMaster, so I'm very new to this plugin. I installed SM on my local machine and it works fine (/Applications/FileMaker Pro 11 Advance/Extensions). However, I want to create a schedule for a script on a hosted db, so I installed the plugin on a development server, hosted on my local machine (/Library/FileMaker Server/Database Server/Extensions). The server is FMS 10.0.1.64. I stopped the server and restarted, as directed in the ScriptMaster directions. Then, in Configurations/Server plug-in settings I can see the plugin listed. However, in the column "Plug-in Name" is "Not Loaded". In any case, I check the box and pressed the "Save" bu…

  96. Started by bobthedog,

    Hi, I really like the look of the Post XML Data script. However, I am having a little trouble with authentications. The URL that I pass comes back with a 401 (Unauthorized) response. How do we deal with authentication in this script? Does this script support HTTP Basic Auth? The URL I should use looks like this: https://testuser:[email protected]/__API__/customer Where Username is testuser and Password is testpass. it works in a browser but not in this Filemaker Post XML Data script. Any ideas? Thanks, Gary

    • 2 replies
    • 2.2k views
  97. Started by clemhoff,

    Hello all, Through ScriptMaster, I send an XML request (SOAP) on a web service (SQL Server). Everything works as expected except for diacriticals eg. Here the result returned by the plug-in: Here the (correct) result returned by `cURL' when I use a Terminal or an AppleScript/do shell script command: Have you also experienced this problem? Tested under: Mac OS X.4.11 FMPA 10.v3 ScriptMaster v.3.34

    • 2 replies
    • 2.3k views
  98. ;) Hello, another problem I have with the registered CryptographyDecryption function: In file A a custom function is defined to decrypt some text and matches with one textfield. As a result we get "1" or "0" stored in a global field. Now we go to file B and ask for the value in the global field in File A. Sometimes then FMPA freezes. Please have a look at the console message of FMPA I have included. Any ideas of what went wrong here? Thanks HB

    • 9 replies
    • 2.8k views
  99. Hello, All, or near by, in in the title : is it possible to attach more than one file in the Send Email With Attachments script, other way than zip the multiple files in a single archive ? Thanks Noël

    • 5 replies
    • 2.7k views
  100. Started by Aurigo,

    Hello folks! After days of trying to solve this, I need some advice: How can I get the name of a file from a full path name? It has to work on Mac and Windows paths and should be coded in Groovy so that I can include it into a script within Scriptmaster. Path format Mac OSX: /Users/Dekstop/scs1.png Path format Windows: C:Documents and SettingsUserNameMy Documentsscs1.png Thanks for your support! Martin

    • 2 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.