Jump to content

Search the Community

Showing results for tags 'scriptmaster'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Community Forums

  • The New FileMaker Platform
  • Community Resources
    • Community Articles, Tips, & Techniques
    • FileMaker Marketplace Discussions
  • FileMaker Platform
    • FileMaker Interface Features
    • FileMaker Schema & Logical Functions
    • FileMaker Go for iPad and iPhone
    • FileMaker and the Internet
    • FileMaker Pro Advanced 18
    • FileMaker Pro Advanced 17
    • Legacy FileMaker Platform Discussions
  • FileMaker Server Administration
    • FileMaker Server 18
    • Zabbix Server Monitoring
    • FileMaker Server 17
    • FileMaker Cloud
    • FileMaker Custom SSL Certificates
    • oAuth and External Server Authentication
  • Brain Food
    • Security Concepts
    • The Left Brain
    • Upgrading & Migration
    • Data Analysis
    • Development Standards
    • The Separation Model
    • Relational Database Theory
    • Damaged / Corrupt File Problems
    • Bar Codes (Printer, Scanners, Software)
    • Hardware & Networking
    • OS Level Database Automation
    • Product Ideas
  • JavaScript Integration
  • FMForums Affiliates & Sponsors
  • FileMaker Classifieds
  • FM Forums Operations
  • FileMaker Friday Night Chat's Topics

Blogs

There are no results to display.

There are no results to display.

Categories

  • White Papers
  • Infographics
  • Samples
  • Solutions
  • FMGo
  • Plug-Ins
  • Tutorials

Product Groups

  • Workplace Innovation Platform
  • Site Advertising
  • Development & Hosting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Title


Industry


Location


Interests


Website URL


Skype


MSN


Yahoo


OS Version

