Software Technology Tips

We can capture a screenshot from within a filemaker application using TROI GRAPHIC plug-in.
Below mentioned are script steps to achieve the desired objective:
Get the window resolution parameters
Set Field [ OSD::g_Screenshot_WindowResolution; "0|0|" & Get(ScreenWidth) &"|" & Get(ScreenHeight) ]
 
#Capture the screenshot to the clipboard.
Set Field [ OSD::g_Screenshot_ErrorCode; External("Trgr-ScreenToClip"; "-unused|" & OSD::g_Screenshot_WindowResolution) ]
 
# Do the desired activity after capturing.Here i am pasting it in a container field to make the screenshot viewable.
If [ OSD::g_Screenshot_ErrorCode = 0 ]
     Paste [ OSD::g_Screenshot_Image ]
     Commit Records/Requests
     Flush Cache to Disk
End If


Related Tags:

Filemaker

Author: Shibasis Nayak

Filemaker

Let us Connect!

privacy
iso 9001 QA25 Nasscom Red Herring zinnov STPI iso 27001

copyright (c) Mindfire Solutions 2007-2013. Login