Jump to content

john renfrew

  • Content count

  • Joined

  • Last visited

  • Days Won


john renfrew last won the day on June 13

john renfrew had the most liked content!

Community Reputation

30 Excellent

About john renfrew

  • Rank
    enthusiast, with a bit of geek
  • Birthday 06/21/1957

Profile Information

  • Gender
  • Location

Contact Methods

  • Website URL
  • Skype

FileMaker Experience

  • Skill Level
  • FM Application
    16 Advanced

Platform Environment

  • OS Platform
  • OS Version
  1. High Sierra wierdness

    Thanks Ryan..
  2. High Sierra wierdness

    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???
  3. issues with iText 7

    Ryan Downloaded and installed the new jars, and loaded them in the normal way. Working through the simplest example in their jumpstart tutorial as soon as I get to stage 4 - adding text to the document - I am getting a class not found error.. a bit more detail here.. but no real answer https://stackoverflow.com/questions/47168463/itext-7-jumpstart-with-flat-battery it not a win/mac issue as have tried on both platforms, just trying to troubleshoot form both ends without really knowing where to start.. thanks
  4. issues with iText 7

    I have been trying to follow the tutorial for iText 7 and and coming unstuck quite early on and not sure if it is a change in the way the jars are loaded or as a result of using standalone JVM... As you know I might just have a lot of expertise with v5 and have no problems, but I also can't use 7 with older scriptmaster as there is MajorVersion issue as it requires later than Java 6 Anyone care to be enlightening??
  5. Getting started with ScriptMaster

    click one of the lines in the interface that takes you to the code interface, these are just FileMaker records, so cmd+N will get you a new one The top left is a portal for parameters with create turned on, bottom left for results, click the Jars tab to see the jars available and select to use in the script
  6. EncryptAES Key Size

    This is quite a common thing for Java devs to have to do. The US govt are not really that much of a fan of certain countries setting hold of higher level encryption so Oracle keeps this outside the normal products and you have to get hold of it separately... and we are both 'export' customers As a Keystore explorer user on Mac for example I just have to the downed and copy thing each time it is updated...
  7. Migrating from FMPv10 to 13 issues

    Regardless of version of Windows, if you have scriptmaster 4... you need the 32 bit version of Java If you installed scriptmaster 5... and have 32 bit windows there is another thread on here you will need to follow to get the correct version of the JRE.. near the bottom of
  8. Migrating from FMPv10 to 13 issues

    Win, Mac?? Which jars? Which version of the MWSMerchantFulfillmentJavaClientLibrary
  9. IOException when reading container data

    In the link download from here, near the ned of this thread...
  10. IOException when reading container data

    @jbante Works as expected on my MacBook with 5.052.... john
  11. smtp port 587 (or other than 25)

    Here is some code that works from G-Mail using port 587 and TLS replace where obvious Groovy code note: you dont need the ';' at the end of lines and in most cases you can use ' and not " as the string delimeiters, which makes it better to debug when in FileMaker // gmailTest() // v1.0 // 17_09_16 // J Renfrew // import javax.mail.Message import javax.mail.MessagingException import javax.mail.PasswordAuthentication import javax.mail.Session import javax.mail.Transport import javax.mail.internet.InternetAddress import javax.mail.internet.MimeMessage username = 'USERNAME@gmail.com' password = 'PASSWORD' props = new Properties() props.put('mail.smtp.auth', 'true') props.put('mail.smtp.starttls.enable', 'true') props.put('mail.smtp.host', 'smtp.gmail.com') props.put('mail.smtp.port', '587') session = Session.getInstance(props, new javax.mail.Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(username, password) } //end authentication } //end authenticator ) //end session try { message = new MimeMessage(session) message.setFrom(new InternetAddress('USERNAME@gmail.com')) message.setRecipients(Message.RecipientType.TO, InternetAddress.parse('EMAIL@MAIL.COM')) message.setSubject('Testing Subject') message.setText('Dear ScriptMaster,' + '\n\n No spam to my email, please!') Transport.send(message) return true } catch (e) { return e.getMessage() } //end try You will need to work out how to make this send HTML and multipart HTML but that shouldn't be too hard. This ALSO is confirmed to work with Office 365 on smtp.office365.com
  12. smtp port 587 (or other than 25)

    Can you post the whole function and a list of the jars you are using... first look props.setProperty (\"mail.smtp.port\", \"587\");¶ looks wrong - should be "mail.smtp.port", 587 - its a number not a string
  13. Two questions

    thanks Ryan...
  14. Can't open 360Deploy.fmp12

    Thanks David, thought I had done that... obviously not..
  15. Can't open 360Deploy.fmp12

    Seems to be password protected What might this be??

Important Information

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