Jump to content

JF Fortier

Members
  • Content Count

    10
  • Joined

  • Last visited

  • Days Won

    1

JF Fortier last won the day on October 9 2019

JF Fortier had the most liked content!

Community Reputation

1 Neutral

About JF Fortier

  • Rank
    newbie

FileMaker Experience

  • Skill Level
    Intermediate
  • FM Application
    17

Platform Environment

  • OS Platform
    Windows
  • OS Version
    Win7/10
  1. I found the code that I had that only return the coordinates and screen size. I just add the "import" section, that is what was missing from my previous attempt. import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.awt.Rectangle; GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); String boundsString = ""; for (GraphicsDevice gd : ge.getScreenDevices()) { Rectangle bounds = gd.getDefaultConfiguration().getBounds(); boundsString += bounds.x.intValue() + " " + bounds.y.intValue() + "
  2. @john renfrew This is going in the right direction! In your case the retina display, I may be wrong put it's not something like @2x in the Apple docs? so the pixel is 1/2 of the resolution so your 5120 x 2880 return in fact 2560x1440 My Monitor #1 is 1920 x 1080 Monitor #2 (left) is 1680 x 1050 The result is gs[0] = java.awt.Rectangle[x=0,y=0,width=1920,height=1080] gs[1] = java.awt.Rectangle[x=-1680,y=0,width=1680,height=1050] So monitor 1 sets at 0,0 1920x1080 and monitor 2 (left) is the screen resolution 1680 x 1050, since it's on the left s
  3. @Josh Ormond The command line is not working, it's telling me that I have only one monitor connected. I played around that command line tool, but I only get one monitor, one set of resolution ?!? I have tried other way, I might investigate that path and find another command line tool, but if not Win standard, I will have the install that tool in every PC... not the best practice in deploying a solution. @john renfrew The Groovy part is to set up a ScriptMaster plugin that will return the information into a variable and with that info I will script conditions to do what I need. So i
  4. I appreciate your help! The best way to learn is by searching and finding it when someone point you in the right direction. But sometimes people say use the Groovy function get(monitor.xyz){};HelloWorld,zulu... as it may be useful for someone that already knows Groovy, this is not helping me to get a full function that works! I'm trying to achieve a plugin that will return the number of monitors 1 or 2, is the 2nd monitor located to the right or left and maybe the resolution (for future use) for now I don't need it. I want to build my start-up script so that a user with
  5. Hi, I know nothing about Java or Groovy etc! I want to deploy my solution and take advantage of dual screen. So I need to have information, if a 2nd screen is installed, is it to the left or right of the main screen. I have found many script exemples, but every time I copy them in the ScriptMaster file and run them, I get a compilation error. So if you want to help, please just don't say, use this command, or x,y,z... I would need to full script from A to Z, as I know nothing how to write a Groovy script, debug or else ! Thank you for
  6. Thanks, but it's all Chinese to me, I have no clue how to insert any of these info into one working script. I can built an IKEA piece of furniture without the manual, but not java script !! I need to have the full script and copy it... of the "how to" otherwise I add lines of codes and only gets error. Thanks
  7. Thanks, I have seen that post long time ago, but I have no clue HOW to get it inside the Java and put it as a header in the code... that link only tells you that you need to have that header section, not how to get it into Java. And all the example that I found online don't work when I create a new module in the SM. I'm always willing to learn more stuff and make my FM app better... but my main job is driving a HVAC business!! I'm pretty good with FM, 25 years of self learning, but I have my limits My current code is (if I recall, I merge 2 module from the SM demo file
  8. Hi, I have absolutely no knowledge in Java. I'm using all the function already in the demo file of ScriptMaster (Send Email With Attachments), I have a licence so I generated my plugin and run it on the server to send email. It's not a mass mailing, I send individual email, it's a system that confirms appointment. The email is HTML formed for a better-looking experience. I need to add: #1-header info (maybe multiple items), otherwise I get flag (mostly by Hotmail) as spam, the header should at least include the "Unsubscribe-list:" attribute #2-with
  9. Hooo boy this is an old one, but the idea for this is awesome !! using this not GetLayoutObjectAttribute ( "button.obj.name" ; "IsObjectHidden" ) The only issue is with the button bar divider and lines that we can't still conditional format ☹️ The left and right justify you see the empty button at the end. Maintain holes works great Maintain holes with conditional format... button can still be pressed
  10. Hello group, I was wondering if there's a way to know if the scribe plugin can help me with my project. Using FMA11 I want to populate a PDF that have permission to write, fill and save the form. My problem is that I have on my PC Acrobat professional but the reste of the office only have Reader. So when I test on my PC it work, since I have Pro When other user are doing it, when the file is created, data are populate from FM and the file is open so user can enter remaining information... but the new created file lost the permission to fill the form and save it. The way
×
×
  • Create New...

Important Information

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