How to take screen shots in windows system using inter systems cache?
相关问题
- query on MUMPS from asp.net/C#
- Get GLOBALS similar to “Global Search Mask” Inters
- What is the current preferred method for enumerati
- How to take screen shots in windows system using I
- Complex LEFT JOIN not working as expected
相关文章
- What is the current preferred method for enumerati
- 我怎样才能可靠地转换为YYYYMMDDhhmmss 到日期/时间?(How can I rel
- 转换四位数字为小时格式SQL(Convert four Digit number into hour
- How to take screen shots in windows system using I
- Complex LEFT JOIN not working as expected
- Intersystems Cache coding query
- What privileges are needed to run this query?
- How to set %Dictionary.StorageSQLMapDataDefinition
Cache doesn't have any built-in way to directly take a screen shot, so the closest you could come is to have a Caché process call something that does know how to take a screen shot. The ways to call out from cache are documented on the Intersystems web site and this same documentation is usually included in a Caché install.
The simplest option (and you don't give enough information to know whether that will work) is probably to call something like $zf(-1,"import -window root screen.jpeg"). In this example, "import -window root screen.jpeg" is a command-line call. $zf(-1) spawns a child process and runs whatever text you give in the second parameter as a command-line call.
I got the specific text for this call from a question on superuser, which you might want to look at if you don't have a screen shot program available that can be called from the command prompt.
If that doesn't work for you, there are other options than $zf(-1) available, but you will probably need to read the linked documentation to decide what works best.
It is impossible. InterSystems Cache is DataBase, you have to use any other languages for it.