Jump to content

Lape

Members
  • Content count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Lape

  • Rank
    Gokke

Profile Information

  • Title
    Sr. systems consultant
  • Gender
    Male
  • Location
    Denmark

Contact Methods

  • Website URL
    http://easys.dk

FileMaker Experience

  • Skill Level
    Intermediate
  • FM Application
    13 Advanced

Platform Environment

  • OS Platform
    Windows

FileMaker Partner

  • Certification
    Not Certified
  1. Have several systems running on Windows 10 as klient, Windows 2008R2 as server using those plugins (BE & ScriptMaster) with NO problems for a really long time...But the newest version of ScriptMaster has NOT been stable and would freeze the klient at random times... We have succesfully unloaded ScriptMaster and re-established stability using only BE at this time - hope it helps !
  2. Where to download BaseElements ?

    Allright, the plot thickens - suddenly the BE plugin was updated from 3.2.0 to 3.3.6 - on ALL tree PC´s I was testing on - great - but mysterius ! Thanks !
  3. Where to download BaseElements ?

    Hi Dempsey - exactly - its hard to find...!! But thx for trying
  4. I know - stupid question, but the download available on the homepage for BE are OLD (3.1.0 or something) and I would like to use the newest version 3.5.0 (as far as I know) - but where to find those - or is that restricted to sponsors ? Thank you in advance KR Lars G
  5. Allright, as promised, status on this problem is - Im no longer using the ScriptMaster plugin ! I was unable to get this Javacode above to work (i´m NO Java-hacker at all !) in due time, I could not find any relevant documentation and could not interpret the errormessages from the Groovy code - so - trying out other stuff, I found myself installing the BaseElement plugin on the server.... And with help from the online docs and after some testing, it was up and running within one hour ! I LOVE the ScriptMaster plugin and uses this alot - but Im simply too stupid to do Java code embedded within Groovy, embedded within FileMaker.... Thanks for your help anyway ! Kind regards, Lars G.
  6. Ohh, GREAT John, thank you so much, I will try your code ASAP and return the result to you here... Thanks again ! Kind regards, Gokke
  7. Hi John and thanks for replying - the quotes are in place because the whole text is... ehm... FileMaker-text and so the "´s is preceeded with a \, thus can I get values from variables as parameters.... The calculation - without the PORT-line - has been running PERFECT in 3-4 years - so I have to assume that the other code is OK ! The format you wrote - is that verified ?? I mean, do you know for sure its OK ?? Thanks again ! Oops sorry, forgot to show code: Below is the complete INIT-code for the ScriptMaster-plugin - it works wonderfully, but i can´t figure out where to change the port...: //Load ScriptMaster Functions //HTMLEmail Function RegisterGroovy ( "HTMLEmail ( from ; to ; cc ; bcc ; subject ; htmlbody ; attachmentPath ; smtpHost )" ; "import javax.mail.*;¶ import javax.mail.internet.*;¶ Properties props = new Properties();¶ props.setProperty(\"mail.smtp.host\", smtpHost);¶ props.setProperty (\"mail.smtp.port\", \"587\");¶ MimeMessage msg = new MimeMessage(Session.getInstance(props));¶ if (attachmentPath == null) {¶ // HTML E-Mail Only¶ msg.setContent(htmlbody, \"text/html\");¶ }¶ else {¶ // HTML E-Mail with Attachment(s)¶ Multipart content = new MimeMultipart();¶ // first the message body¶ MimeBodyPart bodyPart = new MimeBodyPart();¶ bodyPart.setContent(htmlbody, \"text/html\");¶ content.addBodyPart(bodyPart);¶ // then the attachment(s)¶ attachmentPath.tokenize(\";\").each {it ->¶ attachmentPart = new MimeBodyPart();¶ attachmentPart.attachFile it;¶ content.addBodyPart attachmentPart;¶ }¶ msg.setContent(content);¶ }¶ msg.setSubject(subject);¶ msg.setFrom(new InternetAddress(from));¶ to.tokenize(\";\").each {it ->¶ msg.addRecipients(Message.RecipientType.TO, new InternetAddress(it))¶ }¶ if (cc != null){¶ cc.tokenize(\";\").each {it ->¶ msg.addRecipients(Message.RecipientType.CC, new InternetAddress(it))¶ }¶ }¶ if (bcc != null){¶ bcc.tokenize(\";\").each {it ->¶ msg.addRecipients(Message.RecipientType.BCC, new InternetAddress(it))¶ }¶ }¶ Transport.send(msg);¶ return true;¶")
  8. Hi guys - first - a warm thank you for making this plugin available, we have used Scriptmaster for 4 years now and have had NO problems until now - please advise: The setup: FMS 13 on Windows 2008R2, ScriptMaster 4.1 and once a month a Email-blast with a few Emails/PDFs to recipients - no problems ! Now: we are relocating to another smtp-gateway, which only supports port 587....! And THEN no more mails ! I have read/googled for days now, so i think I have tried the most common solutions, to no avail.... This is our code i SM-INIT-script and I THINK that its the "port" statement that is wrong: ---------cut------------ //Load ScriptMaster Functions //HTMLEmail Function RegisterGroovy ( "HTMLEmail ( from ; to ; cc ; bcc ; subject ; htmlbody ; attachmentPath ; smtpHost )" ; "import javax.mail.*;¶ import javax.mail.internet.*;¶ Properties props = new Properties();¶ props.setProperty(\"mail.smtp.host\", smtpHost);¶ props.setProperty (\"mail.smtp.port\", \"587\");¶ MimeMessage msg = new MimeMessage(Session.getInstance(props));¶ -------------------cut--------------------------------- The BOLD line is the new one - it was´nt in the code, so I assume it has to be inserted to work on other ports than default port 25.... I have tried to load NEW ScriptMaster (5.05) plugin, new activation.jar and mail.jar, but nothing helps... The ScriptMaster 5.05 even halts FM Pro Advanced on serverconsole AND the server plugin (64 bits version) refuses to load for some reason - but THIS is not important - unless of course its going to be a part of the solution on this problem... Anyone has a clue ?? Thank you in advance ! Lars G.
  9. Windows Camera tablet solution

    Hi, same problem here, but solved it by installing YAWCAM, which simply makes streamed video from an USB-camera and then broadcast it on an internal webserver (port 8888). From this, you simply capture an image with INSERT URL (localhost:8888) and DONE ! Good luck
  10. Ohh I got that too - It´s just a timing problem - if you repeat it enough times, it will show the scripts....! How I know ? I had an 8 Gb database with a lot of images - and would very rare get the scripts listed - and when i moved all of the images out of the database -> external container - no problem ! Regards, Gokke !
  11. Go 13 on Server 12?

    Hello Wim - just to chime in - i´m using FMS12 with FM 13 clients for some time now - i have not been able to find anything NOT working with the the client.... I have not been around in the corners of the GO yet, but it seems fine for now... Do you know anything that would limit me (all of us) from generally hosting FM13 solutions with Themes, popovers, all the new stuff - on a FMS12 Kind regards
  12. Easy-peasy - just open a NEW window, same layout - do your stuff (search, find, sort, whatever) and when done, just close the new window. Then you are back to the old found set and the original record ! /Kind regards
  13. Bugs from v.12 still there, new one added

    Uh-oh GOT ONE ! Besides the fact that version 13 looks wonderfull, although still slow at scrolling, i got one bug that IS still there from version 12: When using the Inspector and setting the LINE Thicknes - we - in Europe cannot use the 0.25 setting - it converts the setting to 25 Probably is it the system, conversion wise, which does the buggy dance ! Im sure YOU guys cant see this bug due to the codepage/conversion setting is "normal", but for us with codepage 850, it´s at bug Kinde regards, Lars G Pedersen
  14. Allright - have been fighting with this - another FM12 annoyance! Another user mentioned "PasteNOSTYLE" in Customs Menu - and I was of to explore this in depth ! SUCCESS ! This way you can change the default way your users paste data in from anywhere, use the proper format and you DONT need to change any existing code, as described with "TextRemoveFormat(SELF)" or whatever. The steps are here: - Simply put, you create a script containing ONE line ("Paste:Select:Nostyle") - call this CM_PASTE_TEXT - Create (!) a Custom Menu for your application, name it something relevant (UserMenu ) - In this Custom Menu, you click on properties and select EDIT and you make sure you have the PASTE command somewhere in there - this you would change ! - The PASTE Command youll change to f.x "Paste Text" or whatever and NOW the magic begins... - In the frame named "Menu Items", you´ll click on "Paste" and ind the right in the frame, you can among other things, specify a script to run when a user press - in this case - CTRL-V and assign the CM_PASTE_TEXT to this command. - Finally - in order to get this to work, you need to specify (create) a NEW User Privileged Set - because you can EDIT this an change "Available Menu Commands" - I use the "Editing Only" option, but you can also use the Full set - just NOT the Minimum - this dismisses the change to the Custom Menus you have just made... - Remember to force your users to load and LOCK the new Custom Menu Set ! I hope you can get the general direction i´m going in - i apologize for my poor english, so i´m guessing from here Anyways, it´s working for ME and my 20 users - no user can now paste any cr*p into MY system Happy FileMaking from Denmark Regards, Lars
×

Important Information

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