Found 42 results

  1. When I fired up FMPA 18 the first time with plugins installed, I received an alert for a number of well-known commercial plugins as well as every one of the plugins created with ScriptMaster Advanced. Will a near-future release of ScriptMaster Advanced allow us to create "digitally signed" plugins? If so, ETA or a workaround? Thanks in advance, - - Scott
  2. Hi, I have a little problem to run a Merge PDF with the new version of scriptmaster (4.42) and iText 5.5.5 on a Filemaker Pro 14.05 adv on windows 7. With this 4.32 version it works: https://dl.dropboxusercontent.com/u/30717534/M4.32.fmp12 However with this new version 4.42, the Merge PDF script fails: https://dl.dropboxusercontent.com/u/30717534/M4.42.fmp12 I have tried to get help on another forum, but unfortunately for the moment we didn't found the solution. We arrived at the conclusion that it must be something by my side, but I cannot figure out what is the problem, as I tried on 3 different computers. Could anybody try my files on a windows platform please and give me feedback please? Does anybody have an idea how to fix it? Thanks a lot
  3. Hello Yesterday I created a plugin with ScriptMaster 5.1. It only has 5 functions. In most computers it shows the "Preparing Plugin for First use Dialog", sometimes it takes several minutes but finally it ends and the plugin starts working as expected. However, in 20-25% of the computers I've installed it (via Install Plug-In script step) I'm getting initialization errors. The plugin shows unchecked and it fails to initialize if I try to activate the check box. I've looked everywhere to see what I can delete in order to have the "Preparing Plugin...." dialog again to see if I am luckier this time but nothing seems to help and my users are starting to get angry. Please find attached the plugin I made (Win32, Win64 and Mac) and some log files i could find. Hope you can help me. EikonsysOne_CFDi_52.zip
  4. Hi all I'm working in a project where I need to save a certificate (.CER) and a key file (.KEY) y Base64 encoded text. For example, to convert a .KEY file I type this in OpenSSL: openssl pkcs8 -inform DER -in a.key -out b.key Now, how can I do the same using ScriptMaster?. Regards Ibrahim
  5. Once again, but now with more urgency, please can you indicate a timeframe for updating ScriptMaster to be able to use later versions of Java on the Mac. There is a completely brand new version of iText (in readiness for PDF 2.0) which has a whole new set of libraries, the code I use needs rewriting in some places, but more importantly is giving MajorMinor version errors as soon as I write my first line of code. I already have several functions I can not move but this is somewhat of a killer for me, given that is it my specialist subject... This has been rumbling on for too long without any clear help from 360Works. john
  6. I am using FM 12 adv 03 on OSX and Windows  The problem I am having is with the SelectFile function.  When I am running the 'runtime' version of my Members application FM acts squirrely; ie, it shows (on the Mac) about 45 seconds of the 'spinning ball of death' before it finally continues. I think this is because I don't have SM plugin registered properly. Here is the code in my startup script that is supposed to register SelectFile:   I think SelectFile is not registering properly because I get the dialog box and the script pauses; as it should.  ... and here is the Groovey function code:   I am not a Groovey programmer and do not know if I have the registration code properly written.  Can you see what I might be doing wrong?  THANKS FOR YOUR HELP!  RON  Â
  7. Hello Everybody.... it's first time for me to run scriptmaster plugin on a Mac, but I cannot use correctly. I was trying to use the plugin to delete a folder, but it does nothing. (the same database on a win 7 runs correctly) Any help Thanks a lot.
  8. I am working on a project which requires me to make SOAP calls from FileMaker. I have successfully done that in the past thanks to ScriptMaster ability to handle that. It works beautifully. The new project now requires me to include a client certificate - issues by the SOAP API provider - in each requests. The documentation on their side is fairly scarce ("Install the certificate on your host" !). I have no idea how to handle that but something tells me that there is no reason why it would not be possible to "include" the certificate in the Groovy bit of the plugin... Any idea anyone ? Thanks
  9. I have two function (GUI) in ScriptMaster Advanced, each show their own dialog (Save and Open), but if they are run in the same script (or subscript) they crash FileMaker, it does not matter whether they are registered with ScriptMaster or are from custom plugin. Also, if the same function is called in the same script (or subscript) FileMaker crashes. Here is the code for the two functions: /* Purpose: Asks a user to select a file to open. Returns: File Path Name: HIDRAOpenFileDialog ( saveTitle ; defaultDirectory ) Parameters: ( openTitle ) text ( defaultDirectory ) filepath Dependencies: NONE 2011-09-01 JPS, Created. NOTES: NONE */ import java.awt.*; import javax.swing.JOptionPane; String title = openTitle; FileDialog openDialog = new FileDialog(JOptionPane.getRootFrame(),title, FileDialog.LOAD); openDialog.setDirectory(defaultDirectory); openDialog.show(); if (openDialog.getFile() != null) { selectedFile = fmpro.convertPathToFileMaker(openDialog.getDirectory() + openDialog.getFile()) openDialog = null; return selectedFile; } else { openDialog = null; return false; } /* Purpose: Asks a user for a save location and filename. Returns: File Path Name: HIDRASaveFileDialog ( saveTitle ; defaultDirectory ; defaultFileName ) Parameters: ( saveTitle ) text ( defaultDirectory ) filepath ( defaultFileName ) text Dependencies: NONE 2011-09-01 JPS, Created. NOTES: NONE */ import java.awt.*; import javax.swing.JOptionPane; String title = saveTitle; FileDialog saveDialog = new FileDialog(JOptionPane.getRootFrame(),title, FileDialog.SAVE); saveDialog.setDirectory(defaultDirectory); saveDialog.setFile(defaultFileName); saveDialog.show(); if (saveDialog.getFile() != null) { selectedFile = fmpro.convertPathToFileMaker(saveDialog.getDirectory() + saveDialog.getFile()) saveDialog = null; return selectedFile; } else { saveDialog = null; return false; }
  10. WHen testing out High Sierra I am getting a Jav app in the dock every time I run FileMkaer with Scriptmaster. Closing doesn't seem to remove the app.. It crashed the other day a couple of times so I ended up with three icons there What is this, can can it not be so???
  11. Here's some code I put together using the Ganymed SSH java library and examples to execute SSH commands using ScriptMaster. Its easier than doing SSH calls from RunShellScript. I'm sure there's improvements to be made. Cheers, JP // SSHCommand ( hostname ; privateKey ; username ; command ) // Uses Commons-Io-2.4.jar // Uses Commons-Lang-2.6.jar // Uses Ganymed-Ssh2-261.jar import java.io.IOException; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import ch.ethz.ssh2.Connection; import ch.ethz.ssh2.Session; import ch.ethz.ssh2.StreamGobbler; final String stdout = new String(); final String stderr = new String(); try { // Convert private key to character array char[] privateKeyArray = privateKey.toCharArray(); // Create and open connection Connection theConnection = new Connection(hostname); theConnection.connect(); // Authenticate with public (private really) key boolean isSuccess = theConnection.authenticateWithPublicKey(username, privateKeyArray, null); if (isSuccess == false) throw new RuntimeException( "ERROR: Authentication error" ); // Open seession and execute command final Session theSession = theConnection.openSession(); theSession.execCommand(command); // Get stdout stream and convert to string final InputStream stdoutStream = new StreamGobbler(theSession.getStdout()); final InputStream stderrStream = new StreamGobbler(theSession.getStderr()); stdout = IOUtils.toString(stdoutStream, "UTF-8"); stderr = IOUtils.toString(stderrStream, "UTF-8"); // Close streams stdoutStream.close(); stderrStream.close(); // Close the session and connection theSession.close(); theConnection.close(); if (StringUtils.isNotEmpty(stderr)) throw new RuntimeException( stderr ); // Return the string return stdout; } catch (IOException e) { throw new RuntimeException( e ); }
  12. So here's code for sending or receiving a file through SCP (SSH secure copy) with ScriptMaster. Requires the Orion SSH-2 java library from http://sourceforge.net/apps/mediawiki/orion-ssh2/index.php . They can be easily adapted to use put/get methods that will get or put multiple files at once. Comments and suggestions always welcome. SCPGet ( hostname ; privateKey ; username ; localTargetDirectory ; remoteFile ) import java.io.IOException; import com.trilead.ssh2.Connection; import com.trilead.ssh2.SCPClient; try { // Convert private key to character array char[] privateKeyArray = privateKey.toCharArray(); // Create and open connection Connection theConnection = new Connection(hostname); theConnection.connect(); // Authenticate with public (private really) key boolean isSuccess = theConnection.authenticateWithPublicKey(username, privateKeyArray, null); if (isSuccess == false) throw new RuntimeException( "ERROR: Authentication error" ); // Create SCP client and get remote file to local target directory SCPClient theClient = new SCPClient (theConnection); theClient.get(remoteFile, localTargetDirectory); // Close the connection theConnection.close(); return; } catch (IOException e) { throw new RuntimeException( e ); } SCPPut ( privateKey ; hostname ; username ; remoteTargetDirectory ; localFile ) import java.io.IOException; import com.trilead.ssh2.Connection; import com.trilead.ssh2.SCPClient; try { // Convert private key to character array char[] privateKeyArray = privateKey.toCharArray(); // Create and open connection Connection theConnection = new Connection(hostname); theConnection.connect(); // Authenticate with public (private really) key boolean isSuccess = theConnection.authenticateWithPublicKey(username, privateKeyArray, null); if (isSuccess == false) throw new RuntimeException( "ERROR: Authentication error" ); // Create SCP client and put local file to remote target directory with mode 600 SCPClient theClient = new SCPClient (theConnection); theClient.put(localFile, remoteTargetDirectory); // Close the connection theConnection.close(); return; } catch (IOException e) { throw new RuntimeException( e ); } Code on, JP
  13. Hello, I'm a ScriptMaster Advanced Edition user (I subscribed it during last January) and I have a problem with the registration of a plugin that I created for my environment. I describe my environment by hoping that you can support me to solve the problem that I have: 1. I'm using ScriptMaster on a Mac system (Yosemite) on which both FileMaker Advanced Pro 13.09 and FileMaker Server 13.09 are installed. 2. I developed and tested with ScriptMaster some functions that I included inside a plugin and I created it with the name myPlugin on my Mac. 3. I have put the produced plugin myPlugin.fmplugin in the 2 directory that I use in my FileMaker environment, I mean: - HD1/FileMaker Server/Database/Extensions - HD1/FileMaker Server/Web Publishing/publishing-engine/cwpc/Plugins 4. I opened a FileMaker file that uses the functions of my plugin and I registed the plugin on FileMaker Pro Advanced by using the key created by ScriptMaster at the end of the plugin creation. 5. I deployed my FileMaker file on the FileMaker Server and I work with it so that one of the functions inside the plugin is invoked. The function worked as good as expected but... inside the 360Plugins_ServerScripting64.log file I see the following info: INFO: Registered successfully with demo license; will run for two hours after launch. And infact it's so: after two hours the plugin stops to work and I'm not more able to use my functions... I suppose there's something wrong in the procedure that I follow to register my plugin or, maybe, there's something wrong in my machine environment... I don't know... But I can't work... Could you please help me to understand how to solve this problem? Thanks a lot for your support. Massimo Becattini
  14. Hi guys, today I've got a new issue with script master. I make a plugin for my solution with script master for run shellscript. i tried also with script master and no plugin, but make no differences. On a mac pro running 10.6.8 is ok, but on my macbook pro (10.7.1), i receive random error when i send the same script to shell. Always in different point of the script, with errors, on debug or normal use. e.g. invoking which command or else. is it compatible on lion? Generally i send a command like this run shellscript($variable; "true";30) could be correct? have you got something to suggest me? My solution is running on a mac server with FMPRO SERVER ADV latest version. Client FMPRO ADV 11 last version. best Corrado
  15. I was trying to use the ScriptMaster plugin on a Windows Terminal Server but somehow it is not working fully for all instances (users). It always works for Administrator user though. Can anyone help how should I configure this plugin on Terminal Server such that it works for all users without any issue?
  16. Hi All, Just wondering if anyone has created a ScriptMaster module using the iText library before? I'm needing to create a PDF Splitter and Merger in filemaker, so if you have any advice too, shoot!
  17. ScriptMaster 5.01 is not working as usual. Just downloaded and updated and my solutions started to report errors on many dialog boxes.
  18. (Apologies if this is made clear somewhere else, I can not seem to find an answer here or anywhere) Thank you for looking at this and for any feedback. I am not sure if my issue is a bug or a feature... I have just created my first plugin. It requires 2 jar files which are not included with SM. It seems the function will not work unless I have the 2 jar files in a directory where java expects to find jar files (by default, or some other location which has been added to the path file). This is not an issue on my development machine, but my intention is to make this portable. So the question at hand is this: Does ScriptMaster, and/or plugins generated with SMA, completely handle the loading of jars? or do I need to have the jars located in a folder where java expects to find them? I have: Added the jars to SM using the 'add' button on the Jar Libraries layout, in the ScriptMaster File Associated the jars to the script via the checkboxes in the 'Jars' tab of the Edit Script Layout Verified the Jars are loaded using SMGetLoadedJars Successfully tested the function with the 'Run Script' Button on the Edit Script Layout Registered the Function (and set it to register on startup) Successfully tested the function in the FM solution I intend to use it with Everything works until I remove the jars from /Library/Java/Extensions (on osx). Then, after restarting FM, my function returns an error indicating it can not find the class it needs (which is to say, it cant find the jar). I have tested this thoroughly. Is this the way it is supposed to work? Please let me know if I can provide more info to help troubleshoot this. My sincerest thanks to anyone who can point me in the right direction, -Jim java version "1.6.0_65" Java SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot 64-Bit Server VM (build 20.65-b04-462, mixed mode)
  19. Hi Folks, I'm wondering if anyone out there is having stability issues when running server side scripts which use ScriptMaster on FileMaker 13 Server. Everything seems to run well for a while, but after running for a while, scripts running on FileMaker Server Side start failing. It appears that every time a script using ScriptMaster runs server side, the appopriate JAR files are loaded, but when the script is done those file handles are never released. Eventually, the number of open file handles gets to the maximum allowed for a user/process and the fmsased process can no longer open any files. This means that ScriptMaster can no longer load (even FileMaker functions such as server side sending mail via SMTP won't work), until you reset the server side process via: fmsadmin restart fmse You can keep track of the ever growing list of ScriptMaster JAR handles via the following command: lsof | grep ScriptMaster | grep jar | wc -l So has anyone out there seen this issue or found a work around? I never saw this issue with FileMaker 12 Server, so I'm not sure if its a FM Server issue or a ScriptMaster issue. I have tried adding an "SMReset" prior to the initialization of ScriptMaster, and when my script is about to end. It does not seem to release the JARs. I'm going to try having my script check the number of open files for the fmsaed process: lsof -p `pgrep fmsased` | wc -1 and when that number gets too large ( say 100,000) restart the fmse engine with: fmsadmin -y restart fmse Cheers, JP
  20. Right now I can't get the plugins to load in the server, so I'm assuming FMS 13 isn't supported at the moment since it's new, but I want to check here just to be sure and that I'm not doing something wrong. I've tried running install plugin scripts on the server (after checking the appropriate options in the console) and placing the plugins in the server's extension directory and restarting the server. The Admin console still shows no available plugins listed. I've done this with both the standard and 64 bit versions of the windows plugin. Using windows Server 2008 R2 SP1 Standard.
  21. Hi guys, i'm trying your scriptmaster. I want to run a shell script on osx that i used to convert some audio files using lame. every time i try i receive an error and no file converted. the same command works perfectly in terminal. using eg. afconvert work perfectly (not in mp3 of course, 'cause not supported). any suggest? best Corrado
  22. I have a problem with the use of RunShellScript with a plugin that I created. On the Mac, it works correctly. With Windows 7, it does not work with RunShellScript, while the same command slipped into the test field of the file ScriptMaster.fp7 works. (But the script uses EvaluateGroovy and not RunShellScript). Here is my script: Set Variable [$cmd = "latex.exe -output-directory=" & $DirectoryPath & " " & $FileTexPath] Set Variable [$result = RunShellScript ($cmd, "true", 30)] ($DirectoryPath and $FileTexPath are quoted path) I get the following error message: java.lang.IncompatibleClassChangeError: the number of constructors during runtime and compile time for java.lang.Thread do not match. Expected 10 but got 8 Does anyone have an explanation ? J-L Lienhard
  23. I'm using the java project "selenium" with "ghostdriver" and phantomjs as my browser to create screenshots of web pages. My code works perfectly in groovyConsole but has an error with the phantomjs driver once inside Scriptmaster. I think the problem may be that it requires access to a binary phantomjs that is not part of the jars. This is the code that executes in groovyConsole and produces a screenshot: import java.io.File import java.util.concurrent.TimeUnit import org.apache.commons.io.FileUtils import org.openqa.selenium.OutputType import org.openqa.selenium.TakesScreenshot import org.openqa.selenium.WebDriver import org.openqa.selenium.phantomjs.PhantomJSDriver System.setProperty("webdriver.phantomjs.driver", "/jars/phantomjsdriver-1.0.4.jar") System.setProperty("phantomjs.binary.path", "/jars/phantomjs") WebDriver driver = new PhantomJSDriver(); driver.manage().window().maximize() driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS) driver.get("http://www.google.com") File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE) FileUtils.copyFile(scrFile, new File("google.png"), true) driver.close() The error I get from Scriptmaster is: Its also worth noting that in groovyConsole, the code still works without the two setProperty lines. If I simplify the code the code to just: import org.openqa.selenium.OutputType import org.openqa.selenium.TakesScreenshot import org.openqa.selenium.WebDriver import org.openqa.selenium.phantomjs.PhantomJSDriver System.setProperty("webdriver.phantomjs.driver", "/jars/phantomjsdriver-1.0.4.jar") System.setProperty("phantomjs.binary.path", "/jars/phantomjs") WebDriver driver = new PhantomJSDriver() driver.get("http://www.google.com") driver.close() I get the same error in Scriptmaster and no error in groovyConsole.
  24. Hi, I have tried to do an script to save an URL as html with "WGET" command. If I use the shell command line to put: It´s working and a "FileName.html" file is saved in my root directory but when I try to obtain this result in Filemaker with RunShellScript, it is not possible. Could anyone help me?? The URL is saved as a global variable ($$datlink). I have created the different steps in my script but I only get an message: "ERROR" STEPS into my script: Set variable [$command; value:"wget " & "--convert-links " & "-O " & DB::FileName & " " & "\"" & $$datlink & "\""] Set field [DB::Container; RunShellScript( $command ; "true" ; 10 )] Help me!!!! Please Thanks Wardiam
  25. We are using the ScriptMaster 4 with Java 6.21. I have tried to upgrade the Java to the last version and from that moment I cant active the plugins anymore. When I try to active the plug-ins, my Filemaker crash. When I open the sample file, I get the info the plugins in not install, I click ok to install and my FM crash. What do I need to do? We working on FM12.0.4 on windows 7 / 2008 and 2003
×
×
  • Create New...

Important Information

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